proftp在linux下安装配置指南
一、安装环境
◆ Red Hat AS 5.0
二、安装包准备
◆ proftpd-1.3.2.tar.gz
三、新建目录
◆ /usr/app/
四、安装步骤
◆ 用户:root
◆ 将压缩文件:proftpd-1.3.2.tar.gz拷贝到/usr/app/下面
◆ 解压缩文件
#cd /usr/app/
#tar –vzxf proftpd-1.3.2.tar.gz
#cd proftpd-1.3.2
◆ 安装步骤
#./configure
# make && make install
五、配置
#vi /usr/local/etc/proftp.conf
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD Default Installation"
ServerType standalone
De ......
一.预防
1.sXid http://os.51cto.com/art/200907/134874.htm
下载地址:http://freshmeat.net/projects/sxid/
2. LSAT
下载地址:http://usat.sourceforge.net/
3.portsentry
下载地址:http://sourceforge.net/projects/sentrytools/
4. fail2ban
http://www.fail2ban.org/
5.lids
http://www.lids.org/
二。入侵检测系统
1.bastille
http://www.bastille-unix.org/
2.LCAP
http://packetstormsecurity.org/linux/admin/lcap-0.0.3.tar.bz2
3.systrace
http://www.systrace.org/
三。日志分析软件
1. logsentry
http://sourceforge.net/projects/sentrytools/
2.swatch
3.logsurfer
4.sec
5.lire
6.multilog
http://cr.yp.to/daemontools.html
7.djbdns
三.检测服务器工具
1.plushs
http://plushs.sourceforge.net
2.Walldns
3. dnssec
4. mtr Matt traceroute ......
http://blog.csdn.net/jenshy/archive/2006/04/18/667944.aspx
(一)Linux网络编程--网络知识介绍
Linux网络编程
--
网络知识介绍
客户端和服务端
网络程序和普通的程序有一个最大的区别是网络程序是由两个部分组成的
--
客户端和服务器端
.
客户端
在网络程序中,如果一个程序主动和外面的程序通信,那么我们把这个程序称为客户端程序。
比如我们使用
ftp
程序从另外一
个地方获取文件的时候,是我们的
ftp
程序主动同外面进行通信(获取文件),
所以这个地方我们的
ftp
程序就是客户端程序。
服务端
和客户端相对应的程序即为服务端程序。被动的等待外面的程序来和自己通讯的程序称为服务端程序。
比如上面的文件获取中,另外一个地方的程序就是服务端,我们从服务端获取文件过来。
互为客户和服务端
实际生活中有些程序是互为服务和客户端。在这种情况项目,
一个程序既为客户端也是服务端。
常用的命令
......
(一)Linux网络编程--网络知识介绍
Linux网络编程--网络知识介绍
客户端和服务端
网络程序和普通的程序有一个最大的区别是网络程序是由两个部分组成的--客户端和服务器端.
客户端
在网络程序中,如果一个程序主动和外面的程序通信,那么我们把这个程序称为客户端程序。 比如我们使用ftp程序从另外一
个地方获取文件的时候,是我们的ftp程序主动同外面进行通信(获取文件), 所以这个地方我们的ftp程序就是客户端程序。
服务端
和客户端相对应的程序即为服务端程序。被动的等待外面的程序来和自己通讯的程序称为服务端程序。
比如上面的文件获取中,另外一个地方的程序就是服务端,我们从服务端获取文件过来。
互为客户和服务端
实际生活中有些程序是互为服务和客户端。在这种情况项目, 一个程序既为客户端也是服务端。
常用的命令
由于网络程序是有两个部分组成,所以在调试的时候比较麻烦,为此我们有必要知道一些常用的网络命令
netstat
& ......
本文介绍如何在Centos 5.3上安装Quartus II 7.2 (这是我手头那块开发版配套版本,其他版本没有试过,估计也差不多)
1. 进入光碟目录
[xzeng@xzeng-desktop linux]$ pwd
/media/Altera Software/quartus/linux
2. 运行install进行安装
[root@esig linux]# ./install
Quartus II 7.2 Installation Script for UNIX Workstations
Copyright (c) Altera Corporation 2007
Type Ctrl+C <Return> to quit this installation script at any time.
Use this installation script to install the Quartus II software,
including sample/tutorial files, interfaces to other EDA tools,
and the Quartus II device family information.
Press <Return> to continue normal installation or type <s>
to select the components to install: s
Custom install selected ...
Type the full pathname of the directory where you want to
install the Quartus II 7.2 software.
(default: /opt/altera7.2/quartus7.2):
You may install any or all of the following Altera device families:
Enter this: &n ......
http://blog.csdn.net/manio/archive/2006/10/13/1333202.aspx
/*
server
*/
#include
<
stdio.h
>
#include
<
sys
/
types.h
>
#include
<
netinet
/
in
.h
>
#include
<
sys
/
socket.h
>
#include
<
netdb.h
>
#include
<
unistd.h
>
#include
<
string
.h
>
#include
<
arpa
/
inet.h
>
#define
PORT 8848
#define
BACKLOG 1
main()
{
int
listenfd,connectfd;
struct
sockaddr_in server;
struct
sockaddr_in client;
int
sin_size;
if
(( listenfd
=
socket(AF_INET, SOCK_STREAM,
0
))
==
-
1
)
{
perror(
"
Creating socket f ......