Start Docker container after linux boot Rumi, February 7, 2024 Docker provides restart policies to control whether your containers start automatically when they exit, or when Docker restarts. Restart policies start linked containers in the correct order. Docker recommends that you use restart policies, and avoid using process managers to start containers. Restart policies are different from the –live-restore flag of the dockerd command. Using –live-restore lets you… Continue Reading
How To Install and Use Docker Compose on Rocky Linux 8 Rumi, February 7, 2024 Step 1 — Installing Docker The Docker installation package available in the official Rocky Linux 8 repository may not be the latest version. To get the latest and greatest version, install Docker from the official Docker repository. This section shows you how to do just that. But first, let’s update… Continue Reading
How to change shared public IP of Virtualmin for all domain hosts Rumi, February 4, 2024 Steps are pretty straight forward. Step-1: Under > Webmin > Networking > Network Configuration > Network Interfaces You need your VM or server console access. Update the new IP with the old one from the correct interface. You will lose the connection. Reboot the server and re-login to webmin/virtualmin interface…. Continue Reading
PHPSysinfo CentOS 7 Installer Script Rumi, January 23, 2024 Intended to to deploy on a barebone fresh CentOS installation with Apache and PHP- !#/bin/sh ################################################# # Server Configuration for Centos 6.8 Final # # Don’t use port 7071 # Updated by Rumi- hasan@servermart.net # ################################################# ## updating packages sudo yum update -y ## installing dependencies sudo yum install unzip… Continue Reading
Destroy Linux operating system with fork bomb Rumi, January 20, 2024 If you don’t want to completely destroy your Linux system but just neutralize it, you can go with a fork bomb using the following command: :(){ :|: & };: This will create a process which will duplicate it self infinitely until the system crash. If you are in a situation… Continue Reading
Use sudo su to login without any password prompt Rumi, January 15, 2024 Step 1 Edit sudoers file with command visudo: $ visudo You should get something similar to this content: # # This file MUST be edited with the ‘visudo’ command as root. # # Please consider adding local content in /etc/sudoers.d/ instead of # directly modifying this file. # # See… Continue Reading
Proxmox create VXLAN using its native SDN Rumi, January 12, 2024 Prerequisite: You need to have an Installed Proxmox and Configure a Clustered setup. The first step in any installation is to make sure your hosts are updated. By default, Proxmox hosts will reach out to the enterprise repository, so I need to configure the pve-no-subscription repository. To enable that, I… Continue Reading
Disable gpgcheck while running updates Rumi, January 12, 2024 Problem Statement: # su -c ‘yum install *.rpm’ which produced a long list of packages and depchecks, apparently successfully, but then gave: Install 50 Package(s) Total size: 436 M Installed size: 436 M Is this ok [y/N]: y Downloading Packages: Package libobasis3.3-en-US-base-3.3.0-6.x86_64.rpm is not signed [dave at davehost RPMS]$ Resolution:… Continue Reading
reset root password on CentOS 7 Rumi, January 10, 2024 You need to have a console access for running this operation. 1. Inside java or HTML5 console, please reboot your server and wait for the GRUB menu 2. Inside the GRUB menu select your first entry and press “E” key to edit. 3. Find a line with ro and change it to rw Continue Reading
Install MySQL 5.7 on Ubuntu 20.04 Rumi, January 9, 2024 Prerequisites Linux servers running Ubuntu 20.04 root privileges Step 1 – Add MySQL APT repository in Ubuntu Ubuntu already comes with the default MySQL package repositories. In order to add or install the latest repositories, we are going to install package repositories . Download the repository using the below command:… Continue Reading