All posts by jonas

How to install openvz on CentOS 6.2

1. Add openvz repo 2. Install openvz 3. Modify relevant kernel settings (sysctl.conf) net.ipv4.ip_forward=1kernel.sysrq = 1 net.ipv4.conf.all.rp_filter=1net.ipv4.icmp_echo_ignore_broadcasts=1 net.ipv4.conf.default.forwarding=1net.ipv4.conf.default.proxy_arp = 0net.ipv4.conf.default.send_redirects = 1net.ipv4.conf.all.send_redirects = 0net.ipv4.conf.eth0.proxy_arp=1 4. Reboot the server 5. Disable se linux SELINUX=disabled 6. Install strace (I do not remember why I initially wanted this installed, but still it has nothing to spoil)

Redmine – Upgrade to 1.4.4 on a debian squeeze

This document describes how to upgrade Redmine. The procedure was tested for upgrade from version 1.0.1 to 1.4.4, but it might works on other Redmine versions. In this procedure I used a basic install of a debian squeeze (the only service installed was openssh-server). I am assuming the server has network connectivity and its IP … Continue reading Redmine – Upgrade to 1.4.4 on a debian squeeze

How to use auto config Proxy PAC file for specific domain/url

Why would you need such a thing? I would like to use the squid proxy server only for one domain and connect to everything else directly. A PAC file is nothing but proxy auto-configuration file. This is a specialized JavaScript function definition that a browser calls to determine how requests are handled. So how a PAC … Continue reading How to use auto config Proxy PAC file for specific domain/url

Xen 6.0.2 software Raid – installation procedure

This document describes how to install XenServer 6.0.2 on a node without hardware raid. Install Software Install XenServer 6.0.2 on /dev/sda and do NOT configure any local storage (it is easier to do that afterwards). /dev/sda should containt three partitions, please verify with the following command: The first partition is used for XenServer installation, the … Continue reading Xen 6.0.2 software Raid – installation procedure

OpenVPN with pam-mysql username/password authentication

This document describes how to install openvpn with pam-mysql username/password authentication. This procedure was carried out on Debian/Ubuntu Linux, but with minor changes can be used on other Linux distributions too. 1. Install openvpn, mysql and pam-mysql Note: please keep mysql-server password in mind because we are going to use it later (I will refer … Continue reading OpenVPN with pam-mysql username/password authentication