Entries Tagged as 'Tips and Tricks'
Typically Squid caching proxy server listen and outgoing IP address are the same. Sometimes, for various reasons we want to alter the outgoing IP address. The new address must first be brought up as an interface on the squid server. In squid.conf look for tcp_outgoing_address line, uncomment it and replace the default IP value with [...]
[Read more →]
Tags:
If you are using a shared server, or just have a limited account on your Buy Cipro Online company servers, you might not have access to your php configuration file php.ini (this is usually found under /etc/php.ini in rhel/centos and /etc/php5/apache2/php.ini in debian/ubuntu). Still, in many situations it might be needed to enable php errors [...]
[Read more →]
Tags: php
This quick post will show how we can easily allow only certain http referrers see some location using nginx. This might be useful for example if you are using nginx as a static content provider and want to not allow everyone hot-linking your images and only your own sites. Doing something like this in nginx [...]
[Read more →]
Tags: nginx·tips
Many people use subversion over ssh for a simple and secure way to work on remotely hosted svn repositories. This is normally as simple as running: svn co svn+ssh://user@server/repo . If the remote ssh server is not running on the default ssh port (tcp 22) then this needs a little tweaking to get it working. [...]
[Read more →]
Tags: ssh·subversion·svn
This guide will help you setup Nagios user to have limited access to host and service checks. It is helpful when you want to allow your customers or clients to view and receive alerts on their servers and services, like for dedicated servers. Procedure: Contacts: Create new contact definitions for your client. define contact{ contact_name [...]
[Read more →]
Tags: Add new tag·monitoring·Nagios·nagios users