Saturday, May 6, 2023
Popular Web hosting control panel
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.
Solution:
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 '127.0.0.1:9000': Address already in use (98)
netstat -tulpn | grep -w 9000
tcp 0 0 127.0.0.1:9000 0.0.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
Saturday, December 3, 2022
Reinstall MySQL in virtualmin
sudo apt purge mysql-server mysql-client mysql-common
sudo apt autoremove
Then goto webmin dashboard>Server>MySQL Database Server>Install
Tuesday, August 30, 2022
Install multiple PHP version on Ubuntu for Virtualmin
Enable ondrej/php repository
LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php && apt-get update
Install additional PHP packagesapt-get install php*-{cgi,cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,xml,zip}
Note: php* should be replaced with a specific PHP version, i.e. php7.4, unless you really need to install all available additional PHP versions.
Configuring the second PHP Version in Virtualmin
The following PHP execution modes are available : fpm The following PHP-FPM versions are available : 8.0.13 (php-fpm) 7.4.30 (php74-php-fpm) 8.2.0 (php82-php-fpm)
You can configure which one is the default PHP version used on new Virtual Servers. The default is to use the newest available. You can change that default in System Settings → Server Templates → Default → PHP Options page.
Configuring Individual Virtual Servers
You can configure the PHP version being used for a specific Virtual Server by selecting Server Configuration → PHP Options.
Tuesday, June 14, 2022
Install only Webmin in CentOS
[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1
Saturday, July 24, 2021
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
Tuesday, February 23, 2021
Install and enable CURL extention for PHP 7.4 on Ubuntu 20.04
/etc/init.d/apache2 restart
How to Download and Install Virtualmin || Ubuntu 20.04
# wget http://software.virtualmin.com/gpl/scripts/install.sh
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 install.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.
Upload file to server using Power Shell Command
scp file_name.zip username@server_ip/server_address:/directory_path
-
Put the following code in a TXT file and save as "file.cmd" then run the cmd file as administrator. @echo off title Activate Micr...
-
We can install PowerMTA on the server. rpm -ivh /home/PowerMTA-4.0r6.x86_64.rpm You will see the output like this Preparing... #############...
-
# $Id: config 2015-03-24 16:00:00 Jack $ # Sample PowerMTA configuration file # PowerMTA Multiple Virtual PMTA config file sample # # E-mai...