Debian

Server Benchmark with PHP 5 : ThePlanet, Hosteurope, Hetzner

This is a small benchmark test / performance comparison with PHP 5 between ThePlanet, Hosteurope and Hetzner Servers. Servers are not same, and there are RAM difference but in this test RAM plays no big role, but CPU plays. The server from Hosteurope is a virtual server with min. 2GB ram guarantie. The other two are dedicated root servers. ThePlanet's OS is Redhat enterprise, The other two are using Debian.

Hetzner : Intel® Core™ i7-920 Quad-Core with 8GB Ram
Hosteurope: 8 Cores Intel® Xeon® with min 2GB or more
ThePlanet: 2x DualCore Intel(R) Xeon(TM) CPU 3.40GHz with 2GB

[warn] [client 1.2.3.4] mod_fcgid: HTTP request length 137744 (so far) exceeds MaxRequestLen (131072), referer

As I want to add a forum entry I got Apache's 500 server internel error. i tried to change .htaccess, php-conf etec but no success.

Error was: [warn] [client 1.2.3.4] mod_fcgid: HTTP request length 137744 (so far) exceeds MaxRequestLen (131072), referer: http://example.com/node/add/forum/1

After a research check error-logs of virtual host I found that /etc/apache2/mods-available/fcgid.conf must be changed.

I added following directive:

MaxRequestLen 157286400

E: Sub-process /usr/bin/dpkg returned an error code (1)

I have a debian 64 bit lenny4 server and wanted to updatebind 9. Update is failed while I was trying with this commands:

 apt-get -y install bind9
 apt-get -y -f install bind9

I get this error at the end of shell window:
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is the full output:

apt-get -y -f install bind9
Reading package lists... Done
Building dependency tree
Reading state information... Done
bind9 is already the newest version.
bind9 set to manually installed.

apache2ctl fullstatus /usr/sbin/apache2ctl: line 119: www-browser: command not found

When I execute following command to see apache's full-status I get just an error message:

apache2ctl fullstatus 
/usr/sbin/apache2ctl: line 119: www-browser: command not found

Any idea how to monitore Apache on debian Lenny?

Thanks a lot!

How to find your operating system information & version on Linux

You can find your Kernel version with uname -a but it wont say if your operating system is Centos, Redhat, Ubuntu 9 or Debian 5. To display os-details we can read the content from /proc/version.

cat /proc/version
Linux version 2.6.26-2-amd64 (Debian 2.6.26-19lenny1) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Mon Oct 19 02:34:17 UTC 2009

Install Curl on PHP5 Webmin + Debian

I wrote a script for Twitter with Oauth. After running it I got this error:

Fatal error: Call to undefined function curl_init() in /var/public_html/www

Because Curl wasnt install and couldnt find in php.ini file or in webmin navigation functions.

I wanted to install curl for Apache+PHP on my Linux dedicated server with Debian+Webmin.

This code helped me to install curl:

apt-get clean && apt-get update && apt-get install php5-curl

SysCP with Debian 5 64bit Lenny

My questionf is if Syscp is available for Debian 5 64 Bit Lenny. Coz I dont see this version of Linux under supported OS list on Syscp's website.

Ubuntu or CentOS or Fedora Linux or Debian on a Webserver (LAMP) ?

I cannot decide which OS should I take with the EQ4 Server from Hetzner. Really good hardware and much cheaper than Theplanet, 1&1 and Strato etc.

I need a secure and fast server for less than 100 domains and less than 10 active sites with daily 100k+ pageviews and monthly 1-2TB traffic.

I need a good linux distro as webserver with php, mysql, apache, webmin and virtualmin. Later I will need ffmeg. I dont want to pay extra money for control panel like cpanel or plesk. I am not a linux guru therefore it must be easy configurable.

Reasons why i can not decide:

Syndicate content

CafeWebmaster.com(CW) is a free online community for webdevelopers and beginners. Anybody can share their code, articles, tips, tutorials, code-examples or other webdesign related material on the site. Newbies can submit their questions and reply to existing questions. CW does not guarantee or warrant reliability of code, data and information published on the site. Use the site on your own risk. The site takes no responsibility of direct or indirect loss or any kind of harm to its users. The site also doesn't take responsibility of infected files or source code with any kind of infection or viruses, worms, spywares, malwares, trojan horses. CW reserves the right to edit, move, or delete any of content for any reason.