Easily install wordpress and Apache, MySQL, PHP in Ubuntu?
Saturday, June 20th, 2009 at
20:07
How can I do this? HELP! I am new to linux.
Tagged with: Linux
Filed under: Wordpress
Like this post? Subscribe to my RSS feed and get loads more!
It's very easy.
Go to the following menu item:
System –> Administration –>Synaptic Package Manager
Use the update or refresh button to make sure everything on the list is up to date.
Then search for "apache", "php", and "MySQL". Choose apache2, php5, and mysql-server. You might also need some other packages like php5-mysql or php5-mysql.
See the MySQL web site for post-installation tasks like securing it. Same with Apache. If you don't want the external world to be able to connect to Apache, use a search engine to find how to deny access to external computers with Apache.
The easy way to turn on/off Apache and MySQL is through the menu: System –> Administration –> Services. You can also do it at the terminal.
Use a search engine to get answers to a lot of questions. Many people ask similar questions about these things and if you type your question into a search engine in simple language, you will find pages with the answers.
Sorry, forgot to mention how to install WordPress. You need to setup MySQL with the post-install configurations as described in the mysql link below. After everything is installed, make a directory on your computer at the following location with these commands in the terminal:
$ cd /var/www
$ sudo mkdir mywebsites
$ cd mywebsites
Decompress the downloaded WordPress files and put them in your new directory here:
/var/www/mywebsites/wordpress
Then go to your browser and access your server at this address: localhost/mywebsites/wordpress
You may need to change the permissions in your "mywebsites" directory to be able to view it in your browser. Use the search engines to find a tutorial on Unix file permissions if you don't know what that means. Also consult the WordPress Codex for installation instructions. They have a WordPress forum there also.
Screenshot of Synaptic on Ubuntu also shown below.
If you get stuck, feel free to email me.
Easy is a relative term. You'll find that Ubuntu's apt-get command greatly simplifies the process of installing software packages on Linux. On some distros, the same process can be a real nuisance.
However, even with the help of apt-get, you will still face a fair amount of work to get all of those pieces configured and talking to each other.
Best of luck to you on your project.