2011年5月3日 星期二

install django develop environment

1.install ubuntu os
2.install mysql-server
#apt-get install mysql-server mysql-client

3.install ssh
#apt-get install ssh

4.install proftpd
#apt-get install proftpd

5.install vim
#apt-get install vim

6.modify proftpd.conf and add rootlogin
#vim /etc/proftpd/proftpd.conf
==================================
RootLogin on
==================================

7.restart proftpd service
#/etc/init.d/proftpd restart

8.install python-dev package for develop tools
#apt-get install python-dev

9.install python-MySQLdb module
#apt-get install python-MySQLdb

10.modify my.cf to allow access mysql from anywhere
#vim /etc/mysql/my.cnf
comment the below line
#bind-address = 127.0.0.1

11.restart mysql service
#/etc/init.d/mysql restart

沒有留言:

張貼留言