1,不用root,添加普通用户,通过sudo授权管理。2,更改默认的远程连接SSH服务端口以及禁用root用户远程连接。3,定时自动更新服务器时间4,配置国内Yum源代码,从国内下载安装rpm包5,关闭SELinux,iptables(iptables工作场景如果有使用,一般要打开端口)6,调整文件描述的数量..
分类:
系统相关 时间:
2015-02-05 18:40:38
阅读次数:
372
换国内的yum源。准备工作,首先备份/etc/yum.repos.d/CentOS-Base.repo cd /etc/yum.repos.d/ wget http://mirrors.163.com/.help/CentOS6-Base-163.repo把下载文件改成源文件mvCentOS6-Ba...
分类:
其他好文 时间:
2015-02-05 16:17:52
阅读次数:
220
准备需要的源1、添加 EPEL 源:项目地址:http://fedoraproject.org/wiki/EPEL安装步骤://根据 CentOS 版本不同,下方地址也不同wget http://ftp.sjtu.edu.cn/fedora/epel/5/i386/epel-release-5-4....
分类:
其他好文 时间:
2015-02-04 16:13:15
阅读次数:
154
来源:http://www.2cto.com/os/201202/120249.html一、导入rpmfushion源,使用第三方yum 源:su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora...
分类:
其他好文 时间:
2015-02-04 16:09:23
阅读次数:
180
一、使用ZabbixYum源安装安装yum源[root@clz~]#rpm-ivhhttp://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm安装zabbix:yuminstallzabbix-server-mysqlzabbix-web-mysql二、配置Zabbx服务创建并初始化数据库:[root@centos_1~]#cd/usr/share/..
分类:
其他好文 时间:
2015-02-03 07:13:06
阅读次数:
219
[root@localhost ~]# mount /dev/cdrom1 #挂载光盘[root@localhost ~]# vim /etc/yum.repo/local.repo #在/etc/yum.repo/下新建一个本地yum源文件#内容如下:[Server]n...
分类:
系统相关 时间:
2015-02-01 18:58:31
阅读次数:
180
Docker,容器,让研发、测试、生产同一环境,可在linux平台上混合使用JAVA与net 程序Centos6.5安装docker 参考http://my.oschina.net/kcw/blog/355612rpm-ivhhttp://dl.fedoraproject.org/pub/epel/...
分类:
Web程序 时间:
2015-01-30 14:47:10
阅读次数:
270
今天yum安装salt发现缺少python26-distribute,添加了4个yum源还是没有这个包,真的奇怪……到rpmfind网找到了rpm包又下载不了。。蛋碎一地埃没辙了,只找到了python26-distribute的src.rpm一种rpm形式的源码包。这种包怎么用呢?其实很简单!rpm-ivhxxxxxxxxxxxxxx.src.rpm后..
分类:
其他好文 时间:
2015-01-29 19:42:06
阅读次数:
168
CentOS系统自带的更新源的速度实在是慢,为了让CentOS6使用速度更快的YUM更新源,可以选择163(网易)的更新源。 #?cd?/etc/yum.repos.d/
#?wget?http://mirrors.163.com/.help/CentOS6-Base-163.repo 备份并...
分类:
其他好文 时间:
2015-01-29 17:56:12
阅读次数:
217
今天给老服务器虚拟机配置yum源,Federa版本太旧,最后好歹找到了可以用的源了参考链接:中科院mirrors: https://lug.ustc.edu.cn/wiki/mirrors/help/fedorasFedera论坛:http://forums.fedoraforum.org/show...
分类:
其他好文 时间:
2015-01-28 19:18:20
阅读次数:
139