First and foremost to follow this tutorial you must make sure php, apache and all the neccessary things in your enviroment is in place.
login to your terminal using :
sudo mysql -u root -p
and create a database for your wordpress installation, in this example our database will be called genericwp
Then you go to your desktop and you download the latest version of wordpress and extract
cd Desktop
wget https://wordpress.org/latest.tar.gz
tar -zxvf latest.tar.gz
You will find a folder named wordpress I will change the name to generic for this tutorial, after that all you have to do is to move it into your local server. In my case that is the /var/www/html for those using xamp is the htdocs and wamp should be the www folder
cd /var/www/html
sudo mv /home/plumptre/Desktop/generic .
Next we must give the generic folder the proper permissions with the commands:
sudo chown -R www-data:www-data generic
sudo chmod -R 755 generic
enter into the generic folder and run the commands below to create WordPress wp-config.php file.
cd generic
sudo cp wp-config-sample.php wp-config.php
ls -lah
sudo nano wp-config.php
update your details
-
Previous Post
ADDING HELPERS FILE TO LARAVEL 5.6 PROJECT
You must be logged in to post a comment.