So lately I was running ubuntu 10.04 (Lucid Lynx) on Windows 7 32-bit using VirtualBox. Oh, if you’re new to ubuntu or want to start using ubuntu linux, there is a new version of ubuntu 10.10 that was about released yesterday, and I want it now. Here is the story, I want to try to create a wordpress site on my local computer, so I need to install apache web server and mysql first. There are several apache and mysql software bundles, I choose lampp for linux (or xampp for windows I was using in the past). What I need is to get lampp on http://www.apachefriends.org/en/xampp-linux.html and the latest stable release of WordPress on http://wordpress.org/download/.
After all needed files have been downloaded, next is to install. First install lampp as instructed from the site on /opt/ directory, So I just run a command in a terminal using:
sudo tar xvfz xampp-linux-1.7.3a.tar.gz -C /opt
I was asked to type in a password.
Note: there is no ‘root’ user on ubuntu, so make sure if you are using user that have enough privilege to do this.
Next is to extract wordpress to current directory using command:
sudo tar xvfz latest.tar.gz
Then move the folder to htdocs with:
sudo mv wordpress /opt/lampp/htdocs
Now let’s get lampp started!
sudo /opt/lampp/lampp start
wait until “XAMPP for Linux started.” message is appeared. If you doing it right try open http://localhost/ , an xampp language selection page will be showed.
Okay now to install wordpress, but before that I suggest you to create a database for wordpress in mysql. In a browser go to url:
http://localhost/phpmyadmin
I named it ‘wordpress’, then go to:
http://localhost/wordpress
just follow the instructions…
in mysql user and password, type ‘root’ as user and leave password blank.
but oops, there was a problem:
Sorry, but I can’t write the wp-config.php file.
You can create the wp-config.php manually and paste the following text into it.
Don’t worry, we will fix it in time. Just navigate back to previous page by clicking back button in browser or Alt+Left-Arrow.
So we need to change wordpress folder permission with:
sudo chmod 777 -R /opt/lampp/htdocs/wordpress
then..
All right sparky! You’ve made it through this part of the installation. WordPress can now communicate with your database. If you are ready, time now to… RUN THE INSTALL
Set your blog title and admin. Say hello to our new wordpress!

Happy blogging! =D


Asin: B00172RMGU
Hiragana:










