• rsync including hidden files and differences with scp

    rsync including hidden files and differences with scp

    rsync -av –progress src/ user@server:dest/ scp should also do the job but rsync is better scp -rp src user@server: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 […]

  • laravel 5 and language set locale


  • how to add a second erpnext instance on ubuntu

    how to add a second erpnext instance on ubuntu

    Assuming you have followed my previous guide on installing erpnext on a fresh ubuntu instance (http://blog.grs.gr/?p=518&lang=en), we will show you how to install a second site on the same server (DNS based multitenancy).

  • how to install erpnext on ubuntu

    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, […]

  • install and configure policyd on zimbra

    Ahmad Imanudin has a nice series of tutorials on installing and configuring policyd on Zimbra. Install and enable web ui. How To Install PolicyD on Zimbra 8.5 2. Password protect web ui with .htaccess Zimbra Tips: How To Protect Policyd WebUI 3. Configure policyd using web ui Zimbra Tips : How To Configure Rate Limit […]

  • remote desktop (rdp) service on windows 10 home

    remote desktop (rdp) service on windows 10 home

    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 […]

  • ban ips with fail2ban


  • adding exceptions to iwatch

    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. […]

  • 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 […]

  • installing ossec on debian

    copied from http://ossec.github.io/downloads.html#deb-installation DEB Installation To install with apt-get do the following: Step 1. Install the apt-get repository key: # apt-key adv –fetch-keys http://ossec.wazuh.com/repos/apt/conf/ossec-key.gpg.key Step 2. Add the repository for Debian (available distributions are Sid, Jessie and Wheezy): # echo ‘deb http://ossec.wazuh.com/repos/apt/debian wheezy main’ >> /etc/apt/sources.list Or add the repository for Ubuntu (available distributions are […]