ubuntu


13
Jun 10

Backup / Increase the Guest OS Drive on VirtualBox

Tried to search online for a way to increase the size of a vdi image, and there was no solution available online to do so.
I had windows XP installed on a virtual machine for mail, and testing purposes on the most hated IE6, and the drive ran out of a space, no solution or work around helped me increase it, all the solutions to modify the partition table, etc didn’t work for me.
Here is the simple steps i followed :

  • Add Another Disk Drive to the Guest OS
  • Backup the Guest Operating system drive using Norton Ghost to the newly added drive.
  • Copy the backup to a DVD image (I had to move it to the host drive first)
  • Make a new Virtual Machine with the new size you want.
  • Boot the new machine using Norton Ghost drive, and attach the DVD image with the created backup.
  • Restore the backup from the DVD created using Norton Ghost.
  • Restart the machine and you should have a working.
  • Delete the created DVD image, the extra hard disk, and the old machine.

If you have a shorter solution, please share :)

  • Share/Bookmark

6
Jun 10

Installing Zend Server on Ubuntu 10.04

I have been having issues trying to install Zend Server on Ubuntu 10.04 following the steps here http://files.zend.com/help/Zend-Server-5-Community-Edition/zend-server.htm#deb_installation.htm
the problem was because there is a missing dependency for the “libmysqlclient15off” MySQL client library

to solve this, I had to install “libmysqlclient15off” from here (select the one that matches your architecture)

http://archive.ubuntu.com/ubuntu/pool/universe/m/mysql-dfsg-5.0/

Then install it using the command line :

dpkg -i libmysqlclient15off_5.1.30really5.0.83-0ubuntu3_i386.deb

after that running the installation for Zend server from through repositories, will work with no interruptions.

  • Share/Bookmark

6
Jun 10

Compress and Split large files under Linux

One of the common problems i used to face is transferring large files from Linux through mediums that doesn’t support large files, especially when it comes to more than 100 GB files, usually that is a virtual machine hard disk, or backup file.

To compress and split files under linux, this command can be used:

tar -cvj large-file.dvi | split -b 1000m -d - "small-files.tar.bz."

This command will compress and split the “large-file.dvi” to many files with size 1000mb for each, giving it the name “small-files.tar.bz.0, small-files.tar.bz.1, etc….”

To join the files together again, this command can be used:

cat small-files.tar.bz.* > large-file.tar.bz

and to extract the output file :

tar -xvj large-file.tar.bz
  • Share/Bookmark

1
May 10

Good Solaris How To list

Was looking for a way to grep for something in a subdirectory and stopped by this short but usefull Solaris How To list.

The grep item works with unix / linux boxes as well.

http://jeffnester.com/howtos/solaris/solaris.html

enjoy the power of shell :)

  • Share/Bookmark

1
May 10

Installing Java plugin for Firefox on Ubuntu 10.4 (Lucid)

After upgrading from Ubuntu 9.10 to 10.4, I had some issues getting Java to work with Firefox, after checking the software center, I found that the Java plugin has been removed.

To get this fixed, I simply followed the steps in here http://ubuntuforums.org/showpost.php?p=9008918&postcount=32 and it worked well after that.

  • Share/Bookmark

11
Nov 09

Fix for Zend Studio 7 Button Problems in Ubuntu 9.10 “Karmic Koala”

After updating to Ubuntu 9.10 “Karmic Koala”, i had some problems with Zend Studio GUI, some buttons when clicked appear to be pressed, but no action follows.

After searching for a while i found this fix in Zend support pages, and it solved the issue

here is the link for the fix :
http://kb.zend.com/index.php?View=entry&EntryID=435

  • Share/Bookmark

21
May 09

Desktop Linux For The Windows Power User

Very nice article about Ubuntu 9.04 “Jaunty”, posted by Adam Overa yesterday on tomshardware.com

Click here to read : http://www.tomshardware.com/reviews/ubuntu-linux-guide,2293.html

Highlights :

  • Introduction
  • Understanding Partitions
  • Partitioning
  • Installation
  • Booting Ubuntu for the first time
  • Ubuntu Desktop
  • Updating Ubuntu system & drivers
  • How to install software on Ubuntu
  • Codecs for multimedia playback on Ubuntu
  • Getting help online

Enjoy reading & feel the freedom, Long live Ubuntu :)

  • Share/Bookmark

29
Apr 09

Ubuntu / Open Source Presentation in Cairo Univeristy

IEEE has organized an open source week in Cairo University, for Engineering Students, i have been happy to be recommended to present the first day.
http://www.ieee-cusb.org/home/index.php?option=com_content&view=article&id=78:open-source-week

I started with a presentation about Open Source, definitions and different lisences, and what is the whole story about, then a presnentation about Ubuntu and a live Demonstration, then installation session where more than 150 Ubuntu CD was distributed.

The audience was about 200 student, and some graduates also, was a great day, it is such a pleasure to help people kiss the blue screen of death Goodbye :D

  • Share/Bookmark

24
Feb 09

How to enable Remote Desktop on Ubuntu from Terminal

The remote desktop function in ubuntu is a nice handy one, to enable it from terminal
first ssh to the server you wanna remote desktop, then install tightvncserver

sudo apt-get install tightvncserver

then run it

tightvncserver

it will ask you to set a password for using this option and it will return the x desktop id.
Now go to Applications -> Internet ->Remote Desktop Viewer, and enter the address of the machine followed by the x desktop id like this :

servername:1

where 1 is the x server id.

  • Share/Bookmark

4
Feb 09

Converting bin image to iso on Ubuntu

Well, first you have to install bchunk

sudo apt-get install bchunk

then use the command as following to convert the image

bchunk image.bin image.cue image.iso

and the bin image will be converted to iso one in the same folder.

  • Share/Bookmark