Nginx directory list allow Rumi, December 19, 2024 location /somedirectory/ { autoindex on; autoindex_exact_size off; autoindex_format html; autoindex_localtime on; } Continue Reading
Fixing Ubuntu 22 SSH connection problem Rumi, December 18, 2024 Enable this parameter KbdInteractiveAuthentication yes in /etc/ssh/sshd_conf file ubuntu in 22.04 LTS and restart the sshd services it will work Continue Reading
Force User to Change Password at Next Login in Linux Rumi, December 7, 2024 To force a user to change his/her password, first of all the password must have expired and to cause a user’s password to expire, you can use the passwd command, which is used to change a user’s password by specifying the -e or –expire switch along with username as shown. # passwd –expire ravi Next… Continue Reading
Install Proxmox 8 on Debian 12 Rumi, December 7, 2024 Install a standard Debian Bookworm, for details consider the Debian installation guide, and configure a static IP. Note: The Debian installer performs network configuration by IPv6 autoconfiguration and DHCP by default, if available. To force manual network configuration in the UEFI installer, press E and add netcfg/disable_autoconfig=true to the Linux command line. For the… Continue Reading
Running react js on virtualmin server Rumi, November 21, 2024November 22, 2024 Just make sure, you have node, npm andp m2 installed in the server as root administrator. Now, you can run the rest as a virtualmin user in the virtualmin shell account. npm install npm run build npm run dev pm2 start npm — run dev Step-3 will let you know… Continue Reading
Disable NetworkManager in Rocky Linux 8 Rumi, November 8, 2024 To disable NetworkManager on Rocky Linux 8, we need to install the network-scripts package which provides legacy support to the network service, yum install network-scripts Enable the service to start onboot, systemctl enable network Next, we add NM_Controlled=no to the interface config file, nano /etc/sysconfig/network-scripts/ifcfg-<interface> Replace with the interface name… Continue Reading
Auto-renew Let’s Encrypt SSL certificates using crontab Rumi, November 8, 2024 The achieve this, all we need to do is add a new crontab which will trigger the certbot at a certain time in a day to check the expiry date of your SSL certificates and take care of the renewing it. 1. Configure the crontab (Make sure to use sudo so that root crontab can be… Continue Reading
Enable vnc on Kali Linux Rumi, September 8, 2024 No Persistent mode: apt-get update && upgrade apt-get install x11vnc x11vnc -storepasswd x11vnc -ncache 10 -auth guess -nap -forever -loop -repeat -rfbauth /root/.vnc/passwd -rfbport 5900 -noncache Persistent mode: Step:01 Go to the below path cd /usr/local/bin Step:02 and create the file nano sharex11vnc Continue Reading
Enable Serial Terminal on Debain using Grub Configuration (Grub2) Rumi, September 7, 2024 Edit /etc/default/grub, enter: # vi /etc/default/grub Append / modify as follows: GRUB_CMDLINE_LINUX=’console=tty0 console=ttyS0,19200n8′ GRUB_TERMINAL=serial GRUB_SERIAL_COMMAND=”serial –speed=19200 –unit=0 –word=8 –parity=no –stop=1″ Save and close the file. Next run the following command to generate a grub2 config file /boot/grub/grub.cfg : # update-grub Ref: https://www.cyberciti.biz/faq/howto-setup-serial-console-on-debian-linux/ Continue Reading
Add serial console boot for Opensuse 15.5 Rumi, September 6, 2024 While it works with UEFI boot using “legacy BIOS” the serial console works after grub has prompted the boot menu. But this might be too late e.g. in special cases like encrypted disk where grub needs to request the password. KVM Guest has already been changed for serial support as… Continue Reading