易截截图软件、单文件、免安装、纯绿色、仅160KB

安装 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!


相关文档:

times(2) Linux man page

Name
times - get process times
Synopsis
#include <sys/times.h>
clock_t times(struct tms *buf);
Description
times() stores the current process times in the
struct tms that buf points to. The struct tms is as defined
in <sys/times.h>
:
struct tms {
clock_t tms_utime; /* us ......

《Linux性能及调优指南》第一章:了解Linux操作系统


翻译:飞哥 (
http://hi.baidu.com/imlidapeng
)
版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明。
原文名称:《Linux Performance and Tuning Guidelines》
原文地址:http://www.redbooks.ibm.com/abstracts/redp4285.html
----------------------------------------------------------------- ......

linux内核升级

一、准备工作
首先说明,下面带#号的行都是要输入的命令行,且本文提到的所有命令行都在终端里输入。启动Linux系统,并用根用户登录,进入终端模式下。
1、查看Linux内核版本
# uname -a
如果屏幕显示的是2.6.x,说明你的已经是2.6的内核,也用不着看下文了,该干什么干什么去吧!~~~如果显示的是2.4.x,那恭喜你,闯关 ......

LINUX下安装XAMPP

      今天把PHP环境换到LINUX里面来,用的是LD 9.12.1系统。linux很多安装跟配置都需要在终端环境下完成,虽然上次在YLMF OS里面安装过,可是那些代码还是记不清了。感谢因特网的力量,随手谷歌一下就基本上都找到了。现在将安装过程录下,方便下次的时候翻閲。
1.先下载xampp。在官方网站 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号