Administrations Setting Up a Proxmox Backup Server Rumi, February 24, 2024February 26, 2024 Continue Reading
Installing Laravel 9 with php 8.1 and Apache2 using Ubuntu 22 Rumi, February 11, 2024 Connect to your ubuntu instance. 1. Install Apache sudo apt update sudo apt install apache2 sudo systemctl status apache2 2. Install PHP 8.1 sudo apt install software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt install php8.1 libapache2-mod-php8.1 sudo systemctl restart apache2 3. Install required PHP extensions for Laravel 9 sudo apt install… Continue Reading
Fixing Ubuntu Repository Rumi, February 11, 2024 Just a little tweaking around with my Ubuntu 22 on cloud init image- cp /etc/apt/sources.list /etc/apt/sources.list.bak sudo sed -i -re ‘s/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g’ /etc/apt/sources.list 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
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