Author: cobra_admin
How to Install Apache, MySQL, PHP (LAMP Stack) on Ubuntu 20.04
Install Apache The latest version of Apache is available in Ubuntu 20.04’s default APT repositories. Follow the steps below to update the package index and install Apache. Update the server’s package index. console $ sudo apt update Install Apache. console $ sudo apt install apache2 -y Start the Apache service.…
Read MoreHow to use the Linux Shutdown Command to Turn-off, Halt, or Reboot a System
Linux Shutdown Command Syntax The general syntax of the shutdown command is: shutdown [OPTIONS] [TIME] [MESSAGE] OPTIONS: Choose between -h for halt or -r for reboot. TIME: Specify when the shutdown should occur (for example, now, +10, 18:30). MESSAGE: An optional message to be displayed to all logged-in users. Common Options -h: Halt the system. -r: Reboot…
Read MoreHow to Install Caddy Web Server on Ubuntu 22.04
Prerequisites Before you begin: Have an Ubuntu 22.04 server. Create a domain name A record pointing to the server IP address. Access the server using SSH as a non-root user with sudo privileges. Install Caddy Follow the steps in this section to download the latest Caddy repository information and install the application…
Read MoreHow to Install Podman on Ubuntu 20.04
Prerequisites Before you begin: Have an Ubuntu 20.04 server. Create a Container Registry to store your Podman container images. This article uses Vultr Container Registry as an example, but the commands can be adapted to any registry by switching to the appropriate registry-specific variables. Access the server using SSH as a…
Read MoreHow to Install PHP 5.6 on Debian 12
Prerequisites Before you begin: Have access to a Debian 12 based Linux instance as a non-root sudo user. Add the PHP PPA Repository Debian 12 does not include PHP 5.6 in its default repositories, you must add a third-party repository. Follow the steps below to add the SURY PHP PPA repository. Update…
Read MoreHow to Use the Netstat Command in Linux
Install netstat The netstat command is part of the net-tools package and is available by default in the package repository of popular Linux distributions. Install net-tools to use the netstat command on your Linux system. To install the net-tools package: On Debian/Ubuntu distributions, use: console $ sudo apt install net-tools -y On RHEL distributions, use: console $ sudo dnf install net-tools…
Read More