sudo apt-get install libnfnetlink-dev
Category Archives: Uncategorized
Update Ubuntu 10 to 12
1. Update the sources.list in /etc/apt/ with following source lists
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security multiverse
Notes for web server migration
1. Enable Apache Action by a2enmod actions
2. Enable Apache suexec by a2enmod suexec
3. Enable Apache Rewrte by a2enmod rewrite
Compile squid3.3 with ssl support
Invalid command ‘Action’, perhaps misspelled or defined by a module not included in the server configuration
a2enmod actions
ssh tunneling
ssh -f user@personal-server.com -L 2000:personal-server.com:25 -N
The -f tells ssh to go into the background just before it executes the command. This is followed by the username and server you are logging into. The -L 2000:personal-server.com:25 is in the form of -L local-port:host:remote-port. Finally the -N instructs OpenSSH to not execute a command on the remote system
This essentially forwards the local port 2000 to port 25 on personal-server.com over, with nice benefit of being encrypted. I then simply point my E-mail client to use localhost:2000 as the SMTP server and we’re off to the races.
Re-installation of ROR
1. curl -L https://get.rvm.io | bash -s stable –ruby
2. sudo apt-get install zlib1g-dev
3. rvm reinstall 1.9.2-p180
$ rvm reinstall 1.9.3
apt-get install libsqlite3-dev
sudo apt-get install libssl-dev
Than go to the source of ruby and go to the following path
cd ext/openssl
sudo apt-get install libssl-dev
Than go to the source of ruby and go to the following path
cd ext/openssl
Run the command one after the others.
ruby extconf.rb
make
sudo make install
Sent Deferred Bounced
Deffered: grep status=deferred /var/log/mail.log | awk {‘print $7’} | sort -u | wc -l
15
Bounced: grep status=bounced /var/log/mail.log | grep -v info | awk {‘print $7’} | wc -l
39
Sent: grep status=sent /var/log/mail.log | awk {‘print $7’} | grep -v root | grep -v alfred | wc -l
31
Chatting with Venus
Hi Venus