2011. 10. 19. 14:55
[Linux][Ubuntu] 서버 세팅
2011. 10. 19. 14:55 in Linux/Ubuntu
안까먹기 위해 블로깅 -_-;
1. Vim 설치
- $ apt-get install vim
2. Static IP 설정
- $ vi /etc/network/interface
- iface eth0 inet static
- address xxx.xxx.xxx.xxx
- netmask xxx.xxx.xxx.xxx
- gateway xxx.xxx.xxx.xxx
- $ vi /etc/resolv.conf
- nameserver xxx.xxx.xxx.xxx
- $ /etc/init.d/networking restart
3. ssh 설치
- $ apt-get install openssh-server
4. ftp 설치
- $ apt-get install vsftpd
- $ vi /etc/vsftpd.conf
- $ /etc/init.d/vsftpd restart
5. APM 설치
- $ apt-get install apache2
- $ apt-get install mysql-server mysql-client
- $ apt-get install libapache2-mod-auth-mysql
- $ apt-get install php5-common php5 libapache2-mod-php5
- $ apt-get install php5-mysql
6. python yaml mod 설치
- $ apt-get install python-yaml
7. make 설치
- $ apt-get install make
8. g++ 설치
- $ apt-get install g++
9. mysql dev 설치
- $ apt-get install libmysqlclient16 libmysqlclient16-dev