25 May 2010

How to install LigHttpd which support PHP 5

How to run LigHttpd which support PHP5 and also MySQL in linux ubuntu based like Ubuntu or linux Mint?
Bellow please find the simple step to do that.
First, of course you must install the application. You can install it via shell command bellow :

sudo apt-get install lighttpd php5-cgi php5-mysql mysql-server phpmyadmin

After installation, your lighttpd will not automatically support to run *.php file. You still need to edit some configuration in file php.ini which can be found at /etc/php5/cgi/php.ini . Open that file and then add the script bellow :

cgi.fix_pathinfo=1

Then, activate cgi module in lighttpd via shell command bellow :

sudo lighthttpd-enable-mod fastcgi

The the last step is reload the lighttpd daemon via shell commadn bellow :

sudo /etc/init.d/lighttpd reload

By that reload script, the process of installing and configurating the lighttpd whcih support php5 is complete.
Now, you can check it by add some example of php file in folder /var/www .

07 March 2010

Running or Stopping Firewall in Linux

When setting up a system that has never been setup at the previous, I usually turn off the firewall to see if the setup without a firewall is running properly. If it goes well, then the firewall will be enabled. It is often I do to find out wheter there are problems associated with a firewall setup or not.

The firewall serves as a blockade of access from unwanted connections. This facility is an important and commonly used in server environments to restrict any ports that might be accessed, both internally and externally. To disable the firewall on Red Hat Linux system and its derivatives like Fedora, CentOS, or others derivatives, here are two magic commands:

service iptables save
service iptables stop

If you want the firewall does not automatically run at boot time, give the following command:

chkconfig iptables off

If the Linux system is used as server and accessible from the public IP addresses, the firewall should be activated again after the testing process is completed, by providing an exception or allow the service / port which related

18 February 2010

The history of Linux

Linux is the result of human culture is really just born, history of linux starts from the two figures are beneficial Richard Stallman and Linus Torvalds. Once there is Richard Stallman who has a unique field that the right of a programmer is to get the source code that is free of charge for acquired applications, so Richard Stallman initialize a movement called the Free Software Movement, this movement grew until the end of the standing organization called the GNU Foundation. GNU Free Software Foundation's campaign for the movement and the GPL license. GNU Foundation also produces a lot of software that is licensed using the GPL rules so that users of these programs are free to use it Free. Free software lets users view the source-code of the software and have the right to increase or decrease their own

Linux is a word that has become a Buzzword in this era, and the meaning Linux is a step to learn Linux. Because of its open source, many developers want to create a Linux with its own style. Finally, the emergence of some kinds of Linux distributions. Tesebut better known Linux distribution with Linux distributions. Distros first batch of the famous is mandrake (now mandriva), Redhat (now Fedora Core), SUSE (now Novell), Debian, and Slackware.

From the first Linux distribution, was undertaken some engineering to produce new distros are unique to the present. The most unique distributions of late style LiveCD distro which need to be in lakakukan installation to be able to use the program. LiveCD distro can even be run on computers that do not have any hard disk at all. Live CD distros a lot, among other things:

1. Knoppix which is a derivative of Debian Linux LiveCD
2. Mandrake Move Live CD version of Mandrake
3. BioKnoppix derivative of Knoppix
4. Derivative of Slackware SLAX

Just about 15 years since discovered (starting 1991), Linux has been progressing very rapidly. This is certainly cause for some circles optisme concern for education in Indonesia, who then suggested some parties, especially the government and the academy to use Linux to handle the computing needs in Indonesia.

12 January 2010

The history of Linux Debian

The history of debian begin at 2003 when Ian Murdock, a student at Purdue University, wrote the Debian Manifesto which called for the creation of a Linux distribution to be maintained in an open manner, in the spirit of Linux and GNU. The name of debian was come from the combination of the first name of his then-girlfriend (now wife) Debra with his own first name "Ian" and the pronounced as debian (deb-e'-en).

When it began, Debian was the only distribution that was open for every developer and user to contribute their work. It remains the most significant distributor of Linux that is not a commercial entity. It is the only large project with a constitution, social contract, and policy documents to organize the project. Debian is also the only distribution which is "micro packaged" using detailed dependency information regarding inter-package relationships to ensure system consistency across upgrades

Debian was meant to be carefully and conscientiously put together, and to be maintained and supported with similar care. It started as a small, tightly-knit group of Free Software hackers, and gradually grew to become a large, well-organized community of developers and users.

The Debian Project grew slowly at first and released its first 0.9x versions in 1994 and 1995. The first ports to other architectures were begun in 1995, and the first 1.x version of Debian was released in 1996. In 1996, Bruce Perens replaced Ian Murdock as the project leader. At the suggestion of fellow developer Ean Schuessler, he guided the editing process of the Debian Social Contract and the Debian Free Software Guidelines, defining fundamental commitments for the development of the distribution. He also initiated the creation of the legal umbrella organization Software in the Public Interest.

Bruce Perens left in 1998 before the release of the first glibc-based Debian, 2.0. The Project proceeded to elect new leaders and made two more 2.x releases, each including more ports and more packages. APT was deployed during this time and the first port to a non-Linux kernel, Debian GNU/Hurd, was started as well. The first Linux distributions based on Debian, Corel Linux and Stormix's Storm Linux, were started in 1999. Though no longer developed, these distributions were the first of many distributions based on Debian.

In late 2000, the Project made major changes to archive and release management, reorganizing software archive processes with new "package pools" and creating a testing branch as an ongoing, relatively stable staging area for the next release. In 2001, developers began holding an annual conference called Debconf with talks and workshops for developers and technical users.