中文亚洲精品无码_熟女乱子伦免费_人人超碰人人爱国产_亚洲熟妇女综合网

當(dāng)前位置: 首頁 > news >正文

建動畫網(wǎng)站需要多少錢關(guān)鍵詞排名查詢工具免費

建動畫網(wǎng)站需要多少錢,關(guān)鍵詞排名查詢工具免費,惠州做學(xué)校網(wǎng)站,紅色風(fēng)格網(wǎng)站要求如下: 建立一個使用web服務(wù)器默認(rèn)端口的網(wǎng)站,設(shè)置DocumentRoot為/www/port/80,網(wǎng)頁內(nèi)容為:the port is 80。建立一個使用10000端口的網(wǎng)站,設(shè)置DocumentRoot為/www/port/10000,網(wǎng)頁內(nèi)容為:t…

要求如下:

  1. 建立一個使用web服務(wù)器默認(rèn)端口的網(wǎng)站,設(shè)置DocumentRoot為/www/port/80,網(wǎng)頁內(nèi)容為:the port is 80。
  2. 建立一個使用10000端口的網(wǎng)站,設(shè)置DocumentRoot為/www/port/10000,網(wǎng)頁內(nèi)容為:the port is 10000。

注:此時子配置不必再監(jiān)聽80端口

?準(zhǔn)備工作:web服務(wù)器搭建

第一步:掛載

[root@localhost node1]# mount /dev/sr0 /mnt/

第二步:編輯配置文件

[root@localhost node1]#  vim /etc/yum.repos.d/web.repo
[BaseOS]
name=BaseOS
baseurl=file:///mnt/BaseOS
gpgcheck=0[AppStream]
name=AppStream
baseurl=file:///mnt/AppStream
gpgcheck=0

第三步:安裝軟件包

[root@localhost node1]# dnf install httpd -y

[root@localhost ~]# rpm -ql httpd

[root@localhost httpd]# tree /etc/httpd
/etc/httpd
├── conf
│ ├── httpd.conf
│ └── magic
├── conf.d
│ ├── autoindex.conf
│ ├── README
│ ├── userdir.conf
│ └── welcome.conf
├── conf.modules.d
│ ├── 00-base.conf
│ ├── 00-dav.conf
│ ├── 00-lua.conf
│ ├── 00-mpm.conf
│ ├── 00-proxy.conf
│ ├── 00-systemd.conf
│ └── 01-cgi.conf
├── logs -> ../../var/log/httpd
├── modules -> ../../usr/lib64/httpd/modules
└──
run -> /run/httpd

第四步:啟動httpd

[root@localhost node1]# systemctl start httpd.service
注:1、啟動用start,再次啟動用restart,2、.service后綴可加可不加

查看配置文件:

[root@localhost node1]# rpm -ql httpd | grep etc

第五步:設(shè)置防火墻狀態(tài):

[root@localhost ~]# systemctl status firewalld
[root@localhost ~]#systemctl stop firewalld#可不用
[root@localhost ~]#systemctl disable firewalld

注意: systemctl start/restart/enable/disable/stop/status/reload 的區(qū)別 ?

重啟服務(wù):

[root@localhost ~]# systemctl restart httpd

查看狀態(tài): ?

?查看是否啟動成功:
[root@localhost node1]# systemctl is-active httpd
active##測試狀態(tài)代碼
[root@localhost node1]# systemctl stop httpd.service
[root@localhost node1]# systemctl is-active httpd
inactive

第六步:測試

  • 在客戶端:curl http://ip地址, curl -I 可以查看http報文信息
  • 通過瀏覽器訪問http://ip地址 ?


第一步、啟動httpd

[root@localhost node1]# systemctl start httpd.service
注:1、啟動用start,再次啟動用restart,2、.service后綴可加可不

第二步、設(shè)置防火墻狀態(tài):

[root@localhost ~]# systemctl status firewalld
[root@localhost ~]#systemctl stop firewalld
##也可用這個命令
[root@localhost ~]#systemctl disable firewalld
注意: systemctl start/restart/enable/disable/stop/status/reload 的區(qū)別 ?

默認(rèn)防火墻建立22端口連接

關(guān)閉文件訪問權(quán)限——SeLinux
[root@localhost html]# setenforce 0
注:臨時生效命令

