Namrata

From netstudent

Contents

[edit] Added packages

  • apt-get install mysql
  • apt-get install php5
  • apt-get install php5-mysql
  • apt-get install apache-ssl

[edit] Mysql

  • added password to root account
  • vim /etc/mysql/my.conf
 #bind-address           = 127.0.0.1

[edit] recover old data

  • precaution first
 cp /var/lib/mysql /var/lib/mysql.old
  • now copy the old data
 cp -R /mnt/viejo_var/lib/mysql /var/lib/mysql
  • now restore the users
 cp -R /var/lib/mysql.old/mysql /var/lib/mysql

[edit] SASL

apt-get install libsasl2 sasl2-bin libsasl2-modules