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

6May/092

PHP is Now

Lots of people asks the question why php, i guess this article titles "PHP is Now" by Cal Evans is the Director of the PHP Center for Expertise at Ibuildings, will help those who asks, to know what is the powers of this great tool.

article URL: http://www.ibuildings.com/blog/archives/1554-PHP-is-NOW.html

  • Share/Bookmark
23Feb/090

Install Yum on RHEL4

In my company they purchased some software from Autodesk that comes on Redhat Enterprise 4, i needed to install some packages on the system for the use of some internal applications, instead of installing packages and all the dependencies, i though using automatic installer like yum would be better, below is the steps to have yum installed on your RHEL4 machine :

1. Install rhel4
2. Download Yum rpm package

wget http://gd.tuwien.ac.at/opsys/linux/yum/2.0/yum-2.0.5-1.noarch.rpm

3. Install the package

rpm -Uvh yum-2.0.5-1.noarch.rpm

4. Edit repositories location

nano /etc/yum.conf

Change the baseurl in [base] to

http://mirror.centos.org/centos/4/os/$basearch/

Change the baseurl in [updates] to

http://mirror.centos.org/centos/4/updates/$basearch/

5- Install the full yum with all its dependencies.

yum install yum
  • 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
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
27Jul/081

Linux Terminal Commands Guide

Hey folks,

a friend asked me for a nice guide to learn the Linux commands, so i made a search for him and found some cool links

straight to the point guide for beginners :
http://linux.org.mt/article/terminal

it covers the following topics :
* Introduction
* Preparation
* The "Bash" shell
* A simple command
* Obtaining help
* Linux Directories
* Linux Files
* Wildcards
* Typing Tricks
* Redirecting Output
* Environment variables
* Scripts
* Aliases
* Switching to root
* Compiling from source
* Conclusion

--------------------------------------------------
Alphabetical Directory of Linux Commands
http://www.oreillynet.com/linux/cmd/

a complete directory of Linux commands

--------------------------------------------------
Linux shortcuts and commands
http://www.unixguide.net/linux/linuxshortcuts.shtml

This is a practical selection of the commands we use most often

if you have more cool guides, please post in comments

  • Share/Bookmark
12Apr/080

Zend Framework to be part of Ubuntu!

Great news for me, and all LAMP Experts out there ;)

Andi Gutmans announced recently on his blog that Zend Framework will be included in

  • Share/Bookmark
27Mar/080

Know your System Administrator

There are four major species of Unix sysad:

1.The TECHNICAL THUG. Usually a systems programmer who has been forced into system administration; writes scripts in a polyglot of the Bourne shell, sed, C, awk, perl, and APL.

2.The ADMINISTRATIVE FASCIST. Usually a retentive drone (or rarely, a harridan ex-secretary) who has been forced into system administration.

3.The MANIAC. Usually an aging cracker who discovered that neither the Mossad nor Cuba are willing to pay a living wage for computer espionage. Fell into system administration; occasionally approaches major competitors with indesp schemes.

4.The IDIOT. Usually a cretin, morpohodite, or old COBOL programmer selected to be the system administrator by a committee of cretins, morphodites, and old COBOL programmers.

  • Share/Bookmark