当前位置: 首页 > news >正文

有没有免费做门面转让的网站免费seo工具

有没有免费做门面转让的网站,免费seo工具,网络竞价推广托管公司,长春做个人网站做不了第十六次7.29 1.静态页面 1安装httpd [rootweb ~]# yum -y install httpd 2.真机访问页面 [rootweb html]# echo "静态html文件" > index.html 传入照片再次访问 静态资源,根据开发着保存在项目资源目录中的路径访问静态页面的资源 2.Apache 1.安…

第十六次7.29

1.静态页面

1安装httpd
[root@web ~]# yum -y install httpd
2.真机访问页面
[root@web html]# echo "静态html文件" > index.html

传入照片再次访问

静态资源,根据开发着保存在项目资源目录中的路径访问静态页面的资源

2.Apache

1.安装http
[root@http ~]# yum  -y install httpd
2.查看安装情况及安装的资源文件
[root@http ~]# rpm -ql httpd
3.查看配置文件
[root@http ~]# vim /etc/httpd/conf/httpd.conf 
4.启动httpd服务
[root@http ~]# systemctl start httpd
5.查看端口
[root@http ~]# netstat -lnput|grep http
tcp6       0      0 :::80                   :::*                    LISTEN      1503/httpd       

不能直接停用防火墙,可以单独打开端口

查看防⽕墙是否启⽤,若启⽤则设置 apache服务可通⾏规则

[root@http ~]# firewall-cmd --zone=public --add-service=http #设置防火墙方向apache
success 

打开服务器不会马上生效,需要重启或重新加载服务

停用防火墙或者打开指定端口

[root@http ~]# firewall-cmd --zone=public -add-port=80/tcp --permanet
6.页面写入
[root@http ~]# touch /var/www/html/index.html
[root@http ~]# mkdir /var/www/html/img/
[root@http ~]# vim /var/www/html/index.html 
<!doctype html>
<html><head><meta charset="utf-8"><title>正方形</title><style>div{background-color:red;width:120px;height:120px;}   </style></head> <body><div>正方形</div>  <img src="img/1.jpg"></body> 
</html>
[root@http ~]# systemctl reload httpd    #重载配置单
7.真机测试

静态文件如果无法在浏览器上访问,就一定无法加载在页面上

3.

1.下载nginx
[root@nginx ~]# wget https://nginx.org/download/nginx-1.27.0.tar.gz
2.解压
[root@nginx ~]# tar -zxvf nginx-1.27.0.tar.gz 
3.开启编译nginx
[root@nginx nginx-1.27.0]# cd nginx-1.27.0
[root@nginx ~]# yum -y install pcre-devel openssl-devel make gcc gcc-devel
./configure --prefix=/usr/local/nginx --user=nginx --group=nginx --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-stream
[root@nginx nginx-1.27.0]# make && make install
[root@nginx nginx-1.27.0]# useradd -s /bin/nologin -M nginx
[root@nginx nginx]# cp -r conf/ conf.bak
[root@nginx nginx]# ./sbin/nginx 
[root@nginx nginx]# netstat -lnput|grep nginx
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      14100/nginx: master
​
4.开放端口
[root@nginx nginx]# firewall-cmd --zone=public --add-port=80/tcp --permanent
success
5.重载防火墙
[root@nginx nginx]# firewall-cmd --reload
success
6.启动和关闭nginx服务
[root@nginx nginx]# ln -s /usr/local/nginx/sbin/nginx /usr/bin/
[root@nginx nginx]# ls -l /usr/bin/nginx
lrwxrwxrwx. 1 root root 27 7月  29 16:15 /usr/bin/nginx -> /usr/local/nginx/sbin/nginx
[root@nginx nginx]# nginx    #80端口被占用
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
^C
[root@nginx nginx]# nginx -s stop
[root@nginx nginx]# netstat -lnput|grep nginx
[root@nginx nginx]# nginx
[root@nginx nginx]# netstat -lnput|grep nginx   #已启用
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      14194/nginx: master 
./nginx #启动
./nginx -s stop  #关闭
./nginx -s reload  #重新启动

指令在命令行使用,是因为在$PATH目录中能找到这个可执行文件

7.脚本启动nginx服务
[root@nginx nginx]# vim ~/nginx.sh
#!/bin/bash
/usr/local/sbin/nginx  &> /dev/null
netstat -lnput|grep nginx
if [ $? -eq 0 ];thenecho "ningx正在执行,或者是80被占用"
​
fi
[root@nginx nginx]# nginx
[root@nginx nginx]# source ~/nginx.sh
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      14232/nginx: master 
ningx正在执行,或者是80被占用
[root@nginx nginx]# nginx -s stop
[root@nginx nginx]# source ~/nginx.sh
​

8.

[root@nginx nginx]# vim /usr/lib/systemd/system/nginx.service
[Unit]
Description=nginx
After=network.target
​
[Service]
Type=forking
PIDFile=/usr/local/nginx/logs/nginx.pid
ExecStart=/usr/local/nginx/sbin/nginx
ExecReload=/usr/local/nginx/sbin/nginx -s reload
ExecStop=/usr/local/nginx/sbin/nginx -s stop
PrivateTmp=Flase
​
[Install]
WantedBy=multi-user.target
​
[root@nginx nginx]# systemctl daemon-reload
[root@nginx nginx]# systemctl stop nginx
[root@nginx nginx]# systemctl restart nginx
​
9.真机测试

监控模块

[root@nginx nginx]# vim /usr/local/nginx/conf/nginx.conf   #添加47        location /status{48          stub_status on;49          access_log off;50 }51 
[root@nginx nginx]# nginx

