Archive for the ‘Linux’ Category
History of my bash commands
?arstan@blacky:~$ history | awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
40 ssh
38 ping
35 su
23 sudo
22 ls
18 vlc
12 cd
10 ifconfig
10 cat
9 axel
This is my daily work laptop. Running xubuntu 8.0.4.1
What’s yours?
How to install VMware Server on Ubuntu 8.04
Another note to myself.
- wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.6-91891.tar.gz
- apt-get install build-essential linux-kernel-devel linux-headers-generic xinetd
- tar -xzvf VMware-server-1.0.6-91891.tar.gz
- cd vmware-server-distrib && ./vmware-install.pl
- ln -sf /usr/lib/gcc/i486-linux-gnu/4.2.3/libgcc_s.so /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1 && ln -sf /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0
That’s it.
Received a book from Packt Publishing
Sometime ago Rebecca from Packt Publishing sent me an email asking if I would review their recently launched book on Scalix titled ‘Scalix: Linux Administrator’s Guide’.
Yesterday I found the postal package on my table, it was from them.
I did go through the book roughly, I find it quite useful as a reference in your bookshelf. I will read through the book carefully and try to implement examples and how-tos in this book and write a full featured detailed review.
Until then stay tuned!
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!
