SSH tunneling in mac

Today I wanted to connect to office internal server to particular port. But the server and port are not available on public. So I had to connect to gateway server by ssh and tunnel through it to connect to internal server.

SSH tunneling in mac

In windows it was easy to do using putty. Since there was no putty on mac I was lost a bit. Then this article helped me ;-)

http://www.engr.wisc.edu/computing/best/rdesktop-mac.html

The above article explains it all so no point writing the info here :-P

Install or update PHP 5 on Centos

I tried compiling PHP 5.2 on CentOS but after so many tries I gave up. I was getting struck at compiling PHP with gd. And without gd it was useless. So I decided to yum and install the same.

By default if you use yum install php it will be install only php 4 series and not 5. In order to install version 5 I had to enable repo centosplus.

yum install php –enablerepo=centosplus

or

yum update php –enablerepo=centosplus

I came across another interesting repo for yum by kbsingh and after installing I was install a lot more. If you are interested please check out this website

http://centos.karan.org/

Have fun !! ;-)

Dell Inspiron 630m - Fedora Core 6 Installation

Wow..!!! I am stunned after spending a whole day on Fedora core 6 installation on my Dell Inspiron 630m. I download the torrent DVD image and burnt it and started the fun. I have decided this time no Windows and and only Linux. Installation was smooth like silk and it rebooted the system. The system booted up and to my surprise booth display and sound was detected properly which saved a lot of time for me. Thanks to fedora team for doing great job.

Next step I installed some missing software to play video and music files. Please follow this site which gives you in depth to setup all the above in few commands.

Fedora fun..!!!

Fedora core 6 Review

Should I say YUM is kick ass tool in fedora. If you want anything just yum it and it does the job for you. I was not able to configure my wifi. But my card is detected properly. In few days I will figure it out ;-).

Just enable Desktop Effects then comes the real fun. I cannot explain the same please install and experience for yourself.

Fedora core 6 screenshot

Just Explore these key once you finish everything. Should I say Kick ass…!!! :-D
ctrl + alt + down = unfold
ctrl + alt + right/left = next/back cube face
ctrl + alt + + shift+ right/left = next/back cube face, with current window
ctrl + alt + Button1 (usually left click) = rotate cube
ctrl + alt + d = show desktop
alt + tab = switch window
pause = Scale / Previously exposé
super + mouse scroll = zoom
alt + scroll = transparency

Busy Linux Week.

It has been another busy week for me. Busy with eid celebration and I was exploring some stuff with wordpress, linux and seo. I got really annoyed with using windows on my laptop so I wanted to install some linux for a change. I started with Ubuntu by downloading the latest version from their website. My luck was really bad it keep saying unable to read media. So i tried different dvd burner software and nothing gave me a good bootable cd. From that I found the iso they gave is a bad one.

The next step was to download openSUSE. This time I wanted to perform direct web install using yast. I was sucessfull in loading the iso and making it run. Wow it ran for 3 hrs saying reading packages information and made my system non responsive. So I dropped the idea of continuing with SUSE.

The next was my fav distro Fedora. I used the torrent to download the dvd iso and successfully installed the same on my Dell inspiron 630m laptop. Everything looked fine except for my sound and wifi. I solved the sound issue by updating to the latest kernel. I tried installing intel drivers to make my wifi work and no use nothing worked out.

Today I found Fedora core 6 is out. No chance to wait. Downloading the torrent ;-). Some cool features being Kernel 2.18, Gnome.16 and much more. Shall update my fun on FC6 soon. :-D

Monitor Google activity from access logs

After so much strugle I found a nice tool which helps to parse my apache access log files and supply me so much useful information about google activity in my website.

Visitos log analyser

Visitors can get the following details from your daily apache access logs

  • Unique visitors in each day
  • Unique visitors in each month
  • Unique visitors from Google in each day
  • Unique visitors from Google in each month
  • Pageviews per visit
  • Weekday-Hour combined map
  • Month-Day combined map
  • Requested pages
  • Requested images and CSS
  • Referers
  • Referers by first time
  • Robots and web spiders
  • User agents
  • Operating Systems
  • Browsers
  • 404 Errors
  • Domains
  • Googled pages
  • Adsensed pages
  • Google Keyphrases
  • Google Keyphrases by first time
  • Google Human Language
  • Weekday distribution
  • Hours distribution

It is very simple to compile and execute…. I wrote a simple php shell script to make report daily so that i can archive it.

Install Fedora Core 5 Linux Without Burning CD

I tried to install fedora core 5 without burning the iso into cds. Normally I install them and then the cds are of no use. I use compelete install and I upgrade or install new packages directly from the interent. This way I have fedora core 2, 3 ,4 cds sitting idle with me. Oh my god all these distro increases the no of cds every time. This time fedora core 5 has 5 cds all together.

The next thing you need to do is to install Grub on your system. You download wingrub from here. Download the same and extract all files to your c:\. See that there is a file named grldr and directory named boot in your c:\.

Did I forget to tell you, you must have windows if you want to have dual boot system where you can play with windows and linux the same pc. Download the fedora core 5 cds from here. Once you download the iso you need to have winrar. You extract two files initrd.img and vmlinuz to your c:\boot. Or you can download these files directly.

initrd.img vmlinuz

Then you need to open c:\boot\grub\menu.lst and add these following lines.

title Fedora Core 5 Install
kernel (hd0,0)/boot/vmlinuz
initrd (hd0,0)/boot/initrd.img

Then you need all grub loaded to your c:\boot.ini file for windows xp. It is very simple. Normally windows will not allow you to modify this file directly so go to control panel. In that go to system => advanced tab => startup and recovery => settings => system startup => edit.

Add these lines in the end.

C:\grldr=”Start GRUB”

Thats it. Now you have to restart your pc. While booting, it will give you options to boot. Select grub. Again grub will give you a lot of options, select Fedora core 5 Install.

The setup starts and you can install the fedora from local hdd directly. Select that option and direct to the location where all the cd iso are downloaded. Then you can sit back and install the core…. NO CDS but Fedora installed. ;-) :-D

« Previous Page  Next Page »