Showing posts with label JDK. Show all posts
Showing posts with label JDK. Show all posts

Wednesday, January 8, 2014

How to set up VPS account without Control Panel

Background:
1.  Control Panel takes a lot of resources in VPS. This document is aim to provide guidance about how to configure VPS without Control Panel.

Steps:
1.  Get SSH access from VPS Provider.
2.  Install and configure FTP Server
3.  Install Apache HTTP Server
4.  Install JDK
5.  Install Ant Script (Optional)
6.  Install MySQL
7.  Install Tomcat

How to install JDK 7 on CentOS

Version: OpenJDK 1.7

For the difference between OpenJDK and Oracle JDK, please reference here.

Installation Steps:
Step 1: Search available java versions in yum repository
yum search java | grep 'java-'

Step 2: Install specific version of java 
yum install java-1.7.0-openjdk.x86_64
yum install java-1.7.0-openjdk-devel.x86_64

Step 3: Test java version
java -version