日志分类:linux
红帽服务器版本想在官网升级,需要付费,
通过他的方法 找到了国内yum源 http://centos.ustc.edu.cn/centos/5.2/,更多国内的源可以访问
http://wiki.15099.net/index.php/国内centos_yum源
下面是我的rhel-debuginfo.repo文件,在/etc/yum.repos.d/里面修改为下面代码:
[base]
name=Red Hat Enterprise Linux $releasever -Base
baseurl=http://centos.ustc.edu.cn/centos/5.2/os/$basearch/
gpgcheck=1
[update]
name=Red Hat Enterprise Linux $releasever -Updates
baseurl=http://centos.ustc.edu.cn/centos/5.2/updates/$basearch/
gpgcheck=1
[extras]
name=Red Hat Enterprise Linux $releasever -Extras
baseurl=http://centos.ustc.edu.cn/centos/5.2/extras/$basearch/
gpgcheck=1
[addons]
name=Red Hat Enterprise Linux $releasever -Addons
baseurl=http://centos.ustc.edu.cn/centos/5.2/addons/$basearch/
gpgcheck=1
shell下面运行下面几步:
cd /etc/pki/rpm-gpg
wget http://centos.ustc.edu.cn/centos/5.2/os/i386/RPM-GPG-KEY-CentOS-5 (由于我是INTER32位的cpu,所以选I386)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*
上述3步一定按顺序,不然得把key复制到/etc/pki/rpm-gpg目录
好了 到这里就可以运升级了,不过用的是centos系统的源
参考资料:http://linux.chinaunix.net/techdoc/system/2008/07/18/1018380.shtml
发表评论 »
官方下载地址:http://sourceforge.net/projects/webadmin/
下载rpm包
[root@http ~]# wget http://downloads.sourceforge.net/webadmin/webmin-1.440-1.noarch.rpm
使用rpm命令安装
[root@http ~]# rpm -Uiv webmin-1.440-1.noarch.rpm
Preparing packages for installation...
Operating system is CentOS Linux
webmin-1.440-1
Webmin install complete. You can now login to http://http.15099.net:10000/
as root with your root password.
[root@http ~]#
这样就可以通过游览器访问http://ip地址:10000/访问了,但是这样是明文传输,我们需要设置通过https访问
另外:
◎使用SSL加密
1.安装SSL
Webmin → Webmin Configuration → SSL Encryption → download and install → make and install
2.启动SSL
Webmin → Webmin Configuration → SSL Encryption
设定
Enable SSL ...
发表评论 »
CentOS使用了selinux来增强安全,但是使用起来有时候十分繁琐,就想关闭它,但是如果安装服务器的时候开始没有图形界面,还真不好找关闭selinux的地方。
下面介绍关闭selinux的方法
Redhat系统,修改/etc/sysconfig/selinux文件:
#SELINUX=enforcing
SELINUX=disabled
重启系统生效,如果不想重启系统,使用命令
setenforce 0
发表评论 »
有三种方法,
使用花生壳和www.dns0755.net国内商业提供的DDNS收费服务,可以绑定顶级域名(推荐,不过需要交年费)
使用域名管理面板的别名服务指向免费DDNS服务商提供的二级域名(不过我测试,稳定性不好,优点是无需转移DNS)
使用www.zoneedit.com提供的DDNS服务,不过需要把域名的DNS服务器设置到zoneedit指定的DNS服务器,(这个比较好,且免费)
下面就详细描述一下如何使用www.zoneedit.com提供的DDNS服务进行顶级域名绑定动态IP地址的步骤
动态域名配置需要ddclient包,可以通过yum -y install ddclient安装,需先安装
去 zoneedit 注册一个账号,它会把用户名和密码发到你的邮箱里;
把你域名的DNS改成: ns13.zoneedit.com 和 ns17.zoneedit.com ;(万网的域名解析比较慢,等吧……)
把域名(以 15099.net 为例)加入 zoneedit 的 zone 中;
编辑 zone 的”IP addresses (A)”选项, 添加 15099.net、www.15099.net 和 *.15099.net 添加到你目前的公网IP(使用 whois 查询);
你也可以把二级域名定向到不同的主机上,总之主动权在你自己手中哦
编辑 /etc/ddclient/ddclient.conf
######################################################################
daemon=300 ...
发表评论 »
Pages:
Prev
1
2
3
4
5
6
7
8
...53
54
55
Next