TeHashX
Very Senior Member
New site with updated guide
Today, I'm gonna show you how to setup Wordpress free blog server on your asuswrt router.
REQUIREMENTS:
1) Merlin's firmware from here
2) Entware must be setup from here
3) Lighttpd web server from this guide
If you meet all the requirements, login to router with putty terminal and enter:
Click on "Create a Configuration File"
On the next page click on "Let's go!"
Now fill in with user_name and db_password created earlier with mysql commands.
Change Database Host from localhost to 127.0.0.1
Press "Submit"
On the next page, click on "Run the install"
Now choose a Site Title, username, password (don't have to be the same as for mysql), enter your email adress, and press "Install WordPress"
Log in
Customize appearance, add widgets, menus, plugins...
Now access your blog on 192.168.1.1:81/wordpress to see how it looks.
Create an asus, no-ip or dyndns dynamic dns account and the blog can be accessed from your_dns_account/wordpress or your_wan_ip_adress/wordpress
_________________________________________________________
It's better to create a backup of your blog and mysql database with:
I hope everything goes smoothly for you, if not, don't hesitate to ask here in forum.
See HERE a terminal recording
Youtube video HERE
Enter here and say HALLO on my test blog just to see if someone is reading this tutorial, THX!
http://tehashx.dyndns.org/wordpress/
Today, I'm gonna show you how to setup Wordpress free blog server on your asuswrt router.
REQUIREMENTS:
1) Merlin's firmware from here
2) Entware must be setup from here
3) Lighttpd web server from this guide
If you meet all the requirements, login to router with putty terminal and enter:
Choose a username and a password for your database and replace those in red color# opkg install mysql-server
# opkg install wget
# opkg install php5-mod-mysql
# mysql_install_db --force
# /opt/etc/init.d/S70mysqld restart
# mysql -u root
Exit with Ctrl-Cmysql> create database wordpress;
mysql> grant all privileges on wordpress.* to user_name@localhost identified by 'db_password' ;
Go to 192.168.1.1:81/wordpress/wp-admin/install.php# /opt/etc/init.d/S80lighttpd restart
# cd /opt/share/www
# /opt/bin/wget http://wordpress.org/latest.tar.gz --no-check-certificate && tar -zxvf latest.tar.gz && rm latest.tar.gz
# chown -R admin: wordpress
Click on "Create a Configuration File"
On the next page click on "Let's go!"
Now fill in with user_name and db_password created earlier with mysql commands.
Change Database Host from localhost to 127.0.0.1
Press "Submit"
On the next page, click on "Run the install"
Now choose a Site Title, username, password (don't have to be the same as for mysql), enter your email adress, and press "Install WordPress"
Log in
Customize appearance, add widgets, menus, plugins...
Now access your blog on 192.168.1.1:81/wordpress to see how it looks.
Create an asus, no-ip or dyndns dynamic dns account and the blog can be accessed from your_dns_account/wordpress or your_wan_ip_adress/wordpress
_________________________________________________________
It's better to create a backup of your blog and mysql database with:
If something goes wrong, just restore with:# cd /mnt/sda1
# tar -zcvf wordpress.tar.gz /mnt/sda1/entware/share/www/wordpress/
# tar -zcvf wordpress_db.tar.gz /mnt/sda1/entware/etc/mysql/wordpress
# cd /
# tar -zxvf /mnt/sda1/wordpress.tar.gz
# tar -zxvf /mnt/sda1/wordpress_db.tar.gz
I hope everything goes smoothly for you, if not, don't hesitate to ask here in forum.
See HERE a terminal recording
Youtube video HERE
Enter here and say HALLO on my test blog just to see if someone is reading this tutorial, THX!
http://tehashx.dyndns.org/wordpress/
Last edited: