install certbot on ubuntu 16.04

On Ubuntu systems, the Certbot team maintains a PPA. Once you add it to your list of repositories all you’ll need to do is apt-get the following packages. $ sudo apt-get update $ sudo apt-get install software-properties-common $ sudo add-apt-repository ppa:certbot/certbot $ sudo apt-get update $ sudo apt-get install python-certbot-apache Reference: https://help.ubuntu.com/community/Repositories/Ubuntu#Adding_PPAs

protect zimbra from memcached attack

Zimbra uses memcached and if not properly configured could lead to a vulnerable system. If you want to read more on memcached attack read this: https://blog.cloudflare.com/memcrashed-major-amplification-attacks-from-port-11211/ How to resolve this vulnerability in 3 steps: Enable firewall on your server Setup zimbra specific rules Bind memcached to localhost Deny memcached port from localhost Let’s start.

remove banned ip from microsoft ban lists

This works for hotmail.com, live.com, outlook.com and possibly other microsoft related email addresses. Use this form to request removal: http://go.microsoft.com/fwlink/?linkid=614866 Make sure you ‘re registered: https://postmaster.live.com/snds/data.aspx This was an old one and does not seem to work anymore: https://support.live.com/eform.aspx?productKey=edfsmsbl3&ct=eformts&scrx=1 Source: https://answers.microsoft.com/en-us/outlook_com/forum/oemail-osend/hotmailoutlook-blacklist-removal-form/86c71c17-80c9-48e9-b822-1d3678f19673

osticket and self-signed-certificates on email server

This has to do with PHP >= 5.6, where php changed its behavior with self signed certificates.  This has caused osticket users to keep old PHP versions in order to operate with self signed mail servers. But actually the fix is relatively simple: Go to {osTicket directory}/include/pear/Net/SMTP.php line 173 and change this line: ‘ssl’ => array(‘verify_peer_name’ => false) […]

rsync including hidden files and differences with scp

rsync -av –progress src/ [email protected]:dest/ scp should also do the job but rsync is better scp -rp src [email protected]:dest/ Nice explanation about the differences can be found here: http://stackoverflow.com/questions/20244585/how-does-scp-differ-from-rsync — scp basically reads the source file and writes it to the destination. It performs a plain linear copy, locally, or over a network. rsync also […]

how to install erpnext on ubuntu

This guide is based on https://github.com/frappe/bench, and is tested a couple of times against ubuntu 14.04/64. Login as root with ssh. Optionally: apt-get update apt-get upgrade dpkg-reconfigure tzdata apt-get install nano Add a user (erpnext for our example). adduser erpnext Store password in a safe place for later use. visudo (to grant erpnext user sudo privileges, […]