- Log in to post comments
tar xzf /tmp/taskfreak-multi-mysql-0.6.tgz -C /var/www
mv /var/www/taskfreak-0.6.2/ /var/www/taskfreak
echo "CREATE DATABASE taskfreak;" | mysql -u root -pterceS
echo "GRANT all ON taskfreak.* TO 'taskfreak'@'localhost' IDENTIFIED BY 'taskfreak';" | mysql -u root -pterceS
#? mysql -u taskfreak -ptaskfreak taskfreak < /var/www/taskfreak/install/mysql.init.sql
sed -i "s|'TZN_DB_USER','root'|'TZN_DB_USER','taskfreak'|g" /var/www/taskfreak/include/config.php
sed -i "s|'TZN_DB_PASS',''|'TZN_DB_PASS','taskfreak'|g" /var/www/taskfreak/include/config.php
http://YOUR_SERVER_IP/taskfreak