Xampp Bitnami Wordpress Install

Posted on  by admin

A video demonstration of how to install XAMPP as well as the Bitnami WordPress add-on to XAMPP. With BitNami for XAMPP you can do one once-click install of WordPress. In the future we plan to support different WordPress installations. Currently BitNami has other options like the full WordPress stack which will install as many WordPress as you want each one with its own Apache and MySQL server. If you have several WordPress installations and want to merge them in a WordPress Multisite installation, we do not recommend you modify wp-config.php to enable WordPress' multiple blog feature. Instead, we recommend that you spin up a Bitnami WordPress Multisite instance and follow the steps in this guide. I'm new to running Xampp and Bitnami, but as far I can tell Bitnami provides a 1-click install facility for Wordpress similar to the facility I get on my web host. Xampp is running and I've installed Bitnami at C: xampp and can see this under the Applications item on Xampp Admin, but I can't see how to install Wordpress on a new site.

Introduction

If you’ve ever tried installing a server application (like WordPress) or a development environment (like an Apache/PHP/MySQL environment), you already know that it’s a lot harder than it seems at first glance. There are files to download and copy, configuration settings to be adjusted, and various other hoops to jump through before you can actually get some productive work in.

Needless to say, there’s a better way: a Bitnami native installer. Bitnami provides pre-packaged images for automated setup of popular server software on Windows, Mac OS X and Linux platforms. Each installer includes all of the software necessary to run out of the box, and it’s also completely self contained. This means that there are no additional libraries, databases, and runtimes to download, and, once installed, the new application or development environment will not interfere with other software on your system.

In this guide, I’ll walk you, step by step, through the process of using a Bitnami native installer to deploy a new server application on your local development system.

Overview

If you’re interested in creating a personal or small business blog, chances are that you’re going to use WordPress. WordPress is one of the most popular blogging platforms in the world, in use on over 60 million websites (according to Wikipedia). It’s not hard to see why: WordPress is incredibly easy to use, comes with thousands of extensions and themes, and is completely free and open source.

In this tutorial, I’ll install the Bitnami WordPress Stack, which gives you a pre-configured WordPress blog that you can start using right away. But WordPress is just an example: there are hundreds of other Bitnami applications to choose from, and they’re all equally easy to set up.

Here are the steps you’ll follow in this tutorial:

  • Install WordPress using the Bitnami WordPress Stack
  • Log in and start using WordPress

The next sections will walk you through these steps in detail.

NOTE: Bitnami native installers are available for Windows, Mac OS X and Linux platforms. This tutorial uses a Mac OS X native installer, but similar steps apply on Windows and Linux platforms. Platform-specific notes are included where necessary in the following sections.

Step 1: Install WordPress using the Bitnami WordPress Stack

: At the end of this step, you will have installed the Bitnami WordPress Stack.

Begin by downloading the Bitnami WordPress Stack for your platform. Once downloaded, follow these steps:

  • On Windows and Mac OS X, begin the installation process by double-clicking the installation executable. On Linux, give the installer executable permissions and then execute the installation file, as shown below:

    NOTE: Mac OS X installers can use port 80 only when run as a system administrator with the sudo command.

  • Select the installation language if prompted. You will be greeted by the welcome screen. Click “Next” to proceed.

  • On the resulting component selection screen, select “WordPress”. You may optionally also choose to install phpMyAdmin and Varnish (TM). Click “Next” to proceed.

  • Select the installation directory for the Bitnami WordPress Stack. Click “Next” to proceed.

  • Enter your name, email address, WordPress username and WordPress password. These last two values will be needed to log in to the WordPress administration panel in the next step, so note them carefully. Click “Next” to proceed.

  • Enter a name for your WordPress blog (you can always change it later) and click “Next” to proceed.

  • WordPress (and many other applications) can send email notifications on certain events, such as comments on posts. In case you’d like to receive these notifications, check the box to configure mail support and choose whether you’d like email to be sent via your Gmail account or a third-party SMTP server. Click “Next” to proceed.

  • Depending on the options selected on the previous screen, you’ll now be prompted to enter either your Gmail username and password, or the credentials and other details for your SMTP server. Enter this information and click “Next” to proceed.

  • Choose whether you’d like to read about Bitnami Cloud Hosting and click “Next” to proceed, then “Next” again on the final screen to begin the installation process.

The application will now begin installing to the directory you specified. The process usually takes a few minutes: a status indicator provides a progress update.

Once installation is complete, you will see a success message. Check the box to launch the Bitnami WordPress Stack and click “Finish” to complete the installation.

This should launch a new browser window with a welcome screen, as shown below. You can also access this welcome screen by launching your Web browser and entering the URL http://localhost or http://localhost:8080 (depending on which platform you’re using and whether you installed the stack as an administrator or regular user) into the browser address bar.

Click the “Access WordPress” link and you should see the front page of your blog with a sample post, as below:

Bitnami native installers include a graphical tool to manage the database and Web servers. This tool is named manager-windows.exe (on Windows), manager-osx (on Mac OS X) or manager-linux-x64.run (on Linux) and is located in the installation directory. To use this tool, double-click the file and then use the graphical interface to start, stop or restart servers. Server log messages can be checked in the “Server Events” tab.

A control script is also available to easily manage servers from the command line. For more information, refer to the FAQ for your platform.

Step 2: Log in and start using WordPress

: At the end of this step, you will have logged in to WordPress and created a new blog post.

Install Bitnami Wordpress Xampp

To log in to the WordPress dashboard, follow these steps:

  • Browse to the WordPress dashboard, usually at the URL http://localhost/wordpress/wp-admin or http://localhost:8080/wordpress/wp-admin.

  • Log in with the administrator credentials from the previous step.

