Customizations to Proxmox VE 6.0 Persistent

This document worked for VE 7.X edition too.

Preparation

First, we’ll create a directory where we’ll store our customizations (you can call it whatever you want, as long as you are consistent across the commands):

$ sudo mkdir /usr/share/custom

Next, create the script which will apply the customizations and make it executable:

$ sudo echo '#!/usr/bin/env bash' > /usr/share/custom/apply.sh
$ sudo chmod a+x /usr/share/custom/apply.sh

Create the Hook

Finally, create a file telling apt to execute the script after being invoked:

$ sudo echo 'DPkg::Post-Invoke { "/usr/share/custom/apply.sh"; };' > /etc/apt/apt.conf.d/90custom

Now /usr/share/custom/apply.sh will be executed when apt installs or upgrades a package, reapplying the customizations. Be careful of what you put in there, though!

Read more

Share

Importing Legacy Windows XP or Windows 2003 from Virtualbox to Proxmox

Problem Statement:

  • I have an old Windows 2003 32 bit server running in Virtualbox.
  • Since Virtualbox is under decommissioned, it is intended to be migrated to Proxmox VE

Before Migration or export of VM from Virtualbox, following .reg file is required to be installed on Windows 2003 server to avoid IDE incompatibility and avoid BSOD or Blue Scree of Death

Download file: https://pve.proxmox.com/mediawiki/images/f/f5/Mergeide.zip

Once the registry file is imported, you can shut down the virtual machine and start exporting.

You can follow my earlier post of https://tweenpath.net/convert-virtualbox-vm-proxmox-ve/ and continue.

This worked on Windows 2003 the same will work for Windows XP VM.

Share

Mount Oracle Object Storage to Ubuntu Linux

Step 1. Install s3fs on an OCI compute instance running Ubuntu

SSH remotely into your Ubuntu server and run sudo apt update to update your system repository. Then type the command 

sudo apt install s3fs awscli -y 

to install S3fs on your system. To verify proper installation, run which s3fs and you should be able to see the path of the program.

Note: refer to our other tutorials  on how to create and connect to cloud compute instance through Bastion host.

Read more

Share

Oracle Linux 8: How To Access the GRUB

Reboot or start the instance.

After the console screen is blank, there is only one or two seconds to press <escape key>. Press it several times as quickly as possible.

If escape was pressed successfully, the Boot menu will be displayed, if not try again.

Note that it is possible that instead of the Boot menu, a BIOS is displayed:

In that case, navigate to “Continue”, press Enter followed by Escape.

Share

MikroTik Router SNMP Configuration

First, you need to access the console of your MikroTik router. On the prompt screen, enter the administrative login information. Factory default access information:

  • Username: admin
  • Password: (No password)

After a successful login, the console command-line will be displayed. Use the following command to enable the SNMP service on the MikroTik router.
Copy to Clipboard

[admin@MikroTik] > snmp set enabled=yes

Use the following command to list the snmp communities available on the MikroTik router.

[admin@MikroTik] > snmp community print
Flags: * - default
# NAME ADDRESSES SECURITY READ-ACCESS
0 * public ::/0 none yes

As you can see, Mikrotik has a default SNMP community named PUBLIC.

The PUBLIC SNMP comminity has the ID number 0.

Use the following command to rename the PUBLIC snmp community.

Read more

Share

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.

Read more

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