Boot CentOS 5/6 as Single User Mode Rumi, August 3, 2014 Step 1 – Boot CentOS into Single User Mode – Hit Any Key Boot CentOS in Single User Mode – Press Any Key to Edit Boot Options Power up the machine and when you see this screen, hit the space bar or any other key before the timeout. Step 2 – Boot CentOS into Single User Mode – Choose Boot Kernel Boot CentOS in Single User Mode – Select Kernel Next up, we will be given the list of kernels that we can boot from. Choose the one that you typically boot to. Typically, it is the latest one. We use our up and down arrows to get to the proper kernel and then hit the “e” key to signify that we wish to edit it. Step 3 – Boot CentOS into Single User Mode – Edit Boot Options Boot CentOS in Single User Mode – Edit Kernel Boot Options Now, we are editing the kernel’s boot options. Choose the line that begins with “kernel” as shown in the image to the right. Then hit the “e” key again. Step 4 – Boot CentOS into Single User Mode – Add Single User Mode Option Boot CentOS in Single User Mode – Add “Single” to the Kernel Boot Options Type the word “single” at the end of the options. Then hit the “Enter” key. It will now boot your CentOS operating system into single user mode and you can resolve whatever issues you have that caused you to need to boot CentOS into single user mode in the first place. Related Administrations Configurations (Linux) CentOS
How to find out the connected interface using linux command October 26, 2020 Method 1 To find out the connected state of a network cable in Linux, just run: $ cat /sys/class/net/enp5s0/carrier Sample output: 1 If you got output as “1” (Number one), It means that the network cable is connected with the network card. Also, you can do this with the following command too:… Read More
Install VPN PPTP Server on CentOS October 4, 2013March 29, 2017 In this tutorial, I will use pptp as protocol to connect to VPN server using a username and password, with 128 bit MPPE encryption. Variable as below: OS: CentOS 6 64bit VPN server: 209.85.227.26 VPN client IP: 209.85.227.27 – 209.85.227.30 VPN username: vpnuser Password: myVPN$99 Install ppp via yum: $… Read More
Varnish daemon not listening on configured port – Hack for Debian or Ubuntu August 9, 2018 If you’re already troubled with varnish on changing listening ports from default. Here’s a little hack that worked on my Debian and Ubuntu distribution. sudo apt remove varnish sudo apt-get purge varnish # I manually remove the 3 files in created in /etc/systemd/system/* sudo apt install varnish sudo nano /lib/systemd/system/varnish.service… Read More