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)… Continue reading osticket and self-signed-certificates on email server

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… Continue reading rsync including hidden files and differences with scp

how to install erpnext on ubuntu

ERPNext Logo

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,… Continue reading how to install erpnext on ubuntu

remote desktop (rdp) service on windows 10 home

Remote Desktop Connection

One of the main differences between Windows 10 Pro and Windows 10 Home is the lack of the remote desktop service for the latter. But thanks to this wonderful project rdp service is not a barrier any more. We have tested this solution in two different Windows 10 Home machines and it works great. Download… Continue reading remote desktop (rdp) service on windows 10 home

adding exceptions to iwatch

In a previous article, we’ve seen how to install iwatch (http://blog.grs.gr/?p=455&lang=en). If you watch a directory with continuous changes, you may find useful to exclude specific types of files and/or directories. Let’s say that you want to monitor a web server that hosts example.com, site’s file structure at /var/www/example.com and media files mostly at /var/www/example.com/uploads.… Continue reading adding exceptions to iwatch

configuring ossec

useful links, though bit outdated OSSEC For Website Security: Part I https://hackertarget.com/defending-wordpress-ossec/ How to add an access log to ossec monitor # /var/ossec/bin/util.sh addfile /var/log/httpd/somesite.access_log how to start-stop ossec service ossec start service ossec stop service ossec restart service ossec status You might find useful changing this file: nano /var/ossec/etc/ossec.conf <!– Frequency that syscheck is… Continue reading configuring ossec