Showing posts with label Webmin. Show all posts
Showing posts with label Webmin. Show all posts

Saturday, May 6, 2023

Popular Web hosting control panel

1 Plesk
2 Control Web Panel (CWP)
3 ISPConfig
4 Virtualmin
5 ispmanager
6 Vesta Control Panel
7 DirectAdmin
8 Ajenti
9 Sentora
10 BlueOnyx
11 cPanel
12 Froxlor
13 Easy Hosting Control Panel
14 Webmin
15 ApisCP
16 aaPanel
17 Zesle Control Panel
18 CyberPanel

Sunday, February 19, 2023

503 Service Unavailable : PHP-FPM issue

Error: 503 Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.


systemctl start php80-php-fpm (if face the error follow the next command )

systemctl status php80-php-fpm.service

ERROR: unable to bind listening socket for address '': Address already in use (98)

netstat -tulpn | grep -w 9000 

tcp        0      0*               LISTEN      884/php-fpm: master 

kill 884

systemctl start php80-php-fpm

Note: Use your PHP version, PID and Port in the command. if netstat not works install net-tools first: yum install net-tools

Saturday, January 21, 2023

How to Extend Swap Space using Swap file in Linux

dd if=/dev/zero of=/swap_file bs=1G count=1

sudo fallocate -l 1G /swap_file

chmod 600 /swap_file

mkswap /swap_file

echo "swap_file swap swap defaults 0 0" >> /etc/fstab 
vi /etc/fstab/swap_file swap swap defaults 0 0

swapon /swap_file

Tuesday, September 20, 2022

Two-Factor Authentication (2FA) for Webmin with Google Authenticator

First install Perl Modules :

Then follow the instructions as given through the URL:

Tuesday, June 14, 2022

Install only Webmin in CentOS

sudo vi /etc/yum.repos.d/webmin.repo

name=Webmin Distribution Neutral

sudo rpm --import jcameron-key.asc

sudo yum install webmin

Follow the command to instll Virtualmin:

~# wget

~# sudo sh

Monday, August 9, 2021

Install only Webmin without Lamp Stack

$ sudo nano /etc/apt/sources.list

$ deb sarge contrib

$ wget 

$ sudo apt-key add jcameron-key.asc

$ sudo apt update 

$ sudo apt install webmin

Saturday, April 17, 2021

Install Webmin on Ubuntu 20.04

sudo apt update
sudo apt install wget apt-transport-https software-properties-common
wget -q -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] sarge contrib"
sudo apt install webmin
sudo systemctl status webmin
sudo ufw allow 10000/tcp
sudo ufw reload

Thursday, April 15, 2021

Install extensions for PHP 7.4 on Ubuntu 20

sudo apt-get install php7.4-cli php7.4-fpm php7.4-bcmath php7.4-curl php7.4-gd php7.4-intl php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-sqlite3 php7.4-xml php7.4-zip


sudo apt update
sudo apt install php7.4
sudo apt install php7.4-common php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-curl php7.4-gd php7.4-imagick php7.4-cli php7.4-dev php7.4-imap php7.4-mbstring php7.4-opcache php7.4-soap php7.4-zip php7.4-intl -y

Tuesday, February 23, 2021

How to Download and Install Virtualmin || Ubuntu 20.04

The easiest way to get the install script onto your server, is to login to your server and use wget or curl. For example:

# wget

For Virtualmin Professional, use the command suggested on your Software Licenses page.

Run the Install Script and Configure Virtualmin

Execute the downloaded install script using a command like the following:

sudo /bin/sh

Monday, February 22, 2021

PHP files prompts downloaded instead of executed in FCGId URL

In "/etc/apache2/mods-enabled/php.conf" (replace php with your filename, depending on the php version you're using - in my case it was php7.2.conf) comment out the following two lines:

SetHandler application/x-httpd-php

SetHandler application/x-httpd-php-source

Restart the apache server via the following command:

sudo service apache2 restart

Now set your webstite to FCGId (Virtualmin -> Server Configuration -> Website options -> PHP script execution mode ) and it should work properly.

How to install SSL on CWP hostname?

1 - Check that you should have an A record for the hostname. For example if your server hostname is, then you should have a...