IDC 如何建立VPS业务 VPS技术及架构文档
VPS业务规划及技术简介 DOC
VPS业务规划及技术简介 PDF
原创资源 转载请注明
忽略间对域名失去兴趣了…
不知道为什么
手里还有不少域名 懒的做网站
懒的注册新域名
感觉有点迷糊了….
Yum错误的问题 No module named yum
在给国内一个客户安装DirectAdmin的时候发现的
yum 任何命令 都显示
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Please install a package which provides this module, or
verify that the module is installed correctly.
It’s possible that the above module doesn’t match the
current version of Python, which is:
2.3.4 (#1, Nov 4 2004, 14:06:56)
[GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)]
If you cannot solve this problem yourself, please go to
the yum faq at:
查看了一下 是python兼容性问题
下载了新的python 编译 安装
还是错误
想想是不是调用系统默认的
find 一下 有个/usr/bin/python2.4
修改了一下 vi /usr/sbin/yum
把#/usr/sbin/python 改为#/usr/sbin/python2.4
结果就OK了
害我浪费时间又是重新安装yum 又是重新编译python2.7 。。。
真晕…………
因为一直比较懒,后来买了套系统 也没有折腾过
现在重新弄好了 Windows平台和Linux平台的主机完全独立分开了 (全文 …)
Linux系统分区
这个看什么情况下
我看美国的机房给服务器分区 都是差不多的
/boot 启动分区 这个建议独立出来 修复系统什么的时候方便很多
/tmp 如果是跑web服务器 这个建议分出来 大小为1G或者2G
/ 这个是剩余的
/home 这个是网站文件存放的位置 部分人可能习惯放在 /var/www/html里
但是安装cPanel或者directadmin 目录归属都是/home 所以还是建议放在这里
/var 这个下级文件夹 默认存放mysql数据库的 不建议移动
这个要根据实际需求
这个只能作为一个建议而已….