WordPress Installation for Ubuntu Server

Install WordPress in Ubuntu Server

Open Terminal.

sudo apt-get install apache2
sudo /etc/init.d/apache2 restart
sudo apt-get install mysql-server
sudo apt-get install phpmyadmin
[install ftp server]
sudo apt-get install vsftpd
sudo mkdir /srv/ftp     (hostname:127.0.0.1)
sudo /etc/init.d/vsftpd restart
sudo apt-get install wordpress

Mysql:
username:root
password:root
———————————————————
sudo ln -s /usr/share/wordpress /var/www/wordpress
sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress localhost [note: if the remote server means replace localhost —> server ip address]

———————————————————
finally goto browser: type ‘localhost/wordpress’
———————————————————

wordpress:

username:admin
password:********

apache:

password:watchy@

its used check log file for apache.
-ef | grep apache
cat /var/log/apache2/access.log
cat /var/log/apache2/error.log
sudo /etc/init.d/apache2 start   //#start apache
sudo /etc/init.d/apache2 stop             //#stop apache
sudo /etc/init.d/apache2 restart        // #restart apache

sql:

the problem for change the local host address and solve.

mysql -u root -h localhost -p

enter password:

mysql>use wordpress (its database name)
mysql>show tables;
mysql>select * from wp_options;
mysql>update wp_options set option_value=’http://localhost/wordpress’ where option_value=’http://watchy.in’;
problem solved.

unzip for a plugins in wordpress manually: and a plugins a flash player in
vinod@vinod-laptop:/var/www/wordpress/wp-content/plugins# unzip /home/vinoth/Downloads/contus-hd-flv-player.1.7.zip

install any plugins in wordpress follow this steps it doesn’t ask ftp credentials:

In order to fix this issue, you will need to make sure that the scripts which need to write to the filesystem are owned by the same user that apache is running as.
refer this link: and follow this instructions:

http://www.chrisabernethy.com/why-wordpress-asks-connection-info/

ll /var/www/wordpress/
vinod@vinod-laptop:~$ sudo chown -R www-data:www-data /var/www/wp-uploads/
vinod@vinod-laptop:~$ sudo chown -R www-data:www-data /var/www/wordpress/
vinod@vinod-laptop:~$ sudo chown -R www-data:www-data /var/www/
ll /var/www/wordpress/

apache2 server

http://www.lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/

Not Found

The requested URL /wordpress/lgsoftindia/ was not found on this server.
Apache/2.2.22 (Ubuntu) Server at 192.168.2.100 Port 80

if got this error means go through the above link.

jw player create the sim link for play the video in local host

root@ubuntu-wowza: ln -s /srv/www/wp-uploads/192.168.2.100 wp-uploads

not access the wordpress from the remote server throughs the error config.php link the this file to config localhost file means do this command

sudo ln -s config-localhost.php config-172.24.1.242.php