How to install/reinstall mailman on cPanel server

Check Tweak Settings, should be ‘0’

cat /var/cpanel/cpanel.config |grep skipmailman


Deprecated scripts

/usr/local/cpanel/bin/mailman-install --force

Deprecated scripts:

/usr/local/cpanel/scripts/update_local_rpm_versions --edit target_settings.mailman installed
/usr/local/cpanel/scripts/check_cpanel_rpms --fix --targets=mailman

The latest way to reinstall mailman on cPanel server:

rpm -e --nodeps cpanel-mailman
/usr/local/cpanel/scripts/check_cpanel_rpms --fix --targets=mailman

Run upcp:

/scripts/upcp --force
systemctl start mailman.service
Read the rest

How to reinstall Softaculous on cPanel server

Backup settings files/folders:

rm -rf /usr/local/src/softaculous_settings_bk
mkdir -p /usr/local/src/softaculous_settings_bk
cp -rp /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/universal.php /usr/local/src/softaculous_settings_bk/
cp -rp /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/iscripts.php /usr/local/src/softaculous_settings_bk/
cp -rp /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/categories.ser /usr/local/src/softaculous_settings_bk/
cp -rp /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/conf /usr/local/src/softaculous_settings_bk/
cp -rp /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/hooks /usr/local/src/softaculous_settings_bk/

Do the re-installation:

wget -N
chmod 755
./ --force-download

Restore your settings:

cat /usr/local/src/softaculous_settings_bk/universal.php
Read the rest

How to install roxterm on Xubuntu 18.04.1 LTS

roxterm no longer exist in debian pkg

Download and install roxterm using source below

git clone git:// roxterm

cd roxterm

Install python if needed:

sudo apt install python

You may skip below three steps and install and install dependencies firstly

sudo python ./
Read the rest

How to install atop

Enable epel repository if needed

## RHEL/CentOS 7 64-Bit ##
rpm -ivh epel-release-latest-7.noarch.rpm
yum install atop -y

Useful URLs: the rest

How to install WP-CLI

WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, set up multisite installs and much more, without using a web browser

curl -O
chmod 755 wp-cli.phar
mv wp-cli.phar wp
mkdir wp_cli
mv wp wp_cli
echo "alias wp='~/wp_cli/wp'" >> ~/.bashrc
Read the rest

How to install Drush

Drush is an awesome shell interface for managing Drupal right from your server command line. It is a very useful tool as it helps you perform various admin tasks using just one or two commands in the terminal

Find your appropriated Drush version for your Drupal the rest