Monthly Archives: March 2012

An multiple application pyramid project configuration

In the deployment of pyramid project, I don’t want to setup a separate process for each pyramid application. So it comes the requirement to deploy multiple application under one project. Here’s an example configuration for a multiple app project. The … Continue reading

Posted in python | Tagged , | Leave a comment

Install an OpenVPN server and connect to it on windows

Follow the tutorial on linode to install openvpn: http://library.linode.com/networking/openvpn/debian-6-squeeze Attention: Both openvpn and dnsmasq shall be installed on the server. And on the file /etc/openvpn/server.conf, the following line must be exist and not commented : push “redirect-gateway def1″ By default … Continue reading

Posted in linux, security, troubleshooting | Leave a comment

How to install a network HP printer on Arch linux

The printer package does not work as it should be on my arch for HP laser jet P2035n. It costs me some hour to get it to work. Here’s the steps. 1). Install cups service pacman -S cups cups-pdf hplip … Continue reading

Posted in linux, troubleshooting | Tagged | Leave a comment

Could not chdir to home directory /home/USER: Permission denied

We changed the home folder to /data/home/USER. When I ssh to our centos server. It shows error “Could not chdir to home directory /home/USER: Permission denied”, however loggin ok. I must manually run cd ~ to go to the home … Continue reading

Posted in linux, troubleshooting | 3 Comments