作者:阿喆 浏览(155)
IPv6的的出现就是为了解决IP地址资源短缺的问题,IPV4使用的是32位而IPV6使用的是128位那么可用的IP地址将大大增加,目前我国还没有使用IPV6因为目前的IP地址还够使用,IPV6也就是在测试......
阅读全文>>作者:阿喆 浏览(62)
找到根目录下所有的以test开头的文件并把查找结果当做参数传给rm -rf命令进行删除: 1、find / -name “test*” |xargs rm -rf 2、find / -name “test*” -exec rm -rf {} \; 3、rm -rf $(find / -name “test”......
阅读全文>>作者:阿喆 浏览(185)
centos7下Firewall使用详解 安装它,只需 # yum install firewalld 如果需要图形界面的话,则再安装 # yum install firewall-config(亲测买的云服务器或者vps上不好使,可能是依赖没有安装全,还是使用......
阅读全文>>作者:阿喆 浏览(194)
CentOS7以下默认的防火墙不是iptables,而是firewalle. 1、安装iptable iptable-service #先检查是否安装了iptables service iptables status #安装iptables yum install -y iptables #升级iptables(安装的最新版本则不需......
阅读全文>>作者:阿喆 浏览(112)
Nginx 是一个高性能的 Web 和反向代理服务器, 它具有有很多非常优越的特性: 作为 Web 服务器:相比 Apache,Nginx 使用更少的资源,支持更多的并发连接,体现更高的效率,这点使 Nginx 尤其......
阅读全文>>作者:阿喆 浏览(132)
[root@localhost /]# fdisk -l 查看硬盘信息 使用fdisk命令对sdb硬盘进行分区: [root@linuxprobe ~]# fdisk /dev/sdb Welcome to fdisk (util-linux 2.23.2). Changes will remain in memory only, until you decide to write them. Be ca......
阅读全文>>作者:阿喆 浏览(182)
这其实是有两方面原因导致: 1.系统内核限制,主要是max user processes,这个参数默认为1024,意思是限制每个用户的最大进程使用数,如果超过此限制即使mpm的参数设置正确也会导致ht......
阅读全文>>作者:阿喆 浏览(82)
1、添加用户,首先用adduser命令添加一个普通用户,命令如下: #adduser tommy //添加一个名为tommy的用户 #passwd tommy //修改密码 Changing password for user tommy. New UNIX password: //在这里输入新密码......
阅读全文>>作者:阿喆 浏览(157)
thinkphp5的nginx配置 server { listen 80; server_name www.tp5.com; root E:/PHPstudy/WWW/study/public; location / { index index.html index.php; if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; //路径隐藏index.php break......
阅读全文>>