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…
Destroy Linux operating system with fork bomb
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…
Use sudo su to login without any password prompt
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…
Proxmox create VXLAN using its native SDN
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…
Disable gpgcheck while running updates
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:…
reset root password on CentOS 7
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
Install MySQL 5.7 on Ubuntu 20.04
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:…
Resctrict RDP Session
Problem statement: RDP to Windows 10 hangs at the ‘Please wait’ screen forever until rebooted. Remedy: Need to apply the Group Policy (gpedit.msc) setting: Computer Configuration >> Administrative Templates >> Windows Components >> Remote Desktop Services >> Remote Desktop Session Host >> Connections At that level Enable the following setting…
ZFS Manager Webmin Module
I found this wonderful webmin module of ZFS Manager. Kinda love its feature and functions as it literally shortened the tedious siwtches and values of zfsmanager! I’m just quoting from the developer’s readme section down here- ZFS administration tool for Webmin This is in early development, not for production. That…
Install PHPIPAM using Docker on CentOS 7
Update Docker Package Database. In a terminal window, type: sudo yum check-update Remove if any docker is preinstalled with your OS- sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-selinux docker-engine-selinux docker-engine Install the Dependencies sudo yum install -y yum-utils device-mapper-persistent-data lvm2 The –y switch indicates to the yum…