【Install XAMPP on Linux】Step by Step Guide ▷ 2022

Talk about the number of servers in the worldIt’s like talking about stars in the sky. It is estimated that, For every million people on Earth, there are about 12 million secure servers.. Each computer can become a local server or be connected to the network.

This is a possibility that is achieved with XAMPP, a package of free applications that web developers use as a serverwhich allows internal testing without being on the internet.

We will show you what the main functions are that characterize it, what are the most useful applications it has and how to do a clean install on linuxwhere it is safer to work on your projects.

What is XAMPP and what is this tool for on Linux computers?

In addition to being something of a Swiss Army knife, XAMPP is an acronym for the applications and solutions that make up its core packages:

  • , where it has a greater range of maneuverability.
  • Apache, which serves as the web server and on which most other applications are focused.
  • MySQL/MariaDBwhich are database administrators that every web needs to function.
  • , an excellent and recognized programming language for making dynamic websites.
  • Pearl, which is also a programming language that serves as a support to create applications that interact with your web page at birth.

XAMPP is an Apache distributionso if you’re going to use these tools like a pro, it is better that you already have experience with this software package. Although it also has an assistant for beginners.

What are the main functions and features that make XAMPP an excellent programming environment?

There are more than one program available within the XAMPP packageso in this section You will know the most used and the most useful ones that you should take into account if you want to learn how to create web projects from scratch.

Check out this list of the main features you get when you install XAMPP on your Windows, MacOS, and Linux PC, which is where we’ll focus in the next step-by-step:

  • Httdocs: It is a folder to save and protect the necessary files that a web requires, it is a kind of local hosting that allows the web to function.
  • phpMyAdmin: It is the central program with which the functions of MySQL, a database manager, are controlled. It serves as a start for people who do not have enough experience.
  • Control Panel: It is the console with which all processes within XAMPP are regulated and monitored. From this place the operation of the web is supervised.
  • Mercury: offers a free and personalized mail service with which you can offer this solution to your customers. You have a limited number of possible accounts to create.
  • Test site: With XAMPP you can do the tests you want in real time, this means that you don’t need a server or the Internet to verify that the web works 100%.
  • actual server: if you prefer to have complete control of your web server or hosting, then with XAMPP you can do that too. Remember that a server is an ordinary computer, but with some adjustments to support web traffic.
  • Virtual machines are not required: This application acts as a virtual machine to recreate an environment where a dynamic web can function. To complete the installation, plugins such as VirtualBox, to mention just one of them, are not required.
See also  【 TRANSLATE a Web Page 】▷ Step by Step Guide ▷ 2022

Learn step by step how to install XAMPP on your computer with Linux operating system from scratch

Despite XAMPP is a set of free and open source programs.the installation of the whole package It’s not as complex as it seems.

We will tell you what to do to make this process easy for you, in case you are an apprentice developer:

Before starting

Actually, a super computer is not required for it to be installed, but the recommendation is that your computer meets the following technical requirements:

  • processors less than 8 cores.
  • RAM of 2Gb.
  • hard disk space of 4GB and that’s a lot for what this package occupies.
  • Internet connection during the installation.

Since the installation will be on Linux, the whole process is done from the command console that you must master However, we leave you the necessary commands.

Download XAMPP

It is required to have downloaded the installation package on your computer, so you only need to start sending commands in the console:

  • Go to the official website and download the package apachefriends.org/es/download.html
  • Select the version you want to try. It is always recommended to lower the last version.
  • unzip if necessary so that there are no problems in the installation.

Install XAMPP

It’s time to open command console and start typing some lines of code.

First, execute permission must be given:

sudo su chmod + xampp-linux-x64-7.2.4-0-installer.run ./xampp-linux-x64-7.2.4-0-installer.run

Afterwards, an installation wizard opens in which you must follow the steps for a standard configuration:

  • Press “Next” at all times until the end of the guide.
  • Then you have to press finish.
See also  【 Echo Chambers 】What are they? + How to avoid them? ▷ 2022

If you want to do a more customized installationthen you must be an expert in handling Apache and the programs that are needed to make it work XAMPP. On the contrary, it is convenient that you follow the pre-established steps so that there are no subsequent errors in its operation.

Activate all services

To avoid using the XAMPP wizard and activate the programs that are required, you’d better make sure the activation and working of this package:

  • sudo /opt/lampp/lampp start, this stops Activate.
  • sudo /opt/lampp/lampp stop, in case stop the service.
  • sudo /opt/lampp/lampp restart, when required Restart your computer.

In case you want to know where you should save the documents of your web page, then this is the code that you should have on hand:

In other words, to get the home page of your website, you must place the following address in your browser:

  • /opt/lampp/htdocs/test.php. Taking into account that the test can actually be a “Index”.

Finally, if you want to adjust the PHP configuration that comes by default in the installation, you must locate the configuration file with this address:

List of the best alternative tools to XAMPP that you must know to use in Linux

Certainly, XAMPP is not the only service of its kind that exists in the open source world, but it is one of the most complete and powerful with which you can work.

If you tried this tool and you didn’t like it, then you should see this list of options available for you to have new alternatives:

WampServer

The advantage with this proposal is that it brings configurations oriented to developers, but also for end users. It is as easy to use as XAMPP, since it has additional support for Apache, PHP, phpmyAdmin and MySQL. It also has support for Adminer and PhpSysInfo.

See also  【 Create Discord Group 】 Step by Step Guide ▷ 2022

It supports all versions of PHP, however if you want a more different alternative then you should keep reading:

  • It is only available in Windows versions.
  • Have a central panel with which all applications are controlled.
  • It is downloaded in 32-bit and 64-bit systems.
  • Some settings they are more complex to achieve.

MAMP

It is an initiative designed better for Apple environments, although it also has support for Windows. But it cannot be installed in Linux environment, so you should look for other options if you want to have the same services in the different distributions. It has support for PHP, Perl, Apache, MySQL and Pythonwhich means a greater variety of projects aimed at different devices such as cell phones, tablets and .

This package can coexist with XAMPP without affecting the different processes that the new website must carry out:

  • It is easy to adjust configurations in a local environment.
  • It is a completely free packageeven though it is for Windows and MacOS.
  • PHP and MySQL settings they are more practical.
  • Occupies more space on the hard drive and requires more RAM.

AMPPS

The developers decided that it is better if the same package is available in both linux, What windows Y macOS. That’s why, AMPPS is the best alternative to AXMPP because its installation is simpler and more powerful. It is also the best option for those who work with WordPress, since there is no manual installation from scratch required.

AMPPS has an installation wizard that helps you complete all the steps so that you can test your WordPress website without problems:

  • It is available on all platforms. It has an installation wizard in each of them.
  • It has more complete libraries that adjust to different configurations of web servers.
  • It is easier to use than previous proposals, even XAMPP.
  • Sometimes the interface gives headaches and is only available on systems 32 Bit.
Loading Facebook Comments ...
Loading Disqus Comments ...