Setup WordPress on Fedora

Commands (Cont. for wordpress)

cd /var/www/html
sudo wget
sudo tar -xzvf latest.tar.gz
sudo rm -r latest.tar.gz
sudo mv wordpress [name of folder]
— EITHER // move contents one level up
mv [name of folder]/* .
rmdir [name of folder]
— OR // go into directory
cd [name of folder]
sudo mv wp-config-sample.php wp-config.php
sudo vi wp-config.php
(edit user, password, database name)
(esc key) + :wq
sudo service httpd restart

, ,

Leave a Reply

Your email address will not be published. Required fields are marked *