Kieron Howard+ by | Mar 20, 2013 | Development, Servers
Deploying to live/dev Deployment to the live server consists of creating a bare repo in a location on the server accessible via SSH, then pushing to that. A hook script is setup inside this repo to pull any changes out into the working directory for that particular...Kieron Howard+ by | Mar 19, 2013 | Servers
It’s common practice to only allow web server access via SSH using key authentication. While this makes it impossible to login without the key, a quick look at: tail -n500 -f -s3 /var/log/auth.log Showed an endless stream of dictionary attempts trying to gain...Kieron Howard+ by | Mar 19, 2013 | Servers
Varnish is a reverse proxy designed to speed up your PHP apps. A good introduction can be read on IBM’s site and on the PHP Manual. Installation: curl http://repo.varnish-cache.org/debian/GPG-key.txt | sudo apt-key add – echo “deb...Kieron Howard+ by | Nov 20, 2012 | Servers
Within: etc/profile Add: connip=($SSH_CLIENT) echo “${connip[0]}” if [ ${connip[0]} == 12.34.56.78 ]; then echo “User logged in from internal IP Address:” ${connip[0]} | mailx -s “Login alert” [email protected] else echo...
Recent Comments