Archives
now browsing by author
Install and Configure DHCP Server on Debian 8/7/6 Linux Systems
In this post, we will show you how to install and configure a dhcp server on Linux systems (Debian Family “Debian 8 “jessie” /7/6 and earlier – Ubuntu Linux”). As a system administrator you will need to setup a dhcp server to assign IPs to all laptops/machines for employees toRead More
Howto reset the forgotten root password (Access single user mode) in CentOS/RHEL 7
How many times did you need to reset the root password for CentOS/RHEL 7? or How many times did you need to login to CentOS/RHEL 7 in a single user mode to perform some fixes for you Linux box?. For me, I had to login many times, and I expectRead More
Howto reset the forgotten root password (Access single user mode) in Debian/Ubuntu
How many times did you need to reset the root password for Debian/Ubuntu Linux? or How many times did you need to login to Debian/Ubuntu in a single user mode to perform some fixes for you Linux box?. For me, I had to login many times, and I expect you’llRead More
Howto reset forgotten MySQL/MariaDB root password
Have you ever forgotten the root password on one of your MySQL/MariaDB servers? No? Well maybe I’m not as perfect as you. In this mini post, I’ll show you an easy way for resetting MySQL/MariaDB root password in case of forgetting it. All the needed from you is having aRead More
Howto reset the forgotten root password (Access single user mode) in CentOS/RHEL 6
How many times did you need to reset the root password for CentOS/RHEL 6? or How many times did you need to login to CentOS/RHEL 6 in a single user mode to perform some fixes for you Linux box?. For me, I had to login many times, and I expectRead More
Install and Configure DHCP Server on CentOS 7/6/5 Linux Systems
In this post, we will show you how to install and configure a dhcp server on Linux systems (RPM Family “Redhat /CentOS /Scientific Linux 7/6/5”). As a system administrator you will need to setup a dhcp server to assign IPs to all laptops/machines for employees to work inside your network.Read More
How to Switch to Another Ruby Version (temporarily, per project, or globally) Using rbenv
In this mini post I’ll show you how to switch to another ruby versions using rbenv. Unlike RVM, rbenv does not offer a command like rvm use but will always respect your project’s .ruby-version file. You have several options: rbenv shell rbenv local rbenv global But choose wisely, for whileRead More
Howto remove / fix “Gem::LoadError: can’t activate rake- v1 , already activated rake- v2″ on Ruby on Rails
In this mini post I’ll show you how to switch to the correct rake version your rails app needed instead of the one already activated. I faced the following errors when I was deploying my app. Here’s the error I faced “SSHKit::Command::Failed: RAILS_ENV=production bundle exec rake assets:precompile exit status ”Read More
Additional Yum Repositories for CentOS/RHEL 7/6/5
YUM ( Yellowdog Updater, Modified ) is an command-line package-management utility for RPM based Linux systems, It has been released under the GNU General Public License. Yum is useful for rpms which have dependencies, Yum searches for all dependencies of any RPM in all available repositories. Below list contains topRead More
Block SSH Brute Force Attacks with IPTables on Linux Systems
Detecting a SSH Brute Force Attack If you are under a SSH brute force attack, you will likely see something like this in your logs. Jan 26 03:46:02 host sshd[22731]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=125.39.22.154 Jan 26 03:46:02 host sshd[22731]: pam_succeed_if(sshd:auth): error retrieving information about userRead More