You should now arrive at the WordPress dashboard, which allows you to manage posts, pages and comments; customize your blog with themes and plugins; import and export content; manage navigation menus; add or delete new user accounts; and much more.

Create your first post

You can now add a new post using the following steps:

  • Select the “Posts -> Add New” menu option to create a new post.

  • Enter a title and content for the post. You can use the formatting tools at the top of the content area to format your post and add hyperlinks or images.

  • Optionally, choose the format and category for your post.

  • Publish it immediately using the “Publish” button.

And now, when you visit your blog’s front page, you should see your new post.

Congratulations! You now have a working, fully-functional WordPress blog in the cloud.

Keep your WordPress installation up-to-date

You can keep your WordPress installation up-to-date with the WordPress update feature. To access this:

  • Log in to WordPress using the administrator account.

  • Select the “Dashboard -> Updates” menu item.

  • Review the resulting page to see if WordPress needs an update. If an update is available, you can install it by clicking the “Update Now” button. You can also re-install WordPress if needed with the “Re-install Now” button.

Useful links

To learn more about the topics discussed in this tutorial, use the links below:

Varnish is a registered trademark of Varnish Software AB and its affiliates.

05/12/2020

Do you want to install WordPress on your local machine using XAMPP? Do you need a simple and straightforward installation guide? Well, look no further! I've got you covered. Just follow the steps below and you'll have WordPress up and running in no time. ✊

In case you plan on following this guide on Windows, I recommend you opt for a more powerful and convenient development setup: Laragon.I have an article explaining its advantages over conventional tools like XAMPP. It even has a brief setup guide to get you started. Unfortunately, this tool is only available on Windows. Sorry Mac users... 😞

Step 1: Download and Install XAMPP

Alright! First thing to do: download XAMPP and install it. The installation process is quite straightforward, so you'll be on your own for that part. 😉 Just remember: when in doubt, leave the default installation settings as is.

Ignore any mentions of Bitnami that you encounter.

Step 2: Launch XAMPP

On Mac

After it has been installed, start the application and launch the server by clicking 'Start'.

Time to start the engine, boys and girls! 🚗

This should automatically start the 3 required services (Apache, MySQL, ProFTPD) in the Services tab. However, if they haven't, make sure to start them manually. Next, you want to choose a port for your server in the Network tab. I choose you, number 8080...

Lastly, in the Volumes tab, you want to mount the data volume/opt/lampp. At this point, if you visit localhost:8080 in your browser, you'll be greeted by a beautiful XAMPP page. 😍

On Windows

For the Windows folks, it's a little different...

First, make sure you start the XAMPP Control Panel as an admin. This can be done by right clicking on the program and choosing Run as administrator. Next, you'll be greeted by the following window.

The classic windows look we all know! 🤭

To launch the server, simply click onStart for both the Apache and MySQL modules, as shown in the image above. If you now visit localhost:80, you should be greeted by a XAMPP web page as well.

But wait! What if you want to change the port number like on Mac? Well... on Windows it's not as simple as a button click (as usual). 🙄 For the purpose of not having the explanation take up half the article, a detailed step by step guide 📃 can be found on Stack Overflow.

However, for the time being, I recommend you stick with the default port 80.

Pitstop

Bonus tip (for Mac) 🤓 - Something already occupying your chosen port? You can kill it by running kill -9 <<PID number>> in your terminal. You can find out the PID number with lsof -i @localhost:<<port number>>.

Step 3: Download and set up WordPress

On to the next task! We now have to download WordPress and set it up. For the Windows folks, make sure unzip the file after downloading.

The installation procedure isn't as straightforward since all you get is a bunch of files and folders. For this part, you want to return to your XAMPP application interface and click 'Explore' in the Volumes tab. Windows users, however, will want to simply click the '📂 Explorer' button (no Volumes tab needed).

Time to explore the unknown... or not?! 👀

You'll now find yourself in the XAMPP (or Lampp) directory. From here, you want to open the htdocs folder and create a new folder in it named after your website. How about we name it tutorial, shall we? And it is in this newly created folder where you want to copy all your WordPress files and folders that you downloaded.

Here's what it should look like afterwards: 👇

Lo and behold!

Xampp Bitnami Wordpress Install Tutorial

Step 4: Set up the database

So far so good! Before we move on, we have to set up a mySQL database on which we would like to install our WordPress website. We can access the interface at http://localhost:<<port>>/phpmyadmin/. We then create a new database by clicking on 'New' in the left-hand column. Give your database a name and then click 'Create'.

Here ya go!
Installation

Best not to touch anything else or you might end up messing things up... 😅

Step 5: Install WordPress

The final step is upon us where we install WordPress on XAMPP! Now that we have a server up and running as well as a database set up for our website, we can finally start installing our WordPress site by accessing it onlocalhost:<<port>>/<<website name>> (in our case localhost:8080/tutorial). You'll be greeted by a beautiful page to choose your language. 🔠

At one point, you'll be greeted by the following page:

The final boss...🤖

Here you'll want to you enter the name of the database you previously created as well as the admin's username and password. By default, an admin with the username root and no password exists. The rest you can safely ignore.

Bonus tip 🤓 - In case you run into a 'Sorry, but I can’t write the wp-config.php file' error, you want to have the wp-config.php file placed in your website folder. In my situation, it would be htdocs/tutorial.

Alright, you did it! Beyond this point it's smooth sailing. I hope you enjoyed this guide on how to install WordPress using XAMPP. Good luck on your WordPress adventures and beyond. 😄