×


Linux Resources


Install phpMyAdmin with Nginx on Ubuntu 18.04 - Step by Step Process ?

This article covers how to Install phpMyAdmin with Nginx on Ubuntu 18.04 system. When developing a website or web application, many users need the functionality of a database system like MySQL. However, interacting with the system solely from the MySQL command-line client requires familiarity with Structured Query Language — more commonly referred to as SQL — which can present a major hurdle for some users. phpMyAdmin was created to allow users to interact with MySQL through an intuitive web interface, running alongside a PHP development environment. 


How to Secure phpMyAdmin with Let's Encrypt SSL ?

Before starting, you will need to install the Certbot client to download and install Let's Encrypt SSL.

1. First, add the Certbot repository with the following command:

$ add-apt-repository ppa:ahasenack/certbot-tlssni01-1875471

2. Next, update the repository and install the Certbot client using the following command:

$ apt-get update -y
$ apt-get install certbot python3-certbot-nginx -y

3. Once the Certbot has been installed, run the following command to download and install the Let's Encrypt SSL for your domain:

$ certbot --nginx -d phpmyadmin.domain.com


Install LAMP Stack on CentOS 7 - Step by Step Process ?

This article covers how to install LAMP stack on CentOS 7. LAMP is a stack of applications that work together on a web server to host a website. With that being said, each individual program serves a different purpose.

In LAMP: 

  • Linux serves as the server's operating system that handles all the commands on the machine.
  • Apache is a web server software that manages HTTP requests to deliver your website's content.
  • MySQL is a relational database management system (RDBMS) whose function is to maintain user's data on a server.
  • PHP is a scripting language for server-side communication.


To install Apache easily using CentOS's package manager, yum:

1. Run the command.

$ sudo yum install httpd

2. Once it installs, you can start Apache on your server.

$ sudo systemctl start httpd.service

3. You can do a spot check right away to verify that everything went as planned by visiting your server's public IP address in your web browser.

http://your_server_IP_address/


Important PHP Modules:

  • php-bcmath.x86_64 : A module for PHP applications for using the bcmath library.
  • php-cli.x86_64 : Command-line interface for PHP.
  • php-common.x86_64 : Common files for PHP.
  • php-dba.x86_64 : A database abstraction layer module for PHP applications.
  • php-devel.x86_64 : Files needed for building PHP extensions.
  • php-embedded.x86_64 : PHP library for embedding in applications.
  • php-enchant.x86_64 : Enchant spelling extension for PHP applications.
  • php-fpm.x86_64 : PHP FastCGI Process Manager.
  • php-gd.x86_64 : A module for PHP applications for using the gd graphics library.


Check Ubuntu Version using Different Methods

This article covers how to check OS version using different methods. You can get more information of Ubuntu releases at official site of the Ubuntu Releases.

If you are using Ubuntu 16.04 then you can Upgrade using this guide Upgrade Ubuntu 16.04 to Ubuntu 18.04 LTS.

Ubuntu is a free, open-source Linux-based operating system, which has a long list of release versions. Finding out which Ubuntu version is running on your system can be important when troubleshooting issues or searching for installation guides.


To check the Ubuntu version, use the following command in terminal:

$ lsb_release -a

This will display you some details about your distribution including Ubuntu version:

Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal


Remove Files and Directories Using Linux Command Line - The Right way ?

This article covers how to Remove Files and Directories Using Linux Command.

The procedure to remove all files from a directory:

  • Open the terminal application.
  • To delete everything in a directory run: rm /path/to/dir/* .
  • To remove all sub-directories and files: rm -r /path/to/dir/* .


Use Shutdown Command in Linux - On Ubuntu | Debian ?

This article covers how to use of shutdown command in Linux with different arguments. Learn more by visit the shutdown man page.

On Unix-like operating systems, the shutdown command shuts down or reboots the system.

The shutdown command brings the system down in a secure way. All logged-in users are notified that the system is going down, and login operations are blocked. It is possible to shut the system down immediately, or after a specified delay.

All processes are first notified that the system is going down by the signal SIGTERM. This gives programs like vi time to save the file being edited, mail and news processing programs a chance to exit cleanly, etc.


Good Linux commands:

  • halt — Stop the computer.
  • poweroff — Stop the computer.
  • reboot — Stop the computer.
  • wall — Send a message to all logged-in users.


Wget Command Examples on Linux Command Line

This article covers different wget command for different operations along with options. Wget is a command line utility in linux to download files from the internet. It provides many features such as downloading multiple files, resuming stopped downloads, limiting the bandwidth, downloading in the background and can be used for taking mirrors of the site. Wget supports HTTP, HTTPS and FTP protocol to connect server and download files.

You can learn more about Wget visit the GNU wget Manual page.


How to Install wget on Ubuntu | Debian ?

If your operating system is Ubuntu, or another Debian-based Linux distribution which uses APT for package management, you can install wget with apt-get:

$ sudo apt-get install wget

Search by typing a one letter Word Term Here