易截截图软件、单文件、免安装、纯绿色、仅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 ......

Unix/Linux 的 Load问题


原文网址: http://www.dbanotes.net/arch/unix_linux_load.html
      几乎每个接触类 Unix 操作系统的工程师都知道如何查看系统负载。但这东西的工作机理到底是怎样的,可能没有多少能说清楚。对比了一些相关信息,加上自己的理解,做一下笔记。
什么是 Load ? 什么是 Load Average ......

我的linux没有声音了

前天开机实然没有声音了,怎么弄也不行,在论坛挂了一个帖子,到现在也没有人回复。昨天妈妈过生日我回妈家去了,今天才回来。我打开机器盼望能好起来,结果还是没有声音。
1、在控制台下有声音
 control+alt+f1切换到控制台,之后mplayer /mnt/wine/music/*.mp3   结果有声音
2、创建新用户有声音
useradd - ......

linux内核读书笔记(进程数据结构分析)一

include/linux/sched.h
384   struct task_struct {
385     volatile long state;
386     struct thread_info *thread_info;
387     atomic_t usage;
388     unsigned long flags; 
389   &nbs ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号