The Pursuit of Happyness

10.04 에서 테스트

ROOT password setup
sudo passwd root

IP Setup
su -
vi /etc/network/interfaces

auto eth0
iface eth- inet static
address 192.168.249.100
netmask 255.255.255.0
network 192.168.249.0
broadcast 192.168.249.255
gateway 192.168.249.2

----
14.4 업데이트
다음 파일을 생성해서 아래 nameserver를 추가한다.
vi /etc/resolvconf/resolv.conf.d/tail

nameserver 8.8.8.8
nameserver 8.8.4.4
----

/etc/init.d/networking restart

PACKAGE update
sudo apt-get update

SSH server
sudo apt-get install ssh
sudo echo "UseDNS no" >> /etc/ssh/sshd_config
----
14.4 업데이트
sudo apt-get install openssh-server
----

JAVA
sudo apt-get install openjdk-6-jdk

Apache
sudo apt-get install apache2

PHP
sudo apt-get install php5

MySQL server
sudo apt-get install mysql-server

APM setup
sudo apt-get install libapache2-mod-php5
sudo apt-get install libapache2-mod-auth-mysql

sudo apt-get install php5-mysql
sudo apt-get install phpmyadmin

TOMCAT
sudo apt-get install tomcat6
sudo apt-get install tomcat6-admin


Comment +0