会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
刘文江
刘文江的技术博客
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
12
13
14
15
16
17
下一页
2017年4月10日
Centos 时间ntp同步
摘要: 安装ntp服务器 yum install ntp 开始自启动 systemctl enable ntpd.service 启动ntp systemctl start ntpd.service 查看状态 systemctl status ntpd.service 查看同步的服务器IP ntpq -pn
阅读全文
posted @ 2017-04-10 15:43 刘文江
阅读(23)
评论(0)
推荐(0)
2017年4月8日
Centos7安装Python3.5
摘要: 升级Python到3.0以上 *由于python3.0与之前的版本已经不再兼容,如果需要使用最新的Python则需要升级原来python版本,但是因为centos采用的yum管理安装,需要之前的版本支持,因此需要考虑升级的版本时候,保留之前的版本并存给yum使用 * 查看当前版本 python -V
阅读全文
posted @ 2017-04-08 18:53 刘文江
阅读(11)
评论(0)
推荐(0)
2017年4月4日
Centos7固定IP
摘要: 查看当前网络 # 查看网络状态 # service network status # 查看用法 # service network 用法:/etc/init.d/network {start|stop|status|restart|reload|force-reload} 或者使用`systemct
阅读全文
posted @ 2017-04-04 10:14 刘文江
阅读(6)
评论(0)
推荐(0)
2017年4月3日
Centos7更新
摘要: 1.更新系统 yum -y update 升级所有包同时也升级软件和系统内核 yum -y upgrade 只升级所有包,不升级软件和系统内核
阅读全文
posted @ 2017-04-03 18:52 刘文江
阅读(5)
评论(0)
推荐(0)
Centos7安裝 nginx 及简单配置
摘要: 安裝 nginx # rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm # 安装在目录:/etc/yum.repos.d/nginx.repo) #
阅读全文
posted @ 2017-04-03 18:48 刘文江
阅读(10)
评论(0)
推荐(0)
安装DNS服务器
摘要: 直接yum 安装 yum install bind-chroot bind -y DNS配置教程 DNS配置详细介绍 bind-namedmanager安装说明 namemanager安装指南 配置namedmanager整理 1.临时关闭selinux #setsebool -P httpd_ca
阅读全文
posted @ 2017-04-03 18:34 刘文江
阅读(4)
评论(0)
推荐(0)
Centos7安装apache
摘要: 安装apache # 安装apache yum -y install httpd # 查看安装位置 rpm -qa | grep httpd # 开机启动服务 # 相当于以前的chkconfig iptables on systemctl enable httpd.service # 开启服务 sy
阅读全文
posted @ 2017-04-03 18:28 刘文江
阅读(8)
评论(0)
推荐(0)
配置vim编辑器
摘要: 设置 Vim编辑环境 配置 有两种方式: 1.是在/etc/vimrc 进行设置,这种设置方法会作用与所有登录到Linux环境下的用户。不建议使用。 2.在用户登录的 ~目录下创建一个.vimrc文件,在其中进行自己习惯的编程环境的设置,这样当别的用户使用实并不互相影响。 具体方法: 在文件中输入
阅读全文
posted @ 2017-04-03 17:55 刘文江
阅读(7)
评论(0)
推荐(0)
加解压及传输
摘要: 解压命名 (1)、*.tar 用 tar –xvf 解压 (2)、*.gz 用 gzip -d或者gunzip 解压 (3)、*.tar.gz和*.tgz 用 tar –xzf 解压 (4)、*.bz2 用 bzip2 -d或者用bunzip2 解压 (5)、*.tar.bz2用tar –xjf 解
阅读全文
posted @ 2017-04-03 17:52 刘文江
阅读(10)
评论(0)
推荐(0)
CentOS7防火墙设置
摘要: CentOS7默认的防火墙不是iptables,而是firewalle. 安装iptable iptable-service 1.先检查是否安装了iptables service iptables status 2.安装iptables yum install -y iptables 3.升级ipt
阅读全文
posted @ 2017-04-03 17:43 刘文江
阅读(8)
评论(0)
推荐(0)
上一页
1
···
12
13
14
15
16
17
下一页
公告