1、安裝:
環(huán)江網(wǎng)站建設(shè)公司創(chuàng)新互聯(lián)公司,環(huán)江網(wǎng)站設(shè)計(jì)制作,有大型網(wǎng)站制作公司豐富經(jīng)驗(yàn)。已為環(huán)江近千家提供企業(yè)網(wǎng)站建設(shè)服務(wù)。企業(yè)網(wǎng)站搭建\成都外貿(mào)網(wǎng)站制作要多少錢,請(qǐng)找那個(gè)售后服務(wù)好的環(huán)江做網(wǎng)站的公司定做!
yum install -y cobbler-web
2、然后就可以使用了(IP替換):
https://192.168.38.200/cobbler_web
3、錯(cuò)誤排查
"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
創(chuàng)建用戶密碼:
[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
當(dāng)前題目:cobblerweb
鏈接地址:http://aaarwkj.com/article6/gihgog.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站內(nèi)鏈、網(wǎng)站收錄、網(wǎng)站導(dǎo)航、定制網(wǎng)站、自適應(yīng)網(wǎng)站、網(wǎng)站維護(hù)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)