Category Archives: Android

Running WordPress on Android using KSWEB

< Warning >
You need the skill to set your Android’s IP address public. I don’t write the procedure about network settings, because it depends on your network hardware, software and provider. I’m sorry but please check it on another website.

< Awesome App for Android >
There is an awesome app on Google Play. The app name is KSWEB. Developer page is here. You can download from this page or Google Play.

< Requirements >
The developer of KSWEB says Android device with OS version 2.3.3 or higher and ARM-based processor is required. I will try to run KSWEB on IS05 (Japanese old Android smartphone by SHARP) and the procedure on this post is about this device. But maybe KSWEB can run on so many kinds of Android devices. Please try on any devices you have.

< Installing from Google Play >
( If you want to install from Google Play, please follow this procedure. )
You just need to go KSWEB – Google Play and install it. That’s all of installation.

< Installing from APK file >
( If you want to install from APK file, please follow this procedure. )
Before installing APK file, you need to change your Android’s setting for apps. You need to allow app installs from “unknown sources”. After that, please visit http://kslabs.ru/download/ to download the APK file of KSWEB.
20140531-174245

< Downloading WordPress >
You can choose “downloading on Android directly” or “downloading on PC and upload to Android”. I downloaded on PC from http://wordpress.org/. I installed AirDroid to my Android and visited http://web.airdroid.com/ to upload WordPress ZIP file to my Android. If you want to “download on Android directly”, you just need to visit http://wordpress.org/ by your Android browser.

< Installing ZIP extractor to your Android >
You need to extract WordPress ZIP file on your Android. I installed AndroZip™ File Manager to my Android. But there are many kinds of ZIP extractor on Google Play, you can choose any app you like.

< Extract ZIP file >
I put the ZIP file “wordpress-3.9.1.zip” on the root of SD card directory. After I extract it “wordpress” directory was automatically made.
20140531-180921

< Adding and enabling optional functions >
Please tap [ TOOLS – WebFace – Start ] to enable KSWEB Web Interface. Please tap [ TOOLS – Main – phpMyAdmin ] to add phpMyAdmin. phpMyAdmin is for making a database on MySQL for WordPress, so it’s not necessary. You can also make a database by PHP script.
20140530-002435

< Making a database by phpMyAdmin >
Please access http://localhost:8000/ by itself(Android) or http://< Android’s local IP address >:8000/ from any computer on the same network.
phpMyAdmin_login
You can login as root with no password. In my sample picture, I made a database “wordpress” for WordPress.
phpMyAdmin_table

< Change WWW root of lighttpd >
Please access http://localhost:8003/ by itself(Android) or http://< Android’s local IP address >:8003/ from any computer on the same network. It’s KSWEB Web Interface. Default user and password are both admin.
KSWEB_Web_Interface
Please click Server settings. You can edit a config file of lighttpd.
Please find a line like below.

server.document-root = “/mnt/sdcard/htdocs”

Change directory path of this line to your WordPress root.
My new setting is below.

#server.document-root = “/mnt/sdcard/htdocs”
server.document-root = “/mnt/sdcard/wordpress”

After changing config file, please reboot lighttpd or KSWEB.

< Ports of lighttpd >
Default ports setting is like below.
lighttpd_ports
If you want to change them, please edit config file.

< Don’t sleep! >
Basically Android smartphone automatically sleeps. If you want it to work 24 hours, you need to keep it away from sleeping. There are many apps to stay it awake on Google Play. Please use StayAwake, KeepScreen or another one you find on Google Play.

< Start WordPress >
Next step is same procedure of general installation of WordPress. Please access your Android with your domain name. WordPress default installation will start. Enjoy your energy‐saving WordPress life.