Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialniyaz ahamed
2,966 PointsHow to setup wordpress in Ubuntu Local Environment ?
I am using Ubuntu OS, so how to setup it in my system ?
1 Answer
Carlos José
Courses Plus Student 12,431 PointsThis could be the answer :
"Firstly the Linux equivalent of WAMP is LAMP (though its more accurate the other way :) ) Unlike in windows most server software in Linux doesn't have GUIs by default; this is true for LAMP. To install make sure you have tasksel installed. at a terminal run:
sudo apt-get install tasksel Once complete then run sudo tasksel install lamp-server.
This will create the folder www in /var/, so you should see it in /var/www this will be your web root. (For 14.04 and above, it would /var/www/html.)
You can now unzip wordpress into that folder. Once complete, in a web browser go to localhost/wordpress (In your URL using Firefox/Chrome for example type localhost/wordpress, this will lead you to your wordpress installer) and follow the instructions there. If you want a GUI for database management I've always used phpmyadmin. To install it run:
sudo apt-get install phpmyadmin then in a browser go to http://localhost/phpmyadmin (As mentioned above, use the URL in your browser to go to http://localhost/phpmyadmin)
Note that if you're running this server remotely then replace localhost with the remote IP you can have access to."
Taken from : Ask UBuntu