°²×° Suse 10.3 ¼° Linux ±Ê¼Ç
This is a memo of setting up Suse 10.3 on Mon Mar 17, 5:18 PM
Download Open Suse: http://en.opensuse.org and see http://en.opensuse.org/Download_Help
Summary - These tools were configured to use:
Apache 2.2 web server
Bison 2.3
Flex 2.5.33
Ftp server
Gcc 4.2.1 (C/C++)
Java 1.5.0
Mono (C# cross compiler)
MySQL (Ver 14.12 Distrib 5.0.45, for suse-linux-gnu (i686) using readline 5.2)
Perl (v5.8.8 built for i586-linux-thread-multi)
Php (PHP 5.2.4 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 23 2007 14:12:53))
phpBB 3.0.1
Python 2.5.1
SSH server
Demos
cgi-bin/hi.cgi
(cgi written in Perl)
cgi-bin/hi.pl
(cgi written in Perl)
cgi-bin/chi.cgi
(cgi written in C)
php/index.php
(PHP)
cgi-python/hi.py?user_name=me
(Python as cgi, use mod_python.cgihandler as handler)
python/index.py (with a function hello(req, who))
(Python, use mod_python.publisher as handler, the better way)
Perl using MySQL database
Apache
www root is /srv/www/htdocs/
config files are in /etc/apache2/
See apache.txt
for configuration change.
Crontab
crontab.txt
MySQL
Install notes
See Setup guide
The Perl-DBD-MySQL module was missing. So download and install using YaST.
DBD::mysql module note
DBD modules download
Database auto-backup using crontab
Menhir
Menhir install records
OCaml
ocaml.txt
phpBB
phpBB website
To install is very easy, follow the instruction guide
. Note that the database needs to be created manually.
(For MySQL, in MySQL shell, type "create DATABASE [database_name]")
Python
Mod_Python - Integrating Python with Apache
Ruby on Rails
RailsOnSUSE on SUSE 10.0
General note
Notes on install CPAN modules
Installing Perl Modules
In Suse, can use YaST --> Software Management to install new package.
More notes
=hi.cgi=
#!/usr/bin/perl -w
print "Content-type: text/html\n\n";
print "<html><head><title>Hello World!
Ïà¹ØÎĵµ£º
Ò»¡¢ÒýÑÔ£º
±¾ÎĵµµÄÄÚÈݴ󲿷ÝÄÚÈݶ¼ÊÇ´ÓÍøÉÏÊÕ¼¯¶øÀ´£¬È»ºóÅäºÏһЩеĽØÍ¼£¨Äں˰汾£ºV2.4.19£©¡£ÔÚÿһÅäÖÃÏîºó»áÓÐÒ»¸öÑ¡ÔñÖ¸ÄϵIJ¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾Ñ飨Õâ¸ö»¹µ ......
http://www.ic37.com/htm_tech/2008-1/7319_150547.htm
http://www.lupaworld.com/26540/viewspace-114142.html
http://www.lupaworld.com/viewnews-17909.html
http://www.lupaworld.com/26540/viewspace-117210.html
http://www.lupaworld.com/26540/spacelist-blog-itemtypeid-2105.html
http://www.lupaworld.com/ ......
ÔÎÄÍøÖ·: http://www.dbanotes.net/arch/unix_linux_load.html
¼¸ºõÿ¸ö½Ó´¥Àà Unix ²Ù×÷ϵͳµÄ¹¤³Ìʦ¶¼ÖªµÀÈçºÎ²é¿´ÏµÍ³¸ºÔØ¡£µ«Õâ¶«Î÷µÄ¹¤×÷»úÀíµ½µ×ÊÇÔõÑùµÄ£¬¿ÉÄÜûÓжàÉÙÄÜ˵Çå³þ¡£¶Ô±ÈÁËһЩÏà¹ØÐÅÏ¢£¬¼ÓÉÏ×Ô¼ºµÄÀí½â£¬×öһϱʼǡ£
ʲôÊÇ Load ? ʲôÊÇ Load Average ......
¼ÌÐøÌ¸Ì¸ÆäËüÓïÑԵĿª·¢¡£
3.2) ¶¯Ì¬ÓïÑÔ
ÕâÀïÖ¸µÄÊǰüÀ¨½Å±¾ÓïÑÔ£¬½âÊÍÐÍÓïÑÔÔÚÄڵıà³ÌÓïÑÔ£¬ÀýÈçJava£¬Perl£¬Python£¬PHP£¬JavaScript£¬Ruby£¬Shell Script£¬µÈµÈ¡£
´Ó¿ª·¢»·¾³½Ç¶È¿´£¬¶¯Ì¬ÓïÑÔ¶¼ÓÐ×Ô¼ºµÄÔËÐл·¾³£¬¶øÇÒͨ³£¶¼ÊÇ¿çÆ½Ì¨µÄ¡£Òò´Ë£¬±àд´úÂ룬µ÷ÊÔÔËÐÐÔòÍêÈ«¿ÉÒÔÔÚ×Ô¼ºµÄ»·¾³ÖÐÍê³É£¬Ö»ÊÇ´ó¶àÊÇÃüÁîÐÐ ......