PHP Architect blog PHP, MySQL, ZF, Python, Linux, Mac, C++, Java, Flex, Air, ActionScript & apps development.

11Nov/090

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
21May/092

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
Tagged as: , 2 Comments
29Apr/090

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
24Feb/090

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
4Feb/090

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
24Dec/080

How to disable sudo password prompt in Linux

well, sometimes i want to execute commands as super user without being asked for password each time to do that

to do that its pretty easy

open the terminal and type this command :

sudo visudo

and uncomment the following line :

# %sudo ALL=NOPASSWD: ALL

save the file by pressing escape then typing :wq and pressing enter.

from now on you will not be asked when executing the command as super user using sudo.

  • Share/Bookmark
4Nov/089

Ubuntu 8.10 Intrepid – Fix Static IP & Network Manager Problem

Hey all,

today i have installed the new release of Ubuntu, 8.10 Intrepid

but i had a problem setting my IP to a static one, when i do this through the network manager, and when i edited the network files manually nothing worked, so here is the steps i followed to solve the problem :

first i removed the network manager

sudo update-rc.d -f NetworkManager remove

then i added my network configuration by editing the file /etc/network/interfaces

sudo gedit /etc/network/interfaces

so it looks like

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.xxx
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.xxx

then i edited the file /etc/resolv.conf to add my DNS

sudo nano -w /etc/resolv.conf

to look like

# Generated by NetworkManager
nameserver 192.168.1.xxx

then i restart the networking by :

sudo /etc/init.d/networking restart

if u still have problems, i suggest you restart the machine and check, the above steps is how i got my network up .

enjoy the new Ubuntu ;)

  • Share/Bookmark
7Oct/086

Install Subversion with Web Access on Ubuntu 8.04 (Hardy Heron)

well, it is very useful to have a subversion server so u can have different versions of your applications; for back up and to be able to restore old versions, and be able to share the project with the team, when there is more than one developer working on it.

1- install apache

sudo apt-get install apache2

2- install subversion

sudo apt-get install subversion libapache2-svn

3- We're going to create the subversion repository in /svn

sudo svnadmin create /svn

4- Now we'll need to edit the configuration file for the subversion webdav module

sudo gedit /etc/apache2/mods-enabled/dav_svn.conf

we will comment the following line, so we can access the repository using the address http://www.servername.com/svn

<Location /svn>
</Location>

and the following line to enable the dav module

DAV svn

and the following line to set the path to our repository which is /svn in our case

SVNPath /svn

and the following 3 lines to enable basic authentication

AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/apache2/dav_svn.passwd

5- We create a user to have access to our repository

sudo htpasswd -cm /etc/apache2/dav_svn.passwd

where is the desired login name
6- We restart the apache server

sudo /etc/init.d/apache2 restart

7- You can access now the repository using the address : http://www.servername.com/svn

  • Share/Bookmark
4Sep/083

Flowchart applications on Ubuntu

If you would like to draw diagrams and flowcharts on your ubuntu there is 2 programs that is alternative to smart draw on windows :

  • Dia

to install type the following command in terminal :

sudo apt-get install dia
  • Kivio

Kivio
Kivio

to install type the following command in terminal :

sudo apt-get install kivio

U can use them also to draw mind maps

enjoy ;)

  • Share/Bookmark
31Aug/081

How to read chm files on Ubuntu

This can be easily done with install GnoCHM, the CHM viewere for Linux

you can install it by executing this command in the terminal

sudo apt-get install gnochm

enjoy ;)

  • Share/Bookmark