by skufel | Sep 7, 2015 | HA/DR, Infrastructure, Linux, Network, SysAdmin, Web Servers
Many times there is a need to publish multiple websites from internal network, but there is only one public IP address available. How this can be done easy way? HAProxy can help us with it. In example configuration I have 2 URLs registered to same public IP address:...
by skufel | Mar 14, 2015 | Infrastructure, Linux, SysAdmin
If you want to install some packages on Debian and don’t know names of packages you can search in packages cache. For example if you want to see all packages related to MySQL: root@hostname:~# apt-cache search mysql akonadi-backend-mysql - MySQL storage backend...
by skufel | Sep 24, 2012 | Databases
After installation PostgreSQL is listening on localhost only. To change that adjustment has to be done in postgresql.conf. Default location of configuration file /var/lib/pgsql9/data/postgresql.conf. Following line has to be added: listen_addresses = '*' After that...
by skufel | Sep 24, 2012 | Databases
After I instaled PostgreSQL on Amazon Linux AMI, first thing after database server was up and running I start thinking how to create user with administrative privileges, so I can access it using some management applications. So, here is how to create superuser and set...
by skufel | May 9, 2012 | Infrastructure, Linux, Network, SysAdmin
Just quick config snippet for Debian 6.0 which I came across when setting up few Debian Linux 6.0 virtual machines for recent network LAB. By default network adapter is set to get IP address from DHCP. /etc/network/interfaces – dynamic IP address configuration #...