Last active
December 16, 2015 07:08
-
-
Save maltzsama/5396152 to your computer and use it in GitHub Desktop.
wordpress debian squeeze
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo su | |
| apt-get install wordpress | |
| ln -s /usr/share/wordpress/ wordpress | |
| cd /usr/share/doc/wordpress/examples/ | |
| setup-mysql -n wordpress localhost | |
| cp /var/www/wordpress/wp-config.php /var/www/wordpress/wp-config.php.bkp | |
| cp /var/www/wordpress/wp-config-sample.php /var/www/wordpress/wp-config.php | |
| vim /var/www/wordpress/wp-config.php | |
| #Conteudo do Arquivo | |
| define('DB_NAME', 'wordpress'); | |
| define('DB_USER', 'root'); | |
| define('DB_PASSWORD', 'root'); | |
| define('DB_HOST', 'localhost:8889'); | |
| define('DB_CHARSET', 'utf8'); | |
| define('DB_COLLATE', ''); | |
| #Reinicie o servidor lighttpd | |
| /etc/init.d/lighttpd restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment