A coder in the attic

Scripts from a coder

Configuring Ubuntu Server 14.04 LTS

Objective: Install and configure

*   SSH Server
*   Java JDK
  1. 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
  1. 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)

Comments