625
edits
(adds final instruction) |
(adds code tags) |
||
Line 25: | Line 25: | ||
**: <code>$ sudo service nscd restart</code> | **: <code>$ sudo service nscd restart</code> | ||
** Now visit <code>http://peoplesopen.loc</code> in your browser | ** Now visit <code>http://peoplesopen.loc</code> in your browser | ||
* Install WordPress (it's easy! | * Install WordPress (it's easy!) | ||
** Grab a copy of latest wordpress: | ** Grab a copy of latest wordpress: | ||
**: $ cd /var/www/peoplesopen.loc | **: <code>$ cd /var/www/peoplesopen.loc</code> | ||
**: $ wget http://wordpress.org/latest.zip | **: <code>$ wget http://wordpress.org/latest.zip</code> | ||
**: $ unzip latest.zip | **: <code>$ unzip latest.zip</code> | ||
**: $ mv wordpress/* public_html/ | **: <code>$ mv wordpress/* public_html/</code> | ||
**: $ rm -r wordpress/ | **: <code>$ rm -r wordpress/</code> | ||
** Change owners (this lets the Apache users, who goes by www-data on debian/ubuntu own the files and write to them, but you can too as the group owner) | ** Change owners (this lets the Apache users, who goes by www-data on debian/ubuntu own the files and write to them, but you can too as the group owner) | ||
**: $ sudo chown www-data:YOURUSERNAME ./ -R | **: <code>$ sudo chown www-data:YOURUSERNAME ./ -R</code> | ||
**: $ sudo chmod g+w ./ -R | **: <code>$ sudo chmod g+w ./ -R</code> | ||
** Create a MySQL database. | ** Create a MySQL database. | ||
**: $ mysql -u root -p | **: <code>$ mysql -u root -p</code> | ||
**: mysql> create database peoplesopen; | **: <code>mysql> create database peoplesopen;</code> | ||
**: mysql> show databases; | **: <code>mysql> show databases;</code> | ||
**: mysql> quit; | **: <code>mysql> quit;</code> | ||
** Browse to <code>http://peoplesopen.loc</code> to proceed with the installation process, filling out with the information from the previous steps. | ** Browse to <code>http://peoplesopen.loc</code> to proceed with the installation process, filling out with the information from the previous steps. | ||
*** Fill out the basic site information (doesn't really matter, use whatever is helpful), including a local user account. Don't forget the password, it'll be easier not to. | *** Fill out the basic site information (doesn't really matter, use whatever is helpful), including a local user account. Don't forget the password, it'll be easier not to. |