
Linux—07—提供Internet服务
ztguang
出淤泥而不染,濯清涟而不妖,中通外直,不蔓不枝,香远益清,亭亭净植,可远观而不可亵玩焉。
展开
-
静态网站
把网站文件复制到 /var/www/html/ 中[root@localhost ~]# nautilus /var/www/html/[root@localhost ~]# chown -R apache.apache /var/www/html/*[root@localhost ~]# chmod -R 700 /var/www/html/*[root@localhos原创 2016-03-30 09:59:37 · 406 阅读 · 0 评论 -
nginx: [emerg] bind() to 0.0.0.0:9090 failed (13: Permission denied)
nginx: [emerg] bind() to 0.0.0.0:9090 failed (13: Permission denied)原创 2017-08-10 16:15:24 · 4845 阅读 · 1 评论 -
httpd 443端口为什么只监听在tcp6上
httpd 443端口为什么只监听在tcp6上转载 2017-03-30 14:55:59 · 5643 阅读 · 0 评论 -
实现两台MPTCP主机之间的通信——VSFTPD的配置与使用
实现两台MPTCP主机之间的通信——VSFTPD的配置与使用转载 2016-12-15 08:03:10 · 828 阅读 · 0 评论 -
(OK)(OK) compile_mongoose_4_Fedora23.txt
(OK)(OK) compile_mongoose_4_Fedora23.txt原创 2016-07-18 20:25:28 · 434 阅读 · 0 评论 -
保证Linux Apache Web服务器安全的10个建议
保证Linux Apache Web服务器安全的10个建议原创 2016-02-01 00:00:00 · 607 阅读 · 0 评论 -
(OK) links:命令行方式访问登录页面,输入 username & password
(OK) links:命令行方式访问登录页面,输入 username & password原创 2016-07-13 21:21:51 · 2131 阅读 · 0 评论 -
nload - displays the current network usage
nload(1) Network monitoring tools nload(1)NAME nload - displays the current network usageSYNOPSIS原创 2016-05-03 07:52:13 · 538 阅读 · 0 评论 -
(OK) ztgdaemon—守护进程
// gcc ztgdaemon.c -o ztgdaemon/*Servernc -l 12123 < filenameiptables -I INPUT -p tcp --dport 12123 -j ACCEPTClientnc -n 1.2.3.4 12123 > filename*/// ssh -p 11111 1.2.3.4// scp -r -P 11111 z原创 2016-04-13 09:29:12 · 389 阅读 · 0 评论 -
CentOS5.5 FTP安装配置
500 OOPS: cannot change directory:/mnt/sda9解决方法:[root@localhost ~]# setsebool -P ftpd_disable_trans 1[root@localhost ~]# service vsftpd restart+++++++++++++++++++++++++++++++++++++50原创 2016-03-30 10:08:46 · 974 阅读 · 0 评论 -
(OK) Installing Quagga—zebra—configure—make—CentOS7
-------------------Installing Quagga# tar xzf quagga-0.99.21mr2.2.tar.gz# cd quagga-0.99.21mr2.2// # ./bootstrap.sh[root@localhost quagga-0.99.21mr2.2]# ./configure --enable-user=root --enable原创 2016-04-03 07:58:41 · 1306 阅读 · 0 评论 -
(Not OK) 在CentOS7—编译nginx—for—Android—Makefile
CC = /opt/android-on-linux/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gccCFLAGS = -g --sysroot=/opt/android-on-linux/android-ndk-r8e/plat原创 2016-04-02 08:21:28 · 746 阅读 · 0 评论 -
(Not OK) 在CentOS7—编译nginx—for—Android
HOST: centos 7NGINX VERSION: nginx-1.9.7ZLIB VERSION: zlib-1.2.8PCRE VERSION: pcre-8.37[root@localhost nginx-on-android]# pwd/opt/cBPM-android/nginx-on-android[root@localhost nginx原创 2016-04-02 08:19:50 · 2217 阅读 · 0 评论 -
CentOS7—Apache—多个虚拟站点—semodule
[root@localhost processmaker]# gedit /etc/httpd/conf.d/root.conf //内容如下 点击(此处)折叠或打开 # NameVirtualHost *:8000 Listen 8000原创 2016-02-01 00:00:00 · 1244 阅读 · 0 评论 -
dns.txt
dns.txt 下面介绍通过编辑文件的方式对DNS服务器进行配置的过程: 第1步:复制named.root文件 # cp /usr/share/doc/bind-9.3.3/sample/var/named/named.root /var/named/chroot/var/named/named.root 第2步:修改named.conf文件 修改主原创 2016-03-30 09:53:14 · 704 阅读 · 0 评论 -
文件传输(FTP)服务器
http://blog.chinaunix.net/u3/92464/showart_1820527.html 编者小语:丰哥的Linux小站:linuxdocs.cublog.cn 刚开始接触计算机时,不像现在实时通信软件这么发达,我们随时可通过MSN、QQ等传送信息以及文件。因此要下载文件,多半都是使用FTP这样的服务,特别是影音文件、办公软件以原创 2016-03-30 10:08:48 · 1225 阅读 · 0 评论 -
Apache、PHP 隐藏版本信息
http://yfyfj.blog.163.com/blog/static/1542478420111122914470/ 一、apache apache 的httpd.conf 有两个配置可以控制是否显示服务器信息给用户。 对于XAMPP,这两者的配置在conf\extra\httpd-default.conf中。 Se原创 2016-03-30 10:34:16 · 2573 阅读 · 0 评论 -
Linux操作系统-第2版-RHEL8-CentOS8——6.6.1 firewalld简介
新版:Linux操作系统(第二版)(RHEL 8/CentOS 8) 6.6.1 firewalld简介RHEL 8中有几种防火墙共存:iptables、ip6tables、ebtables和nftables。它们其实并不具备防火墙功能,它们的作用都是在用户空间中管理和维护规则,不过它们的规则结构和使用方法不一样,真正利用规则进行数据包过滤是由内核中的netfilter子系统负...原创 2018-12-28 11:30:54 · 2468 阅读 · 0 评论