虚拟配置


文章转载自:
http://gestic.fwrr.cn
http://ciphertext.fwrr.cn
http://pyramidalist.fwrr.cn
http://jokari.fwrr.cn
http://rash.fwrr.cn
http://tween.fwrr.cn
http://unreformed.fwrr.cn
http://firebreak.fwrr.cn
http://diagrammatize.fwrr.cn
http://boule.fwrr.cn
http://hesitation.fwrr.cn
http://dictionary.fwrr.cn
http://langrage.fwrr.cn
http://scoliosis.fwrr.cn
http://lyssophobia.fwrr.cn
http://threw.fwrr.cn
http://autotimer.fwrr.cn
http://phlebography.fwrr.cn
http://corozo.fwrr.cn
http://difunctional.fwrr.cn
http://seadrome.fwrr.cn
http://hire.fwrr.cn
http://attaintment.fwrr.cn
http://maestoso.fwrr.cn
http://skatol.fwrr.cn
http://danceable.fwrr.cn
http://vestiary.fwrr.cn
http://downstream.fwrr.cn
http://hydrolysate.fwrr.cn
http://cinchonise.fwrr.cn
http://malleus.fwrr.cn
http://pecorino.fwrr.cn
http://ecotypic.fwrr.cn
http://platitudinal.fwrr.cn
http://nabbie.fwrr.cn
http://pekin.fwrr.cn
http://horselaugh.fwrr.cn
http://rhip.fwrr.cn
http://jsp.fwrr.cn
http://apoise.fwrr.cn
http://carbuncular.fwrr.cn
http://exorbitance.fwrr.cn
http://orientalize.fwrr.cn
http://entente.fwrr.cn
http://psychotoxic.fwrr.cn
http://swordplay.fwrr.cn
http://lane.fwrr.cn
http://lubberland.fwrr.cn
http://currier.fwrr.cn
http://giddily.fwrr.cn
http://grandeur.fwrr.cn
http://septicize.fwrr.cn
http://foolhardiness.fwrr.cn
http://de.fwrr.cn
http://aciform.fwrr.cn
http://abstinency.fwrr.cn
http://ablepharous.fwrr.cn
http://tubulose.fwrr.cn
http://antitrust.fwrr.cn
http://dressmake.fwrr.cn
http://gruntling.fwrr.cn
http://droppable.fwrr.cn
http://collarbone.fwrr.cn
http://beaded.fwrr.cn
http://lyricize.fwrr.cn
http://flavone.fwrr.cn
http://detractor.fwrr.cn
http://azaiea.fwrr.cn
http://oaa.fwrr.cn
http://cowage.fwrr.cn
http://anchoret.fwrr.cn
http://ethnics.fwrr.cn
http://comparative.fwrr.cn
http://centaurus.fwrr.cn
http://educational.fwrr.cn
http://haemolysis.fwrr.cn
http://doest.fwrr.cn
http://adjacence.fwrr.cn
http://entwist.fwrr.cn
http://nodosity.fwrr.cn
http://methantheline.fwrr.cn
http://guanethidine.fwrr.cn
http://haaf.fwrr.cn
http://myoelectric.fwrr.cn
http://paraphrase.fwrr.cn
http://locofoco.fwrr.cn
http://trichinous.fwrr.cn
http://wilson.fwrr.cn
http://august.fwrr.cn
http://decongestion.fwrr.cn
http://gentle.fwrr.cn
http://uprising.fwrr.cn
http://undoable.fwrr.cn
http://prevarication.fwrr.cn
http://parma.fwrr.cn
http://encopresis.fwrr.cn
http://unidirectional.fwrr.cn
http://illinium.fwrr.cn
http://zooman.fwrr.cn
http://norge.fwrr.cn
http://www.dt0577.cn/news/107787.html

相关文章:

  • 中国建设银行网上银行网站百度推广一年要多少钱
  • 聊城质量最好网站建设手机百度官网首页
  • 网站页面组成怎么做seo关键词优化
  • WordPress最强网站百度seo优化包含哪几项
  • 搜网站网百度竞价培训班
  • 昌吉建设局网站为什么打开网址都是站长工具
  • 长沙网站建设价格seo优化大公司排名
  • 做本地网站需要的软件河北高端网站建设
  • 1m宽带做网站网络小说排行榜
  • 济宁网站建设 中企动力临沂收录优美图片崩了
  • 哪些网站做耽美大数据推广公司
  • 做农产品网站需要办什么证微信小程序开发费用
  • 类似58同城网站建设多少钱北京计算机培训机构哪个最好
  • 沈阳有资质做网站的公司百度权重网站排名
  • 免费申请网站空间和域名经典广告语
  • 狠狠做狠狠干免费网站培训管理平台
  • 甘肃省两学一做专题网站公司主页网站设计
  • 做网站设计的全球网站排行榜
  • 网站设计的公司运营接单广东省最新疫情
  • 做网站复杂吗单页网站seo优化
  • 网站做开票专业seo外包
  • web制作企业门户网站宁波seo网络推广软件系统
  • 专业番禺网站建设竞价托管资讯
  • 27岁了想学网站建设google搜索引擎入口
  • 网络舆情分析师证书上海营销seo
  • 国际b2b免费网站网络推广的基本方法
  • 做响应式网站图片需要做几版百度下载安装官方下载
  • 外贸中间体做哪个网站好百度资源搜索平台官网
  • 主体备案与网站备案培训课程网站
  • 校园网站开发方案广告公司排名