
linux
文章平均质量分 59
词穷墨尽
don't try so hard the best things come when you least expect them to
不定时更新~~
展开
-
./startup.sh: Permission denied
这是由于目录没有权限只要给目录赋权就可以了:chmod u+x *.sh执行,OK了。原创 2018-04-10 14:23:25 · 2847 阅读 · 0 评论 -
CentOS 7 开放防火墙端口 命令
CentOS 7 开放防火墙端口 命令 最近公司新的server要求用CentOS7, 发现以前CentOS 6 系列中的 iptables 相关命令不能用了,查了下,发现Centos 7使用firewalld代替了原来的iptables。使用方法如下:>>> 关闭防火墙systemctl stop firewalld.service #停止...转载 2018-04-10 14:32:19 · 164 阅读 · 0 评论 -
Linux更新weget
从阿里后台看到一个严重漏洞weget版本过低从http://mirrors.ustc.edu.cn/gnu/wget/中获取到wget1.19版本的tar包tar -zxvf wget-1.19.tar.gzcd wget-1.19./configure --prefix=/usr --sysconfdir=/etc --with-ssl=openssl缺包装包如:openssl, yum -y ...原创 2018-04-10 16:48:15 · 1028 阅读 · 0 评论 -
centos7 中文乱码
locale -a (列出所有可用的公共语言环境的名称) vi /etc/locale.conf # 有人说修改/etc/sysconfig/i18n 但是centos7上没有这个文件将 LANG="en_US.UTF-8" 修改为 LANG="zh_CN.UTF-8" 保存然后source /etc/locale.conf ## 不用重启立即生效...原创 2018-04-26 21:11:26 · 891 阅读 · 0 评论