第三步,定義基于不同端口來訪問網(wǎng)站的配置文件

示例文件:

[root@localhost node1]# rpm -ql httpd | grep vhosts.conf
/usr/share/doc/httpd/httpd-vhosts.conf
[root@localhost node1]# vim /usr/share/doc/httpd/httpd-vhosts.conf

[root@localhost node1]# vim /etc/httpd/conf.d/httpd-vhosts.conf
<VirtualHost 192.168.17.171:80>ServerName 192.168.17.171DocumentRoot /www/port/80
</VirtualHost>
?
LISTEN 10000
?
<VirtualHost 192.168.17.171:10000>ServerName 192.168.17.171DocumentRoot /www/port/10000
</VirtualHost>
?
<Directory /www>AllowOverride noneRequire all granted
</Directory>

第四步,創(chuàng)建兩個網(wǎng)頁文件根目錄,并定義網(wǎng)頁內(nèi)容

[root@localhost ~]# mkdir -pv /www/port/{80,10000}

[root@localhost ~]# echo the port is 80 > /www/port/80/index.html
[root@localhost ~]# echo the port is 10000 > /www/port/10000/index.html
[root@localhost node1]# curl 192.168.17.171:80
the port is 80
[root@localhost node1]# curl 192.168.17.171:10000
the port is 10000

?第五步:測試

?

http://www.risenshineclean.com/news/6722.html

相關(guān)文章:

  • 域名服務(wù)商怎么查詢網(wǎng)絡(luò)優(yōu)化推廣公司哪家好
  • 贛州人才網(wǎng)官方網(wǎng)站合肥網(wǎng)站優(yōu)化平臺
  • 網(wǎng)站開發(fā)有哪些參考文獻(xiàn)域名權(quán)重查詢
  • wordpress電影主題會員廈門seo蜘蛛屯
  • 工裝設(shè)計方案網(wǎng)站seosem是什么職位
  • 國內(nèi)論壇網(wǎng)站有哪些免費網(wǎng)站排名優(yōu)化在線
  • 怎么做商城網(wǎng)站全國最好的廣告公司加盟
  • 網(wǎng)站建設(shè)公司行業(yè)9 1短視頻安裝
  • 網(wǎng)站ui是平面設(shè)計嗎信息流推廣渠道
  • cms網(wǎng)站系統(tǒng)天津seo培訓(xùn)
  • 做網(wǎng)站如何避免商標(biāo)侵權(quán)百度最怕哪個投訴電話
  • 網(wǎng)站建設(shè)濟南有做的嗎外包seo公司
  • 天津網(wǎng)站建設(shè)網(wǎng)絡(luò)公司批量關(guān)鍵詞排名查詢工具
  • 網(wǎng)站怎么做彈幕播放器最好的免費建站網(wǎng)站
  • 好的網(wǎng)站建設(shè)案例河北網(wǎng)站建設(shè)制作
  • 專門做面包和蛋糕的網(wǎng)站建立一個網(wǎng)站需要多少錢?
  • 可以做mc圖片的網(wǎng)站外鏈推廣
  • 深圳市網(wǎng)站建設(shè)公網(wǎng)絡(luò)搭建是干什么的
  • 設(shè)計電子商務(wù)網(wǎng)站主頁鄭州seo教程
  • 江西建筑培訓(xùn)網(wǎng)seo就業(yè)哪家好
  • 做公司網(wǎng)站需要注意什么護(hù)膚品營銷策劃方案
  • 印刷網(wǎng)站建設(shè)建立網(wǎng)站怎么搞
  • 杭州品牌網(wǎng)站制作培訓(xùn)班
  • 寵物店做網(wǎng)站的論文深圳網(wǎng)絡(luò)推廣
  • 專業(yè)網(wǎng)站推廣引流外鏈圖片
  • 英文網(wǎng)站模板改成中文成都百度快照優(yōu)化排名
  • 免費域名申請哪個網(wǎng)站好百度營銷客戶端
  • 自己創(chuàng)業(yè)做原公司一樣的網(wǎng)站武漢網(wǎng)站排名提升
  • 找設(shè)計公司上哪個網(wǎng)站網(wǎng)絡(luò)營銷課程主要講什么內(nèi)容
  • 做電商要有網(wǎng)站嗎seo關(guān)鍵詞排名優(yōu)化報價