Khalil Majdalawi's Blog Web development,Technology,Games and more…

21May/090

Enable Mod rewrite in apache

For Debian use

sudo a2enmod rewrite

For Windows

  1. Find the httpd.conf file (usually you will find it in a folder called conf, config or something along those lines)
  2. Inside the httpd.conf file uncomment the line LoadModule rewrite_module modules/mod_rewrite.so
  3. Also find the line ClearModuleList is uncommented then find and make sure that the line AddModule mod_rewrite.c is not commented out.

restart your apache service and you are cool to go

Tagged as: No Comments
4May/090

Linux usage share for client devices

Net Applications, a Web site analytics company, just published their April 2009 Web users survey, Market Share, and they found that "Linux usage share on client devices has surpassed 1% for the first time and we still have 99% to go and i think it can make it , thanks to some powerful distributions like Ubuntu,Fedora and OpenSUSE.

market_share

28Apr/092

Moving from Ubuntu 8.04 to 9.04

So finally i got free time to upgrade to new Ubuntu Jaunty 9.04 , i was using Ubuntu Hardy 8.04 for long time and it was awesome but now its time to move , and here some new features i liked or noticed at first use for the new release :

  1. New Ext4 file system support
  2. Faster boot time almost 20 sec "wow" check this video
  3. New network manager and its way better and easier comparing to 8.04
  4. Nautilus 2.26.2 and tabs thing very useful
  5. New notification area which rocks 9_04_notify_area
  6. The shutdown/restart/suspend options have been taken off the System main menu
  7. Wallpaper transformation

last thoughts :

comparing to 8.04 its way faster,better and sexier :D , and here is my desktop final look

ubuntu_9_04_screenshot

23Feb/090

IBM Linux Ad: The Future is Open

What a great ad for Linux , it show us how Linux works to make our future better , we all should support and contribute "sharing makes communities"  .

I'm not saying boycott windows or any closed software's i think there existence is important to show us how Linux is important :)

19Feb/095

Lazy SSH login

In my work i use SSH a lot , and some times i find myself so lazy to enter password every time or write the whole command , so here is a time savior technique

  • as we know ssh don't accept password to be written it something called "interactive keyboard password authentication" so we need some help , install sshpass

$ sudo aptitude install sshpass

Using sshpass you could send password to ssh example("sshpass -p YOURPASS ssh USER@HOST")

note: this is not secure at all so don't use it for online servers.

  • Now all what we need is to put it as command-line aliases or shortcut , to do that add these lines to bashrc file

alias Myssh='sshpass -p YOURPASS ssh USER@HOST'

note: to access bashrc file  $ nano ~/.bashrc

and now all what you have to do just write Myssh in terminal and you are in :)

Tagged as: , 5 Comments