Blog
Ubuntu 18.04 Remove Trash Icon from Desktop
First find the Trash related settings with gsettings command. boby@ok-pc-01:~$ gsettings list-recursively | grep -i trash org.gnome.gedit.plugins.filebrowser.nautilus confirm-trash true org.gnome.desktop.privacy remove-old-trash-files false…
grub
CentOS 7 Grub 2 grubby OVH CentOS 7 server grub rescue prompt RHEL Based – AlmaLinux, CentOS, RockeyLinux, Oracle Linux Regenerate grub…
Haproxy Site With SSL
To handle SSL/HTTPS traffic on haproxy, use following config in your /etc/haproxy/haproxy.cfg file. frontend https-frontend-new bind :::443 ssl crt domain.pem acl https…
Show X-Forwarded-For IP in Apache
When apache is running behind the proxy server it shows the IP of the proxy server as visitor IP. To fix this,…
How to check if systemctl service is enabled
To check if a systemctl service is enabled, run Example You can enable the service, so it run at boot with command…
Auto Start pm2 on boot
To auto start pm2 on boot, run pm2 startup This will generate auto start script for your system. Once you started all…
sqlite
.database Show location of the database file. sqlite> .database main: /root/config.db sqlite> .tables List tables in a database sqlite> .tables tree sqlite>…
lftp Fatal error: Certificate verification: Not trusted
When i connect to an FTP server, i get following error root@hestia-lnx:~# lftp -u sokftp 54.37.215.1 Password: lftp sokftp@54.37.215.1:~> dir ls: Fatal…
Create New Hosting Account in WHM
To create new hosting account in Cpanel/WHM, login to WHM at http://yourserverip/whm Now to go Home » Account Functions » Create a…
SSH Remember Passphrase
When i connect to remote server using SSH using private key, it ask for passphrase every time. root@admin:~# ssh root@s12.serverok.in Enter passphrase…
Ubuntu Slow Boot
Last day my PC become very slow to boot. boby@ok-pc-01:~$ systemd-analyze Startup finished in 15.777s (kernel) + 3min 1.400s (userspace) = 3min…