General

Bitnami Server Install Centos(GUI)

Introduction 

If you’ve ever attempted to install a server application (such as WordPress) or a development environment (such as an Apache/PHP/MySQL environment), you know it’s a lot more difficult than it appears at first glance. There are files to download and copy, configuration settings to alter, and a slew of other hurdles to clear before you can get down to business.

How To Install SSL Certificate on Apache for CentOS ? Click Here

There is, without a doubt, a better way: a Bitnami native installation. Bitnami offers pre-configured images for installing popular server software on Windows, Mac OS X, and Linux. Each installer comes with all of the software needed to get started right away and is totally self-contained. This means you won’t have to download any additional libraries, databases, or runtimes, and the new application or development environment won’t conflict with other software on your system after it’s installed. 

In this tutorial, I’ll show you how to use a Bitnami native installer to deploy a new server application on your local development machine, step by step.

Overview 

WordPress is almost certainly going to be used whether you want to start a personal or small company blog. WordPress is one of the most widely used blogging platforms, with over 60 million websites using it (according to Wikipedia). It’s easy to see why: WordPress is simple to use, has thousands of extensions and themes, and is fully free and open source.

In this video, I’ll show you how to set up the Bitnami WordPress Stack, which provides you with a ready-to-use WordPress blog. But WordPress is just one example: there are hundreds of other Bitnami apps to pick from, all of which are equally simple to install. 

This guide will take you through the following steps: 

  • Log in and start using WordPress after installing it with the Bitnami WordPress Stack. 
  • The next sections will take you step by step through these procedures.

Installing LAMP on CentOS

Introduction 

The abbreviation LAMP refers to a software package that includes the Linux operating system, Apache web server, MySQL database, and PHP programming language. It’s sometimes referred to as the LAMP stack, and it’s utilised to create dynamic web applications. 

Because it is a collection of applications, we can install each component separately or as a single unit. We’ll install LAMP on CentOS in this tutorial.

Prerequisites

  • CentOS 7
  • Login as an administrator on the terminal

Installation

1. Download and Execute the Installer

Download the binary file to install LAMP on the CentOS by clicking the link: https://bitnami.com/redirect/to/172954/bitnami-lampstack-7.1.13-0-linux-x64-installer.run. This is a binary file which can be executed on the terminal. In order to execute the file, we need to give the execution persmissions on the file. Execute the following command for this purpose.

$ chmod +x bitnami-lampstack-7.1.13-0-linux-x64-installer.run   

Execute the following command to run the installer script.

$ ./bitnami-lampstack-7.1.13-0-linux-x64-installer.run   

The time we run the installer script, a window opens which prompts to setup LAMP on CentOS. Simply choose all the component which we want to install and click Next.

The next window prompts to browse the folder where we want to install LAMP. In my case, I have chosen /opt/lamp.

This step is the most important step since it asks for the database server password for the root user. This password is used to access MySQL on command line hence we are required to remember this password. Simply enter an easy to remember password and click Next.

This step prompts us whether we want to deploy our lampstack on the cloud. Tick the option if desired and click Next.

Now, we have filled all the desired details. The setup is ready to start the Installation process. Simply click Next to start the process.

Now, LAMP is installing our CentOS.

Now, LAMP has been installed on our CentOS. Choose the Launch option to launch LAMP stack manager.

Hence, Bitnami LAMP stack has been launched. We can manage the Apache and MySQL servers here in GUI Mode. We can also manage the servers on Command line.

2. Working on MySQL command line

Change the working directory to /opt/lampp/mysql/support-files and Execute the following command to start the MySQL server.

$ ./mysql.server start   

We need to change the working directory to /opt/lampp/mysql/bin and execute the following command to access MySQL shell.

$ ./mysql -u root -password   

Simply enter the password which we have entered when we installed LAMP and it will take us to the MySQL shell where we can execute our queries. Here we have created a database named as javatpoint by executing the following query.

> create database javatpoint;  

3. Starting Apache and MySQL from command line

Apache and MySQL can also be started through a simple command given below.

$ sh ctlscript.sh start   

We can also start or stop individual servers by mentioning the name in the command as shown below.

$ sh ctlscript start mysql   

$ sh ctlscript start apache  

We can test whether Apache web server is running fine on the system by typing localhost:8080 in the browser’s search bar.

The browser shows the response as shown below.

Hence, we have installed and get started with LAMP on CentOS.

RECOMMENDED ARTICLES





Leave a Reply

Your email address will not be published. Required fields are marked *