Latest Tech and Tips

How to Install WordPress On a USB Stick Using XAMPP


Earlier we confirmed you ways to set up WordPress on Windows and Mac. However lately one in every of our customers requested if it was attainable to use the identical native WordPress set up each at work and at residence. In this text, we are going to present you ways to set up WordPress on a USB stick utilizing XAMPP, so you should utilize your native WordPress set up on any laptop that you just like.

XAMPP is a software program bundle containing Apache internet server, PHP, MySQL, and phpMyAdmin. You can set up it in your Windows, Linux, or Mac working programs. In this text we will probably be displaying you ways to set up it on a USB drive related to a Windows PC, however the set up technique are just about the identical irrespective of the place you put in it.

First factor you want to do is obtain XAMPP lite. Go to the XAMPP download web page, after which click on on More downloads.

XAMPP download page

You will probably be redirected to sourceforge web site the place you want to first click on on XAMPP for Windows, after which click on on the most recent model.

On the subsequent display, there will probably be a listing of information out there for that model. Scroll down and discover the moveable model in .exe format. Click on the file title to start the obtain.

XAMPP portable version

Once you may have downloaded the XAMPP moveable file, you want to double click on on the file to run the set up. During the set up you may be requested to choose the placement the place you need to set up XAMPP. You want to click on on the folder icon, after which choose your USB drive.

Select your USB drive as the install destination

Click on subsequent to proceed the set up. The installer will now set up XAMPP in your USB drive. After the set up, you want to go to your USB drive after which open the XAMPP folder.

To launch XAMPP, you want to run xampp-control.exe out of your USB drive. This will deliver up the XAMPP Control Center which appears like this:

XAMPP Control Center

You want to begin Apache internet server and MySQL by clicking on the beginning button subsequent to them. You will probably be prompted by Windows Firewall, and also you want to permit entry to each functions.

Now open a internet browser and kind http://localhost/ within the tackle bar. You will probably be greeted by the XAMPP splash display. This means you may have efficiently put in XAMPP in your USB drive.

XAMPP successfully installed on a USB drive

Installing WordPress on USB Stick

So far, you may have efficiently put in Apache internet server with MySQL and PHP in your USB stick. The subsequent step is to set up WordPress itself. The set up of WordPress in USB stick isn’t a lot completely different than putting in it in your Windows or Mac laptop.

First you want to open your USB drive and go to the htdocs folder in your XAMPP set up listing. Create a new folder within the htdocs. This folder will probably be your native WordPress web site. You can title it something that you just like. For the sake of this tutorial lets title it site1.

WordPress wants a MySQL database to run, so that you want to create a database earlier than set up. To create one, you want to open internet browser and enter http://localhost/phpmyadmin within the tackle bar. This will open phpMyAdmin which is a internet primarily based database administration software program. Click on the Databases on the highest menu bar, after which present a title in your database earlier than hitting the Create button.

Creating database using phpMyAdmin

Now we’d like WordPress. Simply go to and obtain a recent copy of WordPress to your laptop. Extract the downloaded .zip file to your Desktop and open it.

Now you want to copy the contents of wordpress folder and paste it within the /htdocs/site1 folder in your USB drive.

Copy paste WordPress files to your USB drive

Once you may have copied WordPress information, you may run the WordPress set up by accessing your web site at http://localhost/site1 in a internet browser.

WordPress will inform you that it didn’t discover the WordPress configuration file, so that you want to create one by clicking on the Create a Configuration File button.

WordPress installation: creating a configuration file

On the subsequent display, present the database title you created earlier. In the username area you want to enter root, and depart the password area clean. Hit the submit button to proceed.

Enter your database details

WordPress will now strive to join to your database. Upon success, it should present you a success message. Click on the Run Install button to proceed.

Provide your site information

You will probably be requested to present your web site data and create an admin username and password. This admin username and password will probably be used to login to the WordPress admin space. You may also want to present an e-mail tackle. In the privateness part you may uncheck the field that claims Allow serps to index this web site. Once you might be performed, hit the Install button on the backside.

That’s all, you may have efficiently put in WordPress. You can now proceed to login to your web site and do no matter you need. To create one other WordPress web site on the identical USB, merely create one other folder within the htdocs listing and repeat the method.

We hope this text helped you put in WordPress on a USB stick. You can now take this USB persist with you. Note that your USB stick will solely work with Windows computer systems.

If you favored this text, then subscribe to our YouTube Channel for our WordPress video tutorials. You may discover us on Twitter and Google+.