jusupov.com

Computer Technology Blog

Archive for the ‘Linux’ Category

History of my bash commands

without comments

?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?

Written by Arstan

July 22nd, 2008 at 6:31 am

Posted in Linux

How to install VMware Server on Ubuntu 8.04

without comments

Another note to myself.

  1. wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.6-91891.tar.gz
  2. apt-get install build-essential linux-kernel-devel linux-headers-generic xinetd
  3. tar -xzvf VMware-server-1.0.6-91891.tar.gz
  4. cd vmware-server-distrib && ./vmware-install.pl
  5. 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.

Written by Arstan

June 6th, 2008 at 8:27 am

Posted in Linux

Tagged with , , , ,

Received a book from Packt Publishing

without comments

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!

Scalix Book

Written by arstan

May 29th, 2008 at 7:04 am

Posted in Linux

How to setup Windows VPN in Ubuntu

without comments

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.

Written by Arstan

February 22nd, 2008 at 12:47 pm

Posted in Linux

How to install libssh2 with PHP on CentOS 5 x86_64

with 3 comments

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!

Written by Arstan

January 19th, 2008 at 9:25 am

Posted in Linux, Open Source