mariadb 받을거면 mysql 은 알아서 바꾸자.
걍 복붙하다 귀찮아졌네

1. apache2/php5/mysql
# apt-get install apache2 libapache2-mod-auth-mysql mysql-server mysql-client php5-common php5 libapache2-mod-php5 php5-mysql phpmyadmin 

mariadb

sudo apt-get install python-software-properties

sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db

sudo add-apt-repository 'deb http://ftp.kaist.ac.kr/mariadb/repo/5.5/ubuntu precise main'

sudo apt-get update

sudo apt-get install mariadb-server


(setting path)

apache: /etc/apache2/apache2.conf
apache root: /etc/apache2/sites-available/default
VirtualHost - # a2ensite

mysql: /etc/mysql/my.cnf
php: /etc/php5/apache2/php.ini

 
2. (optional) phpmyadmin
# apt-get install phpmyadmin

#vi /etc/apache2/apache2.conf
#Enable PHPMyAdmin 
Include /etc/phpmyadmin/apache.conf

phpmyadmin.mo

한글화 파일
/usr/share/phpmyadmin/locale/ko/LC_MESSAGES



 http://blog.naver.com/jangstargosu?Redirect=Log&logNo=140148388066




Indexes

/etc/apache2/site-available/default
Options Indexes 


VirtualHost
http://uyeong.tistory.com/172 

+ Recent posts