Netkiller Linux 手札

Neo Chan

 


中国广东省深圳市宝安区龙华镇
518109
+86 755 29812080
+86 755 29812080

文档出处
http://netkiller.8800.org/
http://netkiller.hikz.com/
http://netkiller.mefound.com

1.1

转载请与作者联系

文档最近一次更新于 Mon Jun 23 09:43:29 UTC 2008

对初学Linux的爱好者忠告

玩Linux最忌reboot(重新启动)这是windows玩家坏习惯

Linux只要接上电源你就不要再想用reboot,shutdown,halt,poweroff命令,Linux系统和应用软件一般备有reload,reconfigure,restart/start/stop...不需要安装软件或配置服务器后使用reboot重新引导计算机

在Linux系统里SIGHUP信号被定义为刷新配置文件,有些程序没有提供reload参数,你可以给进程发送HUP信号,让它刷新配置文件,而不用restart.通过pkill,killall,kill 都可以发送HUP信号例如: pkill -HUP httpd


联系作者

Mobile: +86 755 133-2299-3040

Tel: +86 755 2981-2080

Callsign: BG7NYT QTH: Shenzhen, China

注:请不要问我安装问题!

Table of Contents

自述
内容简介
写给读者
作者简介
1. Linux
2. Introduction
APT
console timeout
tar - GNU tar / compress and decompress
Editor
3. System
device information
System Information
time zone
to change system date/time
4. Command Shell
find and replace
to convert utf-8 from gb2312 code
php function check
5. Network
ethernet
Interfaces
Mask
Gateway
sysctl
bonding
OpenSSH
maximum number of authentication
disable root SSH login
Automatic SSH / SSH without password
DNS/Bind
bind9
Load Balancing
view
tools
Proxy Server
Socks 5
Apache Proxy
Squid - Internet Object Cache (WWW proxy cache)
debian/ubuntu 安装
Proxy Server
Squid作为反向代理Cache服务器(Reverse Proxy)
代理+反向代理
Squid 管理
禁止页面被Cache
Squid 实用案例
News Group (innd)
User Authentication
NET SNMP (Simple Network Management Protocol)
安装SNMP
例出MBI
Cacti
ip tunnel
ipv4
OpenVPN
Ubuntu/Debian 环境安装
OpenVPN GUI for Windows
源码安装
Firewall
Firewall GUI Tools
Shorewall Tools
FreeRADIUS
ldap
mysql
WAP2 Enterprise
network tools
wget
axel
ncftp
curl
w3m
lynx
nmap
rdesktop - A Remote Desktop Protocol client
tcpdump
6. Ftp Server
ProFTPD + MySQL / OpenLDAP 用户认证
Proftpd + MySQL
Proftpd + OpenLDAP
Pure-FTPd + LDAP + MySQL + PGSQL + Virtual-Users + Quota
7. Web Application
quick install apache with aptitude
Apache
PHP 5
XAMPP for Linux
Compile and then install Apache
Apache 安装与配置
PHP
Shell Script
Tomcat 安装与配置
tomcat
mod_jk
mod_proxy_ajp
RewriteEngine 连接 Tomcat
Lighttpd and fastcgi
quick install with aptitude
to compile and then install lighttpd
PHP
Python
Application Service
Zope
JBoss - JBoss Enterprise Middleware
Optimization
ulimit
Apache 调优
Tomcat
deflate
Apache Log
跟踪用户的cookie
Zend Optimizer
Memcached
python-memcached
Java API
PHP Memcache
Appendix
综合测试
PHP connect SQL Server under unix like
8. OpenLDAP
OpenLDAP server (slapd)
backup/restore
9. Kerberos
安装
生成kerberos的本地数据库
10. Database
PostgreSQL
Install
Postgres 配置
PostgreSQL 实用实例参考
MySQL
Install
SQL
SQL 99
SQL 92
database design
opensource database design tools
11. Developer
compiler
gcc - The GNU C compiler
g++ - The GNU C++ compiler
make
调试工具
Python
Java
PHP 5
pear - Packages
PHPUnit - Unit testing framework for PHP
Project
Subversion
TRAC
TUTOS
12. Storage And Backup/Restore
Samba
install
config
test
Rsync
Network Storage - Openfiler
Accounts
Volumes
Quota
Shares
13. Cluster
Linux Virtual Server
环境配置
VS/NAT
VS/TUN
VS/DR
ipvsadm script
debug
keepalived
安装
test
heartbeat+ldirectord
14. Voice over IP
Gnu Gatekeeper
Gnu Gatekeeper Install
Gnu Gatekeeper Configure
Gnu Gatekeeper Test
Asterisk (OpenSource Linux PBX that supports both SIP and H.323)
OpenSER SIP Server
15. Boinc (berkeley 分布式计算平台)
Boinc 安装
16. Assistant
Webmin
logwatch
awstats
webalizer
Cacti
BIG BROTHER
Ganglia
17. Multimedia
ImageMagick
broadcast streaming
icecast
shoutcast
18. 案例
大型网站架设指南
基于LVS的集群邮件系统
19. 历史记录
A. 附录

List of Tables

12.1. Volume Group Management

List of Examples

2.1. tar examples
5.1. bonding example
5.2. server.conf
5.3. client.conf
5.4. server.ovpn
5.5. client.ovpn
5.6. openvpn.conf
7.1. index.php
7.2. /etc/rc.d/init.d/www
7.3. /etc/init.d/lighttpd
7.4. /etc/init.d/memcached
7.5. memcached.py
7.6. memcached.java
7.7. memcache.php
8.1. base-dn.ldif
8.2. ou.ldif
11.1. /etc/profile.d/java.sh
13.1. keepalived.conf
16.1. cacti config.php