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