Install Development Tool on CentOS and Debian

Well, in my working domain I face these tools to be installed, so that most of the dependent tools or programs that need to be deployed later don’t face much of dependency issue. So here goes the installation process for both the OS.

On CentOS/RHEL system use the follwoing command (either one of it would work)-

Type the following yum command as root user:

# yum group install "Development Tools"

Continue reading “Install Development Tool on CentOS and Debian” »

Share

Install Proxmox VE 7 on Debian 11 (Bullseye)

Step 1: Update Debian OS

Ensure your Debian 11 (Bullseye) operating system is upgraded.

sudo apt -y update && sudo apt -y upgrade

Once the upgrade process is complete, reboot the server

sudo systemctl reboot

Step 2: Set Proxmox Server hostname

Let’s set a hostname on the server

sudo hostnamectl set-hostname proxmox7node01.example.com --static

Replaceproxmox7node01.example.com with correct hostname you’re setting on your system. Get the IP address of the primary interface: Continue reading “Install Proxmox VE 7 on Debian 11 (Bullseye)” »

Share

Install Cacti 1.2 on Debian 11

First, update the repository index.

sudo apt update

Install MariaDB Database

Install MariaDB from Official MariaDB Mirror

Update the repository index and install the required packages.

sudo apt update
sudo apt install -y software-properties-common dirmngr apt-transport-https wget curl

Add signing key to your system.

curl -fsSL https://mariadb.org/mariadb_release_signing_key.asc | sudo gpg --dearmor -o /usr/share/keyrings/mariadb-keyring.gpg

MariaDB foundation offers a repository for Debian to install MariaDB easily. You can choose any one of the download mirrors from the MariaDB download page to set up the repository on your system.

Add MariaDB repository using the below command.

echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/mariadb-keyring.gpg] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.6/debian bullseye main' | sudo tee /etc/apt/sources.list.d/mariadb.list

Install MariaDB server and client using the following command.

sudo apt update
sudo apt install -y mariadb-server mariadb-client

Continue reading “Install Cacti 1.2 on Debian 11” »

Share

Fix ‘Another Update is Currently in Progress’ Error in WordPress

When you’re experiencing the another update in process error, you need to delete the ‘core_updater.lock’ file from your WordPress database. The easiest way to do this is by using phpMyAdmin.

Note: Before you make changes to your database or WordPress theme files, it’s a good idea to create a full website backup. To learn more, see our guide on how to backup your WordPress site.

Launch the phpMyAdmin app, where you need to select your WordPress database. Once you click your database, it will display all of the tables inside the database.

Then, you need to click the ‘Browse’ button next to the WordPress options tables (wp_options).

This brings up all of the rows inside the options table. 

You need to find the row with the option name ‘core_updater.lock’ and click on the delete button next to it.

Now, phpMyAdmin will automatically delete the row from your database. 

When you go back to your WordPress website, the another update in process error will be gone, and you can continue updating your site. 

Share

Add PHP 7.4 support on Virtualmin GPL on CentOS 7 Distribution

Install Remi Release repo and clear cache

yum -y install https://rpms.remirepo.net/enterprise/remi-release-7.rpm && yum clean all

Install PHP packages version 7.4 and/or 8.0

yum -y install php74-php-{cli,pdo,fpm,zip,gd,xml,mysqlnd,opcache,bcmath,imagick,mbstring}
yum -y install php80-php-{cli,pdo,fpm,zip,gd,xml,mysqlnd,opcache,bcmath,imagick,mbstring}

Configuring Individual Virtual Servers

You can configure the PHP version being used for a specific Virtual Server by selecting Server Configuration -> PHP Options.

The first line there specifies what PHP version will be used by default.

If you wish, you can specify a different PHP version to be used for a specific directory.

Src:
https://forum.virtualmin.com/t/php-7-4-not-showing-as-option-under-virtualmin/104088
https://stackoverflow.com/questions/64370480/linux-add-php-7-4-to-webmin-virtualmin
https://www.virtualmin.com/documentation/web/multiplephp/#Installing_PHP_74_andor_80_on_CentOS_7

 

Share

Reset Zimbra Admin Password

Obtain a list of all Administrators

If want to get a list of all administrators, run the next command:

su - zimbra
zmprov gaaa

To reset the administrative password:

su - zimbra
zmprov sp <admin email address> <new password>

Check the new password in the Admin Console

To access the admin console:

https://YOURHOST:7071

Remember that the administrative console (sometimes) requires a full email address as the login name, so you may be using the correct password and the wrong login!

Share

Add Geolocation to Graylog 2

The Graylog Map Widget is the plugin providing geolocation capabilities to Graylog. The plugin is compatible with Graylog 2.0.0 and higher, and it is installed by default, although some configuration is still required on your side. This section explains how to configure the plugin in detail.

In case you need to reinstall the plugin for some reason, you can find it inside the Graylog tarball in our downloads page. Follow the instructions in Installing and loading plugins to install it.

Configure the database

In first place, you need to download a geolocation database. We currently support MaxMind City databases in the MaxMind DB format, as the GeoIP2 City Database or GeoLite2 City Database that MaxMind provides.

The next step is to store the geolocation database in all servers running Graylog. As an example, if you were using the Graylog OVA, you could save the database in the /var/opt/graylog/data folder, along with other data used by Graylog. Make sure you grant the right permissions so the user running Graylog can read the file. Continue reading “Add Geolocation to Graylog 2” »

Share

Installation Bashtop an upgraded CLI system reporting interface from Top or Htop

Install Bashtop Resource Monitor on Ubuntu

You can use PPA repository for Ubuntu Linux installations:

sudo add-apt-repository ppa:bashtop-monitor/bashtop
sudo apt update
sudo apt install bashtop

Install Bashtop Resource Monitor on Debian

For Debian and its based distributions, used the commands below: Continue reading “Installation Bashtop an upgraded CLI system reporting interface from Top or Htop” »

Share