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

Upgrade CentOS

To upgrade all of your system software as well as their dependencies to the latest version, use this command: # yum update

Extend a partition with unallocated space CentOS 7

Assuming your disk is /dev/sda and standard RHEL/CentOS partitioning: Extend partition Enter p to print your initial partition table. Enter d (delete) followed by 2 to delete the existing partition definition (partition 1 is usually /boot and partition 2 is usually the root partition). Enter n (new) followed by p (primary) followed by 2 to … Read more

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