Uncategorized
Ubuntu 20.04.3 uninstall and install AMD drivers
dpkg –list | grep amdgpu ii amdgpu-pin 20.50-1234664 all Meta package to pin a specific amdgpu driver version. ii amdgpu-pro-pin 20.50-1234664 all Meta package to pin a specific amdgpu pro driver version. ii libdrm-amdgpu1:amd64 2.4.102-1ubuntu1~20.04.1 amd64 Userspace interface to amdgpu-specific kernel DRM services — runtime ii rock-dkms 1:4.1-26 all amdgpu driver in DKMS format. ii … Read more
How to Clear Cookies for a Specific Site in Chrome
Select Menu > Settings > Privacy and security > Site Settings > View permissions and data stored across sites Find the site and clear data.
How To Mount Google Drive Locally As Virtual File System In Linux
$ curl https://rclone.org/install.sh | sudo bash $ rclone config
Shows the size of folders and files, sorted from highest to lowest
Sort contents of a directory by size
413 Request Entity Too Large
Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page. Add the following line to http or server or location context to increase the size limit in nginx.conf, enter: # set client body size to 2M # client_max_body_size 2M; The client_max_body_size directive assigns the … Read more
Run Your Own Email Server on CentOS/RHEL – Postfix SMTP Server
Setting up a basic Postfix SMTP server Set up Dovecot IMAP server and TLS encryption Create Virtual Mailboxes with PostfixAdmin Creating SPF and DKIM record to get through spam filters Setting up DMARC to protect your domain reputation How to Stop Your Emails From Being Marked as Spam How to Host Multiple Mail Domains in … Read more
404 when using pretty permalinks on new WordPress site on LEMP/nginx
Add this piece of code to nginx.conf server {[…]if (!-e $request_filename) {rewrite ^.*$ /index.php last;}[…]}
Sample screenrc config file
# Scrolling buff altscreen on caption always “%{= kG}%-Lw%{= kY} %n %t %{= kG}%+Lw%{= kc}” # Putty fix # term xterm termcapinfo xterm ti@:te@ defscrollback 100000 # Fancy vbell on vbell_msg “Wee~” hardstatus on hardstatus string ‘%{= kc}%H (%l) %-21=%{= .m}%D %d.%M.%Y %0c’ # Bind F11 and F12 (NOT F1 and F2) to previous and … Read more
How to disable IPv6 on CentOS / RHEL 7
Disable IPv6 in kernel module (requires reboot) 1. Edit /etc/default/grub and add ipv6.disable=1 in line GRUB_CMDLINE_LINUX, e.g.: # cat /etc/default/grub GRUB_TIMEOUT=5 GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT=”console” GRUB_CMDLINE_LINUX=”ipv6.disable=1 crashkernel=auto rhgb quiet” GRUB_DISABLE_RECOVERY=”true” 2. Regenerate a GRUB configuration file and overwrite existing one: # grub2-mkconfig -o /boot/grub2/grub.cfg 3. Restart system and verify no line “inet6” in “ip addr show” … Read more