随笔分类 -  CentOS 7

centOS7 修改hostname
摘要:hostnamectl set-hostname 你要修改到的hostnamelocalectl set-locale LANG=要修改的语言介绍个Centos 7很不错的教程网站:http://www.server-world.info/en/note?os=CentOS_7 阅读全文

posted @ 2015-09-18 09:40 weiguoyuan 阅读(151) 评论(0) 推荐(0)

CentOS 7.0 安装go 1.3.1
摘要:1.下载go安装包 golang中国上下载2. 解压tar -zxf go1.3.1.linux-amd64.tar.gz -C /usr/local/3. 修改 etc/profile 文件在文件后加入 export的几行,在unset下面直接加,不要有空行 4.然后执行 source /etc/... 阅读全文

posted @ 2015-06-09 10:08 weiguoyuan 阅读(438) 评论(2) 推荐(0)

CentOS下启动Tomcat
摘要:http://tianlihu.iteye.com/blog/20100281. Tomcat的部署包存放的路径/var/lib/tomcat6/webapps/2. Tomcat的配置文件路径/etc/tomcat6/3. Tomcat的Jar包存放的路径/usr/share/java/tomca... 阅读全文

posted @ 2015-05-06 10:08 weiguoyuan 阅读(1132) 评论(0) 推荐(0)

CentOS 7.0 防火墙
摘要:改成iptablesfirewall:systemctl start iptables.service查看防火墙状态 firewall-cmd --state 改成iptablesfirewall:systemctl start iptables.service查看防火墙状态 firewall-cm 阅读全文

posted @ 2015-04-23 10:53 weiguoyuan 阅读(252) 评论(1) 推荐(0)

导航