Objective: Install and configure
* SSH Server
* Java JDK
- Install and configure SSH
1
| $ sudo apt-get install openssh-server
|
Setup SSH certificate
1
| scp ~/.ssh/id_rsa.pub <username>@<host>:~/.ssh/authorized_keys
|
- Install and configure Java JDK
1
2
3
4
5
6
7
| $ sudo apt-get install openjdk-7-jdk
$ cd /usr/lib/jvm
$ sudo ln -s java-7-openjdk-amd64 jdk
$ java -version
java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.6) (7u51-2.4.6-1ubuntu4)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
|