How to setup Windows VPN in Ubuntu

sudo apt-get install network-manager-pptp
sudo killall nm-applet
sudo /etc/init.d/dbus restart
nm-applet –sm-disable &

Then configure your Microsoft VPN Connections in Network Manager. It’s the one on top right corner.

How to install libssh2 with PHP on CentOS 5 x86_64

This post is just for archiving it, if you find it useful I’m glad!

If you are dealing with CentOS 5 x86_64 (Free version of RHEL5), try to install libssh2 for your PHP development you might fail in doing so.

So here’s a quick tip how to install libssh2 on X86_64 systems(I think i386 works just fine)

Edit: /usr/share/pear/pearcmd.php

Set: @ini_set(’memory_limit’, ‘16M’);

And try again!

How to reset MySQL root password in Ubuntu Linux

In case you have forgotten your root password on your Ubuntu Linux, here’s a small tip on how to reset it.

$ sudo mysqld –skip-grant-tables &

$ mysql -u root mysql

$ mysql> UPDATE user SET Password=PASSWORD(’MyNewPasswordHere’) WHERE User=’root’;

$ mysql> FLUSH PRIVILEGES;

$ mysql> \q

$ sudo /etc/init.d/mysql restart

Now you can login using your new root password.

Arch Linux new logo released!

I switched to Arch Linux on my main laptop 3 months ago. I found Ubuntu installing too much of unnecessary common services(for others may be) and applications. On a Dell Latitude D820 with 2Gs of RAM installed I would expect much better performance.

Anyways, there was a logo competition going on at Arch Linux community and they announced the winner. The winner is Thayer Williams. Here’s the logo scetch from him:

Arch Linux Logo

You can check other designs at http://dev.archlinux.org/~travis/logo-contest/

Year 2007 for Linux and Open Source

Let’s sum up and see what were the biggest Linux moves in the year 2007.

Did I miss anything?

Next Page →

Categories