上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 280 下一页
摘要: [root@Apache bin]# tree ├── ab #Apache 性能测试工具 ├── apachectl #Apache 启动命令,它是一个脚本 ├── apr-1-config ├── apu-1-config ├── apxs #Apache 服务器编译和安装扩展模块的工具,在进行 阅读全文
posted @ 2019-08-09 16:01 樊伟胜 阅读(790) 评论(0) 推荐(0) 编辑
摘要: #prefork 多路处理模块 <IfModule mpm_prefork_module> StartServers 5 #设置服务器启动时建立的子进程数量,一般不调 MinSpareServers 5 #设置空闲子进程的最小数量,不要调太大 MaxSpareServers 10 #设置空闲子进程的 阅读全文
posted @ 2019-08-09 16:00 樊伟胜 阅读(635) 评论(0) 推荐(0) 编辑
摘要: ##Apache 默认设置文件 Timeout 300 #设置服务器在断定请求失败前等待的秒数。默认值 300 KeepAlive Off #设置是否启用 HTTP 持久链接,On 代表打开,Off 代表关闭。 如果用于同一页面包含大量静态文件的应用,设置为 On,以提高性能; 如果用于主要为动态页 阅读全文
posted @ 2019-08-09 16:00 樊伟胜 阅读(811) 评论(0) 推荐(0) 编辑
摘要: [root@taokey ~]# grep -v ";" /application/php/lib/php.ini [PHP] engine = On ——→ 是否启用 PHP 解析引擎 short_open_tag = Off ——→ 是否使用简介标志 asp_tags = Off ——→ 不允许 阅读全文
posted @ 2019-08-09 15:59 樊伟胜 阅读(1339) 评论(0) 推荐(0) 编辑
摘要: apachectl(Apache control interface) 参 数: apachectl(Apache control interface) 参 数: fullstatus 显示服务器完整的状态信息。 graceful 重新启动 Apache 服务器,但不会中断原有的连接。用于修改了配置 阅读全文
posted @ 2019-08-09 15:57 樊伟胜 阅读(910) 评论(0) 推荐(0) 编辑
摘要: http.conf 是 Apache 的配置文件,Apache 的常见配置主要是通过修该文件实现的,修改之后需要 重启 Apache 服务生效。 Httpd.conf #Apache 安装目录 ServerRoot “/usr/local/apache2” #Apache 监听端口 Listen 8 阅读全文
posted @ 2019-08-09 15:57 樊伟胜 阅读(509) 评论(0) 推荐(0) 编辑
摘要: rpm –qa httpd 查询是否安装了 Apache rpm –e 包名卸载安装程序 rpm –e --nodeps 包名卸载安装程序不产生依赖 #检查是否安装有依赖库 yum install –y gcc glibc glibc-common gd gd-devel xinetd openss 阅读全文
posted @ 2019-08-09 15:56 樊伟胜 阅读(224) 评论(0) 推荐(0) 编辑
摘要: NFS 自动挂载的两种方法 第一种: 需要注意的事项 开机挂载的命令不能写入到/etc/fstab 中,由于 NFS 依赖于网络,而/etc/fstab 的引用是在计算机 网络尚未启动的时候就开始引导,因此肯定无法挂载成功!我们应该把挂载命令写入到 /etc/rc.d/rc.local 中;看操作 阅读全文
posted @ 2019-08-09 15:46 樊伟胜 阅读(3633) 评论(0) 推荐(0) 编辑
摘要: 为了证明是 Allentunsgroup 组起的作用而非用户 [root@NFS_Client ~]# useradd scott1 [root@NFS_Client ~]# passwd scott1 Changing password for user scott1. New password: 阅读全文
posted @ 2019-08-09 15:44 樊伟胜 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 以下实验大家用主机名来区分服务器端和客户端, 服务器端为 NFS_Server ip-192.168.1.4; 客户端为 NFS_Client ip-192.168.1.5; 实例一 将/tmp 分享给大家使用,让所有的人都可以存取,让 root 写入档案还是具有 root 的权限 [NFS Ser 阅读全文
posted @ 2019-08-09 15:43 樊伟胜 阅读(219) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 280 下一页