IT/ubuntu

우분투 레포 다음서버로 변경하기 / 업데이트 빠르게

xanasia 2015. 7. 28. 17:56

ubuntu 14.04 LTS 설치하자마자 할일!!





지극히 개인적인 패키지 구성입니다.


레포 다음 서버로 수정하기
vi /etc/apt/sources.list

:%s/kr.archive.ubuntu.com/ftp.daum.net/g
:%s/security.ubuntu.com/ftp.daum.net/g
:%s/extras.ubuntu.com/ftp.daum.net/g


페키지 업데이트 하고.

apt-get update


페키지 업그레이드하고

apt-get upgrade





사용할 서버 구성별로 apt-get install 뙇!!

[ all package (DEFAULT) ]
apt-get install -y nfs-kernel-server nfs-common portmap htop iptraf dstat ntp snmpd python-mysql.connector smartmontools

[ all package (DB) ]
apt-get install -y nfs-kernel-server nfs-common portmap htop iptraf dstat ntp snmpd python-mysql.connector smartmontools mysql-server-5.6

[ all package (WEB) ]
apt-get install -y nfs-kernel-server nfs-common portmap htop iptraf dstat ntp snmpd python-mysql.connector smartmontools nginx-full php5-cli php5-fpm php5-adodb php5-mysql php5-redis php5-gd php5-imagick php5-curl php5-json php5-imap php5-geoip php5-snmp