更改mysql 使用者密碼
# mysql -u root -p
mysql> SET PASSWORD FOR auser@localhost = PASSWORD('password');
mysql> flush privileges;
# mysql -u root -p
mysql> SET PASSWORD FOR auser@localhost = PASSWORD('password');
mysql> flush privileges;
$ apt-get update
$ apt-get upgrade
$ sudo apt-get install apache2 libapache2-mod-passenger mysql-server
$ sudo apt-get install redmine-mysql
$ sudo gem update
$ sudo gem install bundler
$ sudo nano /etc/apache2/mods-available/passenger.conf
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install mysql-server
$ sudo apt-get install phpmyadmin
$ sudo apt-get install php-mbstring php-gettext # 很重要
$ sudo phpenmod mbstring # 很重要
$ sudo service apache2 restart