cobblerweb-创新互联

cobber web

1、安装:

创新互联建站是专业的巨鹿网站建设公司,巨鹿接单;提供网站建设、成都网站设计,网页设计,网站设计,建网站,PHP网站建设等专业做网站服务;采用PHP框架,可快速的进行巨鹿网站开发网页制作和功能扩展;专业做搜索引擎喜爱的网站,专业的做网站团队,希望更多企业前来合作!

yum install -y cobbler-web

2、然后就可以使用了(IP替换):

https://192.168.38.200/cobbler_web

3、错误排查

"Internal Server Error..."

排查参考:https://www.cnblogs.com/wang50902/p/10760404.html

先查看其日志位置:

[root@localhost httpd]# grep log /etc/httpd/conf.d/ssl.conf | grep error
# server does not start, consult the error logs and ensure
ErrorLog logs/ssl_error_log
#   compact non-error SSL logfile on a virtual host basis.

分析日志

[root@localhost httpd]# tail /etc/httpd/logs/ssl_error_log 
[Sun Sep 08 16:16:40.714657 2019] [:error] [pid 8630] [remote 192.168.38.1:244]     self._setup(name)
[Sun Sep 08 16:16:40.714663 2019] [:error] [pid 8630] [remote 192.168.38.1:244]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 41, in _setup
[Sun Sep 08 16:16:40.714672 2019] [:error] [pid 8630] [remote 192.168.38.1:244]     self._wrapped = Settings(settings_module)
[Sun Sep 08 16:16:40.714677 2019] [:error] [pid 8630] [remote 192.168.38.1:244]   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 110, in __init__
[Sun Sep 08 16:16:40.714686 2019] [:error] [pid 8630] [remote 192.168.38.1:244]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Sun Sep 08 16:16:40.714691 2019] [:error] [pid 8630] [remote 192.168.38.1:244]   File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
[Sun Sep 08 16:16:40.714703 2019] [:error] [pid 8630] [remote 192.168.38.1:244]     __import__(name)

胡乱分析得到:django版本问题

解决:

yum install python2-pip
pip install --upgrade pip
pip install Django==1.8.17
systemctl restart httpd

4、cobbler web使用

参考:https://blog.csdn.net/liang_operations/article/details/80640428

创建用户密码:

[root@localhost httpd]# egrep -v "^$|#" /etc/cobbler/users.conf  
[admins]
admin = ""
cobbler = ""
# htdigest + 配置文件 + “描述信息” + 用户
[root@localhost httpd]# htdigest -c /etc/cobbler/users.digest Cobbler test1
[root@localhost httpd]# cat /etc/cobbler/users.digest
test1:Cobbler:aa2cd4010e2c674350c901b969531fd4
3

另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


网站名称:cobblerweb-创新互联
地址分享:http://cdiso.cn/article/ccoiec.html

其他资讯