PFSense SNMP Configuration

Open a browser software, enter the IP address of your Pfsense firewall and access web interface. In our example, the following URL was entered in the Browser:

https://192.168.15.11

The Pfsense web interface should be presented. After a successful login, you will be sent to the Pfsense Dashboard.

Access the Pfsense Services menu and select the SNMP option. Continue reading “PFSense SNMP Configuration” »

Share

Allow Ping on PFSense WAN interface

This article shows you how to allow ##ping## on the WAN side of your pfSense firewall. By default, ping to WAN address is disabled on pfSense for security reason. However, you may want to allow ping for different reasons, here is how:

# Login to pfSense
# Open Firewall > Rules.


# Change Interface to wAN.
# Change Protocol to ICMP. Continue reading “Allow Ping on PFSense WAN interface” »

Share

Observium Installer Script on Ubuntu 20.04 or Debian 11

Automated Installation

Observium has an automated install script for use on Ubuntu and Debian systems. Using the automated installation script is as easy as downloading it, running it and answering a few simple questions, start with:

wget http://www.observium.org/observium_installscript.sh
chmod +x observium_installscript.sh
./observium_installscript.sh

You may need to install wget on bare installations

apt install wget

For manual installation you may read the link below-

https://docs.observium.org/install_debian/#manual-installation

Share

Build PPPoE server using PfSense

Before building a PPoE system, it is estimated to assume that we’re building it on the following principal and prerequisite conditions-

  1. It’ll be a NAT PPPoE router
  2. At least 2 Interface we’ll be needing- 1 for WAN/Internet/Uplink and the other for LAN/PPoE user.
  3. A reserved LAN IP for PPPoE server itself (other than the LAN IP)
  4. Disable DHCP service if it’s running
  5. Prefereably disable DNS Resolver and enable DNS forwarder
  6. As of this pfsense/Netgate tutorial is being written the version is 2.6
  7. A

For easy understanding here goes my mockup instace WAN and LAN IP-

  1. WAN IP- 114.130.95.196/27, 114.130.95.193
  2. LAN IP- 192.168.1.1/24
  3. PPoE Reserved IP- 172.16.16.1
  4. DNS- 8.8.8.8
  5. LAN port is connected to the LAN switch or alternativey you can connect it to your PC
  6. Assuming you have an operting pfsense using static IP endpoint and you can use internet using static gateway configuration.

So here goes the steps-

Step 1: Create and Configure PPPoE Server:

  1. Go to services > PPoE Server section and click on ADD
  2. On the PPPoE Server Configuration page do the followings-

Continue reading “Build PPPoE server using PfSense” »

Share

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