How to install/reinstall mailman on cPanel server

Check Tweak Settings, should be ‘0’

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

skipmailman=0

Deprecated scripts

/scripts/reinstallmailman
/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 http://files.softaculous.com/install.sh
chmod 755 install.sh
./install.sh --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

http://roxterm.sourceforge.net/index.php?page=installation&lang=en

git clone git://git.code.sf.net/p/roxterm/code 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 ./mscript.py
Read the rest

How to install atop

Enable epel repository if needed

## RHEL/CentOS 7 64-Bit ##
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh epel-release-latest-7.noarch.rpm
yum install atop -y

Useful URLs:

https://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/

https://www.tecmint.com/how-to-install-atop-to-monitor-logging-activity-of-linux-system-processes/Read 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

cd
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
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

http://docs.drush.org/en/master/install/Read the rest