APM설치


1
2
3
4
5
6
7
8
9
10
11
12
13
apt-get install apache2
ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//'
# IP 확인
curl http://icanhazip.com
# IP 확인
nmap localhost
# 포트확인

sudo apt-get install mysql-server php5-mysql

apt-get install php5 libapache2-mod-php5 php5-mcrypt

sudo service apache2 restart