Tuesday, June 1, 2021

How to Install XAMPP on ubuntu 16.04

 The "XAMPP" stack is an acronym where X stands for an operating system, A stands for Apache web server, M stands for MySQL or MariaDB database server and PP stands for PHP and Perl. So, as we are installing XAMP stack in our Ubuntu 16.04 linux machine, we can call is LAMPP stack where L stands for Linux. XAMPP stack is used together in a group in order to host dynamic PHP based websites and web applications. This setup enables us to run large numbers of web based applications and websites as we can find large numbers of PHP based web applications on the internet. Now, we'll move ahead towards the step-wise installation of XAMPP stack in our Ubuntu 16.04 machine.

System Requirements

Here's the minimum system requirements to install and run XAMPP stack in Ubuntu 16.04 LTS server.

RAM : Minimum 1GB memory
HDD : At least 1 GB free disk space
CPU : 1 Core Processor

Uzip File Command in Ubuntu

 

Unzip Into a Folder

All Linux and Unix systems ship with the unzip command. It’s a command-line utility allowing you to unzip a compressed file.

By default, the unzip command extracts the ZIP’s contents into the current directory. Instead of polluting the current directory with extracted files, you may unzip the files into a new folder using the unzip -d flag:

# “unzip -d” extracts the content into a directory
unzip path/to/file -d path/to/folder

# Example
unzip fonts.zip -d ./new-future-studio-fonts  

Notice: the unzip command won’t create non-existent paths on your disk. If you want to extract the archive into a non-existent folder path, you’ll run into errors.

For example, a directory non-existent-folder does not exist in the current path. If you want to unzip into a subdirectory of this folder, you’ll run into an error.

$ unzip fonts_otf.zip -d ./non-existent-folder/fonts
Archive:  fonts_otf.zip  
checkdir:  cannot create extraction directory: ./non-existent-folder/fonts  
           No such file or directory

That’s it. Unzipping a file from the command line is pretty straightforward using unzip <file> -d <folder>.

Modifikasi pathname pada terminal linux menjadi lebih pendek

Bagi pengguna linux turunan ubuntu seperti ubuntu 16.04 yang saya gunakan, ada beberapa hal yang cukup membuat kita ribet dengan pathname pa...