misc
parent
1784d8abdc
commit
0591902de1
|
@ -1,10 +1,10 @@
|
|||
1. Install java and make sure java is in PATH
|
||||
2. Download the binary archive from https://github.com/subhra74/easy-cloud-shell/releases
|
||||
2. Download the binary archive from https://github.com/subhra74/linux-web-console/releases
|
||||
3. Extract the archive to a suitable location and switch to that directory
|
||||
4. Make file executable with chmod if required
|
||||
5. Run ./start-cloud-shell.sh (For security reasons do not use root user)
|
||||
5. Run ./start-web-console.sh (For security reasons do not use root user)
|
||||
6. Open recent version on Chrome or Firefox and visit https://[your ip address]:8055/ or, on local machine use https://localhost:8055/
|
||||
7. Ignore any certificate error, appeared due to newly created self signed certificate by easy cloud shell.
|
||||
7. Ignore any certificate error, appeared due to newly created self signed certificate by the app.
|
||||
8. Initial credential: admin/admin
|
||||
Please change default username and password from Settings tab in the app.
|
||||
Also you can change default port by setting environment variable server.port=<any port number>
|
|
@ -9,7 +9,7 @@
|
|||
<version>2.1.5.RELEASE</version>
|
||||
<relativePath /> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
<groupId>webshell</groupId>
|
||||
<groupId>web-console</groupId>
|
||||
<artifactId>app</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<name>app</name>
|
||||
|
@ -172,7 +172,7 @@
|
|||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<finalName>cloud-shell</finalName>
|
||||
<finalName>web-console</finalName>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
|
@ -8,17 +8,11 @@ import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
|
|||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest
|
||||
@SpringBootTest(classes = AppApplicationTests.class)
|
||||
public class AppApplicationTests {
|
||||
|
||||
@Autowired
|
||||
private BCryptPasswordEncoder passwordEncoder;
|
||||
|
||||
@Test
|
||||
public void contextLoads() {
|
||||
System.out.println("Password match: " + passwordEncoder.matches("Starscream@64",
|
||||
"$2a$10$greBvSdJwMfmrz7Fof0mB.i2oiBNypVeGa9KCBOZ2BPMxXBa3xJUK"));
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
#/bin/sh
|
||||
|
||||
mkdir ~/.easy-cloud-shell
|
||||
|
||||
nohup java -jar cloud-shell.jar >$HOME/.easy-cloud-shell/log.txt 2>&1&
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#/bin/sh
|
||||
mkdir ~/.linux-web-console
|
||||
nohup java -jar web-console.jar >$HOME/.linux-web-console/log.txt 2>&1&
|
||||
|
|
@ -452,6 +452,7 @@ export class FilesComponent implements OnInit, OnDestroy {
|
|||
openInNewTab() {
|
||||
for (let i = 0; i < this.service.tabs[this.service.selectedTab].files.length; i++) {
|
||||
if (this.service.tabs[this.service.selectedTab].files[i].selected) {
|
||||
if (this.service.tabs[this.service.selectedTab].files[i].type === "Directory") {
|
||||
let path = this.service.tabs[this.service.selectedTab].files[i].path;
|
||||
let name = this.service.tabs[this.service.selectedTab].files[i].name;
|
||||
let tab: FolderTab = new FolderTab();
|
||||
|
@ -463,6 +464,7 @@ export class FilesComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
isSingleSelection(): boolean {
|
||||
if (this.service.tabs && this.service.tabs[this.service.selectedTab] && this.service.tabs[this.service.selectedTab].files) {
|
||||
|
|
Loading…
Reference in New Issue