Politics Explained

Filed Under (General) by Florian Jensen on 29-06-2008

Tagged Under : , , ,

FEUDALISM: You have two cows. Your lord takes some of the milk.

PURE SOCIALISM: You have two cows. The government takes them and puts them in a barn with everyone else’s cows. You have to take care of all of the cows. The government gives you as much milk as you need.

BUREAUCRATIC SOCIALISM: You have two cows. The government takes them and put them in a barn with everyone else’s cows. They are cared for by ex-chicken farmers. You have to take care of the chickens the government took from the chicken farmers. The government gives you as much milk and eggs as the regulations say you need.

FASCISM: You have two cows. The government takes both, hires you to take care of them and sells you the milk.

PURE COMMUNISM: You have two cows. Your neighbors help you take care of them, and you all share the milk.

RUSSIAN COMMUNISM: You have two cows. You have to take care of them, but the government takes all the milk.

CAMBODIAN COMMUNISM: You have two cows. The government takes both of them and shoots you.

DICTATORSHIP: You have two cows. The government takes both and drafts you.

PURE DEMOCRACY: You have two cows. Your neighbors decide who gets the milk.

REPRESENTATIVE DEMOCRACY: You have two cows. Your neighbors pick someone to tell you who gets the milk.

BUREAUCRACY: You have two cows. At first the government regulates what you can feed them and when you can milk them. Then it pays you not to milk them. Then it takes both, shoots one, milks the other and pours the milk down the drain. Then it requires you to fill out forms accounting for the missing cows.

PURE ANARCHY: You have two cows. Either you sell the milk at a fair price or your neighbors try to take the cows and kill you.

LIBERTARIAN/ANARCHO-CAPITALISM: You have two cows. You sell one and buy a bull.

SURREALISM: You have two giraffes. The government requires you to take harmonica lessons.

(source)

Installing Lighttpd; PHP5 and MySQL on your Debian Etch

Filed Under (Howto) by Florian Jensen on 01-01-2008

Tagged Under : , , , , ,

Today’s tutorial is going to explain how to install Lighttpd; PHP5 and MySQL on your FlexServ (RPS) on Debian Etch 4.0.

This is an easy tutorial, and definetly a good place to start.

1. Update the repositories and your system

apt-get update
apt-get dist-upgrade

2. Install lighttpd

apt-get install lighttpd

3. Install PHP5-CGI

apt-get install php5-cgi

4. Configure lighttpd to use PHP5-CGI

Modify the php.ini:

vi /etc/php5/cgi/php.ini

Add the following line to it at the end:

cgi.fix_pathinfo = 1

Now you need to edit the lighttpd.conf

vi /etc/lighttpd/lighttpd.conf

Add the following at the top (in the list):

“mod_fastcgi”,

Then this at the bottom:

fastcgi.server = ( “.php” => ((
“bin-path” => “/usr/bin/php5-cgi”,
“socket” => “/tmp/php.socket”
)))

5. Install and configure MySQL

Title says it all:

apt-get install mysql-server mysql-client php5-mysql

Then you should also set a password for the MySQL User root:

mysqladmin -u root password yourrootsqlpassword

6. Restart your lighttpd to apply the changes

/etc/init.d/lighttpd restart

7. Test it

Ok, the last step is to test it. For that create a new .php file:

vi /var/www/info.php

Add the following text to it:

<?
php phpinfo();
?>

Then check the result by accessing the page in your Webbrowser: http://fs00000.flosoft-servers.net/info.php

If that works, you can enjoy your new Webserver!

RSS