Posts

Showing posts from May, 2021

APACHE AND MYSQL

Image
  APACHE AND MYSQL   Apache2 Web Server   Apache is the most commonly used Web server on Linux systems. Web servers are used to serve Web pages requested by the client computers.   Installation   sudo apt install apache2   Restart Apache   sudo service apache2 restart   Stop Apache   sudo service apache2 stop   Start Apache   sudo service apache2 start   Default document folder of Apache located in   /var/www/ MySQL/MariaDB   MySQL/MariaDB is a fast, multi-threaded, multi-user, and robust SQL database server. It is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.   Installation   sudo apt-get install mysql-server sudo apt-get install mariadb-server   Restart   sudo service mysql restart   Stop   sudo service mysql stop   Access the MySQL sh...

PACKAGE MANAGEMENT WITH APT-GET

Image
Ubuntu features a comprehensive package management system for installing, upgrading, configuring, and removing software. In addition to providing access to an organized base of over 60,000 software packages for your Ubuntu computer, the package management facilities also feature dependency resolution capabilities and software update checking. Several tools are available for interacting with Ubuntu’s package management system, from simple command-line utilities which may be easily automated by the system administrators, to a graphical interface which is easy to use by those new to Ubuntu. Introduction Ubuntu’s package management system is derived from the same system used by the Debian GNU/Linux distribution. The package files contain all of the necessary files, meta-data, and instructions to implement a particular functionality or software application on your Ubuntu computer. Debian package files typically have the extension  .deb , and usually exist in  repositories ...

BASIC LINUX COMMANDS

Image
  Display information about the Operating  System hostnamectl   Display information about the CPU architecture lscpu   Listing files and directories   ls   Detailed listing   ls -l   Lots of details about the contents of your directory   The * wildcard   ls d*   This will list all files in the current directory starting with d   Making Directories   mkdir tom   Changing to a different directory   cd tom   Change to the parent directory   cd ..   will take you one directory up the hierarchy. Command Meaning ls List files and directories ls -a List all files and directories mkdir Make directory cd directory Change directory cd Change to the home directory cd ~ Change to the home directory...