I show how to install wordpress locally on Ubuntu linux distribution. You can use this setup with other linux distros including Fedora but you will have to use a different package manager.
We will first need to install the (Linux, Apache, Mysql and PHP)LAMP stack using tasksel tool. We will then set up a mysql password in order to create databases down the line.
We install the LAMP stack using the command
sudo tasksel install lamp-server
Once that it done, make sure to grant yourself ownership permissions to
the www folder using chown command. Next download Wordpress zip file or tar from the website found here:
https://wordpress.org/download/
unzip it or untar it, make sure you then move it to the www directory. You will need to put it in this folder for Wordpress to function properly as it is the home of the web server(Apache). This is where you will put all your WP themes, free and premium ones. You need to create database tables as you need it for wordpress to have all it's functions. Make sure that you type in your particular username and passwords, or you can use mine as examples.
Wordpress installation in Linux Ubuntu is the hardest of all because it's not a simple install like WAMP or MAMP, Bitnami. You should then use the wp-config.php file and edit it the way I show on the video. Change the username to yours from mysql and the corresponding password.
Lastly you should be able to see your new wordpress installation on the localhost/wordpress url. Make sure that you pick the username you want as you won't be able to change it later, followed by your password. If you have any questions, make sure to leave a comment and subscribe to my channel.
http://wordpresscoffee.org/install-wo...
best wordpress plugins 2014
Wordpress free themes,
wordpress ecommerce
WP installation on linux
locally install wordpress,
Wamp installation of wordpress
LAMP installation of wordpress
install wordpress locally
how to install WP in Window 7, locally MAC OS Lion and LInux Ubuntu or Fedora,
LAMP wordpress Setup
how to setup wordpress on Ubuntu 2014.
best wordpress hosting
Ubuntu 12.04
2. Install LAMP
With Tasksel
WewillfirstneedtoinstalltheLAMP stack,whichwill
serveas thefoundationforWordpress.Thiswillinclude
Linux,Apache,MySqlandPHP. Wewillbeinstallinga
developertoolknownas âtasksel. Thenusetaskselto
installthelamp-server
Warning:âtaskselâisapowerfultoolandcanoverwrite
allofyourUbuntudesktopsettings,somakesuretouse
itcarefully
1
2
WordpressCoffee.org
⢠⢠ThispresentationwascreatedbyErickBarron â˘
RunDown
We first open terminal and install the âtaskselâ tool using âsudoâ for elevated privileges. Then we
can use âtaskselâ to install the lamp-server. Finally, we should choose a mysql password, since
itâs a local installation you can choose something simple like ârootâ. One optional step you can
do to check if your installation went correctly is to check for the âPHPâ version. We can check it
using âphp -vâ in the terminal, you should see version 5.3 as of this presentation.
$sudoapt-getâyinstalltasksel
$sudotaskselinstall lamp-server
Shell Commands &
MySQL Password
3 EnterMySQLMasterPassword
5. MySQL
Database Setup
Asyoucan imagine,Wordpressneedstostorealotof
informationlikeimages andposts,italsocreatespages
dynamicallyamong otherthings.So weneedtocreatea
newdatabaseuser,sethispasswordandgivehimfull
privileges.
SoletâsheadovertoterminalandlogintotheMySQL
withthepasswordwecreatedduringourinitiallamp-
serverinstallation
1
2
WordpressCoffee.org
⢠⢠ThispresentationwascreatedbyErickBarron â˘
RunDown
In order to create any databases, we must first login to mysql with the password we had
originally created from the âtaskselâ lamp-server install. We have to create a new database that
youâre free to name whatever you want, just make sure you use a proper name like
âwordpressdbâ and not the actual âdbnameâ. Lastly, itâs a good idea to create a new user that will
handle all of the Wordpress database functionality, so put your desired name under âuserâ.
$mysql âurootâp
Enteryourpassword
CREATEDATABASEdbname;
Shell and MySQL Commands
3 CREATEUSERuser@localhost;
6. MySQL Database
Setup Continued
Afterwecreatethedatabaseandtheuser,itâs timeto
givethenewusera passwordandgrant himfull
privilegestotheWordpressDatabase.Wealsoneedto
doa bitofMySQLmaintenanceandexit.
1
2
WordpressCoffee.org
⢠⢠ThispresentationwascreatedbyErickBarron â˘
RunDown
Set a secure password for the new user where it says âpasswordâ, this is always a best practice.
Now grant all privileges to âuserâ for all(*) the new Wordpress tables. Then we just need to âflush
privilegesâ to restart the system and finally we âexitâ.
SETPASSWORDFORuser@localhost=
PASSWORD(âpasswordâ);
GRANTALLPRIVILEGESONdbname.*
TOuser@localhostIDENTIFIED
BYâpasswordâ;
Shell and MySQL Commands
Continued
3 FLUSHPRIVILEGES
exit
7. Setting up
wp-config.php
Letâs headbacktoour
$cd/var/www/wordpress
directory,andwewillseeafilename wp-config-
sample.php,changenameto
$mvwp-config-sample.phpwp-config.php
Thisiswhereweneedtoputournewlycreateduser,
dbnameanddbpasswordwejustcreatedinourlast
slide.
Ifyouâvimââ orâgeditâyourwayintothefile,aroundline
â19â youwillfindthecorrespondingfields.
1
2
WordpressCoffee.org
⢠⢠ThispresentationwascreatedbyErickBarron â˘
RunDown
Make sure you put your corresponding database name, the username or âuserâ we created, and
the âpasswordâ you had assigned the âuserâ. There will also be a field for âDB_HOSTâ, that
should be set to âlocalhostâ by default, leave that alone, since weâre going to be using our local
machine, this will work for us. After you have changed the fields, make sure you save quit.
âdatabase_name_hereâ
âusername_hereâ
Shell and MySQL Commands
Continued
3 âpassword_hereâ
8. Wordpress 5
Minute Install
Wenowcango throughthefamous5 minuteinstall.
Youshouldheadovertoyourfavoritebrowser, I
personal;yuseChromeorFirefoxbutyouârefreeto
chose.
Warning:Youwillnotbeabletochangeyourusername
after,sochoosewisely.
1
2
WordpressCoffee.org
⢠⢠ThispresentationwascreatedbyErickBarron â˘
RunDown
After you go to the URL, you will find a common form where you will be required to input basic
information. Things like âusernameâ, âpasswordâ, âemailâ and more. You can change everything
later on the control panel except for you âusernameâ. One thing to note is that even though this
installation is local, you will have to the chance to retrieve your password fi you do forget, which
is something I had to do many times ď. You should see a Welcome page and youâre done.
Goonyourbrowserto
localhost/wordpress
Fill in all therequiredfields
Browser and Wordpres
Configuration
3 Loginwith yournew
âusernameâandpassword
READ PLEASE!
Before you open this template be sure that you have installed these fonts:
GeosansLight.ttf from: http://www.dafont.com/geo-sans-light.font
New Cicle Semi.ttf from: http://www.dafont.com/new-cicle.font
fontawesome-webfont.ttf from: http://fortawesome.github.io/Font-Awesome
All fonts are free for use in commercial projects!
If you have any problems with this presentation, please contact with me from this page: http://graphicriver.net/user/Bandidos
When choice your image, you must sent it to back! âRight Click on Imageâ->âSend to Backâ ->âSend Backâ
When choice your image, you must sent it to back! âRight Click on Imageâ->âSend to Backâ ->âSend Backâ
When choice your image, you must sent it to back! âRight Click on Imageâ->âSend to Backâ ->âSend Backâ
When choice your image, you must sent it to back! âRight Click on Imageâ->âSend to Backâ ->âSend Backâ
When choice your image, you must sent it to back! âRight Click on Imageâ->âSend to Backâ ->âSend Backâ
When choice your image, you must sent it to back! âRight Click on Imageâ->âSend to Backâ ->âSend Backâ
When choice your image, you must sent it to back! âRight Click on Imageâ->âSend to Backâ ->âSend Backâ
READ PLEASE!
Before you open this template be sure that you have installed these fonts:
GeosansLight.ttf from: http://www.dafont.com/geo-sans-light.font
New Cicle Semi.ttf from: http://www.dafont.com/new-cicle.font
fontawesome-webfont.ttf from: http://fortawesome.github.io/Font-Awesome
All fonts are free for use in commercial projects!
If you have any problems with this presentation, please contact with me from this page: http://graphicriver.net/user/Bandidos