Having a full web server locally can be tricky, but there is a package that makes this process easy: XAMPP. To get this feature on your system, see how to install XAMPP on Linux below.
XAMPP is a platform-independent server, which mainly consists of MySQL database, Apache web server, and interpreters for scripting languages: PHP and Perl.
The name XAMPP comes from the abbreviation of X (for any of the different operating systems), Apache, MySQL, PHP, Perl.
It acts as a free web server, is easy to use, and is capable of interpreting dynamic pages. Currently, XAMPP is available for Microsoft Windows, GNU/Linux, Solaris, and macOS X.
Find out which is the best NET promotion for you and receive incredible discounts. Check out!
For more details on how to configure and secure XAMPP, please visit this page.
Installing XAMPP on Linux
To install XAMPP on Linux, do the following:
Step 1. Open a terminal;
Step 2. Check if your system is 32-bit or 64-bit, for that, use the following command in the terminal:
Step 3. If you are using a 32-bit system, use the command below to download the program. If the link is out of date, go to this page and download the latest version and save it as xampp-installer.run:
wget https://ufpr.dl.sourceforge.net/project/xampp/XAMPP%20Linux/7.4.11/xampp-linux-7.4.11-0-installer.run -O xampp-installer.run
Step 4. If you are using a 64-bit system, use the command below to download the program. If the link is out of date, go to this page and download the latest version and save it as xampp-installer.run:
wget "https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/7.4.22/xampp-linux-x64-7.4.22-0-installer.run/download" -O xampp-installer.run
wget "https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/8.0.9/xampp-linux-x64-8.0.9-0-installer.run/download" -O xampp-installer.run
Step 5. Make the file executable with the command below;
chmod +x xampp-installer.run
Step 6. Start XAMPP installation, with the following command;
Step 7. When it appears, follow the steps of the installation and configuration wizard:
Step 8. If your current graphical environment supports and is 32 bits, create a launcher for the program, executing the command below;
echo -e '[Desktop Entry]\n Version=1.0\n Name=xampp\n Exec=gksudo /opt/lampp/manager-linux.run\n Icon=/opt/lampp/icons/world1.png\n Type=Application\n Categories=Application' | sudo tee /usr/share/applications/xampp.desktop
Step 9. If your current graphical environment supports and is 64 bits, create a launcher for the program, executing the command below;
echo -e '[Desktop Entry]\n Version=1.0\n Name=xampp\n Exec=gksudo /opt/lampp/manager-linux-x64.run\n Icon=/opt/lampp/icons/world1.png\n Type=Application\n Categories=Application' | sudo tee /usr/share/applications/xampp.desktop
Step 10. For the shortcut to work correctly, install GKSU with the command below. If your distribution is not Debian-derived, look for the program in their package manager and install it;
sudo apt-get install gksu
Ready! Now, when you want to start the program, type sudo /opt/lampp/manager-linux.run(32-bit) or sudo /opt/lampp/manager-linux-x64.run(64-bit) or into a terminal, followed by the TAB key.
If your distribution supports it, put the shortcut on your desktop using the system file manager or the command below, and use it to start the program.
sudo chmod +x /usr/share/applications/xampp.desktop
cp /usr/share/applications/xampp.desktop ~/Área\ de\ Trabalho/
If your system is in English, use this command to copy the shortcut to your desktop:
cp /usr/share/applications/xampp.desktop ~/Desktop
For more details on this task, see this tutorial:
How to add application shortcuts to the Unity desktop
If you like, you can also use the system file manager to run the program, just by opening its folder and clicking on its executable.
Administering, verifying, and uninstalling XAMPP
To Administer, verify, and uninstall XAMPP on Linux, do the following:
Step 1. Open a terminal;
Step 2. If you want to start XAMPP through the terminal, use this command:
sudo /opt/lampp/lampp start
Step 3. Or simply use the program’s graphical interface to start or stop the web server. To run it, use the shortcuts created, or simply type the command sudo /opt/lampp/manager-linux.runon 32-bit sudo /opt/lampp/manager-linux-x64.runsystems or , on 64-bit systems;
Step 4. To verify that the webserver is running, enter the following address into a browser:
Step 5. If the installation worked, this page will appear:
Ready! You now have a web server on your system. But if you prefer LAMP, take a look at this tutorial:
Install LAMP on Linux and have a web server on your PC
Managing XAMPP via Terminal on Linux
To manage all XAMPP services via the terminal, do the following:
To start all xampp services, use the following command in the terminal.
sudo /opt/lampp/xampp start
To start Apache only, use:
sudo /opt/lampp/xampp startapache
To start just the Proftpd FTP server, use:
sudo /opt/lampp/xampp startftp
To start the MySQL database server only:
sudo /opt/lampp/xampp startmysql
To stop all xampp services, use the following command in the terminal.
sudo /opt/lampp/xampp stop
To stop Apache only, use:
sudo /opt/lampp/xampp stopapache
To stop only the Proftpd FTP server, use:
sudo /opt/lampp/xampp stopftp
To stop just the MySQL database server:
sudo /opt/lampp/xampp stopmysql
To restart all xampp services, use the following command in the terminal.
sudo /opt/lampp/xampp restart
And for other commands, you can check the xampp help section by running the following.
sudo /opt/lampp/xampp --help
How to remove XAMPP on Linux
If you need to uninstall XAMPP from your system, do the following:
Step 1. Open a terminal;
Step 2. Uninstall the program by executing the following commands;
sudo /opt/lampp/lampp stop
sudo rm -rf /opt/lampp
2 Easy Ways to Format Flashdisk on Ubuntu Linux, which method do you choose?
Flash format is an activity that aims to empty the files stored in it. This method is done for various reasons, such as wanting to copy new files, removing viruses, and others.
Flash format in Linux is not much different from the flash format in Windows, and it’s just that there are various ways of formatting that you can do. Depending on your understanding of which one is easy, you can use your method.
In this discussion, I will use two of the most common and easy-to-use ways to format a flash drive on Linux, namely how to format a flash drive manually and via the Terminal. The Type of Linux that I use here is the desktop version of Ubuntu 16.04.
How to Format Flashdisk on Linux Ubuntu
( I. ) Format Flash Disk Manually
The one most often used by users is how to format the flash here manually I use. The steps are as follows.
1. Open your file explorer or directory. Click on the flash drive that you want to format to see if your flash drive is legible, what it contains, and are you sure you want to format it.
2. After that, right-click on your flash device, as shown in the picture—Click Format to empty your flash.
3. Next, there are options ( Erase, Type, and Format ) that you can adjust to your needs on this Volume Format. You can follow the default options as shown in the picture.
- I select ‘ Don’t overwrite existing data (Quick )’ in the Erase section. This option makes the formatting process faster.
- I choose the FAT format for Type here, but you can select another such as NTFS.
- Then, write a new name for your flash device in the Name field.
- Next, click the Format button.
4. After that, a confirmation will appear again to make sure you do the correct format of the flash. At this stage, the Type of your flash device will be displayed as indicated by the arrow in the image. The flash that I formatted is branded HP and has a capacity of 16GB. Click the Format button to start the flash format process.
5. Format your flash drive has been successful. You can check it by re-opening your flash directory and seeing that the flash drive is empty.
( II. ) Format the flash drive via Terminal.
In addition to manually, you can format the flash via the Terminal. How to? Follow these steps.
1. First, you can check the contents of your flash drive first to make sure you format it. Here, the name of my flash is My FD.
2. Open your Terminal. You can use the shortcut by pressing the keyboard’s Ctrl + Alt + T keys. Type the command:
sudo fdisk -l
The above command aims to find out the address of your flash drive. In the command, use the word sudo, where the Terminal will ask for your password input first. Enter your password; then, the Terminal will display the specifications of the device installed on your computer.
The device that is connected is the flash that we will format. You can ensure the device is your flash drive by observing its size. The example image above says 15.1 G, which means that the flash that I will format is filled with 15.1 GB. Then, remember the address. The address is listed in the Device column, wherein the image above it says /dev/sdb1.
3. Next, use the flash address we know earlier to run the umount command. This command aims to release the flash that is currently associated. You can see the related flash disk in the file explorer, wherein the flash name has an arrow button, as shown below.
Use the command below to remove your pen drive.
sudo umount /dev/sdb1
4. Next, you can type a command like the one below to format the flash drive.
sudo mkfs.vfat /dev/sdb1
There is the word ‘ vfat ‘ in the command where FAT states the flash format after formatting. You can replace it with NTFS, hfs, ext2, ext3, ext4, and others according to your needs.
5. Finally, your flash is successfully formatted. To check, please open your file explorer and prove your flash drive is empty.
Before formatting the flash drive, make sure there are no important files that will be deleted. Back up your precious data if you are worried about losing your files. That’s how to format the flash on Linux Ubuntu easily. Give your feedback in the comments column below. Thank you.
How to Install Microsoft Teams on Linux
For those who don’t know, Microsoft Teams is now available as a Multi-Platform application on almost all operating systems, be it Windows, Mac, Linux, Android or iOS.
Now about this, we will summarize the short steps on how to Install Microsoft Teams on Linux. As usual, here, I will use Elementary OS as my mainstay Linux OS.
Here are the short steps.
Step 1. First, please open the Microsoft Teams site.
Step 2. Please download the Installer file from Microsoft Teams; please adjust it to the Linux distro you have, DEB for Ubuntu, Debian and all their descendants, and RPM for Fedora, CentOS and all their siblings.
Step 3. After the file is downloaded, please open the file, and if your Linux already has an app installer, the steps will be easier because we click install.
But if it doesn’t exist, we can use the classic steps by using Terminal. Open Terminal > Go to Directory Download > Then type the following command:
sudo dpkg -i <namafileinstaller>
Exactly as in the picture above, after typing the command, you need to enter your root password, and then the installation will run until the Microsoft Teams application is installed.
Well, please try, guys; it’s easy, isn’t it? I hope this article is useful.
GParted, Partition Management Application for Linux Operating System
Have you ever heard of GParted? This name may still sound less familiar to your ears, especially for those who use the Windows operating system because GParted is intended for Linux users.
Although it sounds less familiar, this application is quite a lot of people who use it. One of the reasons is because GParted offers ease of operation. Even people new to using it tend not to experience complicated problems even though it is the first time they try it.
What Are the Features of GParted?
GParted is an application that can run on both x86 and x64 computers with operating systems such as Windows, Mac OS, and Linux with a minimum RAM size of 256 MB. From these specifications, we can know that this application is light because it only requires a RAM capacity of only 256 MB.
Some of the features that make GParted one we recommend include:
- Create or delete partitions
- Format partition
- Resize partition
- Mounting and unmounting partitions _
- Checking storage conditions
- Enable and disable Swap (this feature can be used on devices with Linux OS)
- New UUID
- and others
You can use all of these features according to your needs. Using the features in GParted is not too difficult because the instructions are clear. Also, because GParted is GUI, it makes the instructions easy to understand.
How to Use GParted
- As usual, you download the GParted application.
- There will be an ISO file; then, you burn the file.
- Restart the computer and make sure that the boot CD-ROM is in the first place
- GParted is ready for you to use
- You can click Resize or Move if you want to adjust the size of the hard disk.
- You drag across the partition towards the left. Don’t forget to pay attention to the words New Size to create a new size and Free Space Following, the new partition you are using.
- Then you press the Resize or Move button to start this process
- You click the new partition in the Filesystem section. Then select ext3 and label ‘/.”
- Click the Add button, then apply to begin the partition change process.
- Restart the computer and see the size of the partition on the hard drive now
- Don’t forget to backup your data first before using GParted.
For your information, several versions of the Linux operating system that can use GParted include Fedora, Ubuntu, Debian, and Open Suse. GParted stands for Gnome Partition Editor, an application with a GUI or Graphic User Interface.
This application is used for storage management, namely SSD or hard disk. Functions of GParted as found in the Partition Wizard in DLC Boot for Windows OS. At the beginning of its creation, this application was intended for Linux OS.
However, now you can download GParted and use it for Windows OS. By using this application, you can edit, resize, or create or delete partitions on the storage media on your computer or laptop.
WhatsApp is no longer dedicated to chatting, shopping feature will be coming soon
SHARE More WhatsApp is no longer just a message-sharing application. Later, users can make transactions or shop on WhatsApp via...
How to Fix Blurred Images/Photos on Android Phones
SHARE More Why your photos can be blurry (blurred) There are several factors that cause them, including: When taking photos...
AI Alternative to GPT Chat
SHARE More Recently, you may or have used ChatGPT. This chatbot is OpenAI (Artificial intelligence), which allows users to have...
Transform Your Text with Fancy Fonts: A Dive into Online Font Generator Websites
SHARE More In today’s digital age, expressing ourselves creatively is more important than ever. One fun and engaging way to...
How to Overcome playback errors on Twitter
SHARE More The problem of playback error on Twitter is a video problem on Twitter that cannot be played for...
How To Fix Unusable Whatsapp Accounts
SHARE More The problem of your WhatsApp account not being able to use is one of the signs that your...
iOS 16.6 close. What’s new with the update for iPhones?
SHARE More iOS 16.6 is a new update for iPhones, which is about to be released. What’s new in this...
Huawei Announces Plans for Commercial 5.5G Network Device Launch in 2024
SHARE More The leading provider of information and communication technology (ICT) solutions, Huawei, announced plans to launch a full range...
How to View, Change and Create Line IDs
SHARE More One application platform that is quite widely used by smartphone users is the LINE application, this application is...
Samsung, the arrival of the Galaxy S23 FE is increasingly probable: the battery is certified
SHARE More The “Fan Edition” of the Galaxy S range would be ready to return to the market after a...
- Beauty and Personal Care
- Blog Tutorials
- Home improvement
- Life Hack
- Mobile Tutorials
- MS Excel
- MS Outlook
- MS Word
- PC Tutorials
- PDF Tutorials
- Social Media
- Weight and body image
- Windows 10
- Windows 11
Phones4 years ago
Apple iPhone 11 (2019) – Release, Info, Leaks, Rumors
Phones4 years ago
Huawei New Operating System is HarmonyOS [ Officially ]
News4 years ago
Belle Delphine bath water – Instagram Model Sells Used Bathwater For 30$ To Their Loyal Followers
Tech4 years ago
Levi’s Bluetooth Jacket Lets You Control Your Smartphone