
linux
hgd250
这个作者很懒,什么都没留下…
展开
-
文件内容及文件名替换Shell-linux
由于工作需要,需要对源码进行统一修改,因而做一这样一个小脚本,斩且把它命名为Xmen.sh#!/bin/bashfunction xfile(){for file in ` ls $1`;do if [ -d $1"/"$file ];then local dirPath=${1} local dirName=${file}原创 2013-07-18 09:26:20 · 2314 阅读 · 0 评论 -
Centos7 关闭防火墙
CentOS 7.0默认使用的是firewall作为防火墙,使用iptables必须重新设置一下1、直接关闭防火墙systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firewall开机启动2、设置 iptables serviceyum -y转载 2016-10-27 09:37:53 · 470 阅读 · 0 评论 -
d
Configuration location ^~ /download/ { alias /data/; charset utf-8; autoindex on; autoindex_exact_size on; autoindex_l...原创 2018-10-25 17:44:25 · 272 阅读 · 0 评论