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

dw怎么设计网页北京优化推广

dw怎么设计网页,北京优化推广,室内设计就业前景如何,在哪家网站做推广好centos7 在线安装jdk1.8 yum install -y java-1.8.0-openjdk.x86_64 java默认安装路径/usr/lib/jvm/; 加入环境变量配置,在/etc/profile 配置文件中加入 java 环境变量: vim /etc/profile ​ #java 环境变量内容: ​ #java环境变量…

centos7

  1. 在线安装jdk1.8

    1. yum install -y java-1.8.0-openjdk.x86_64
      java默认安装路径/usr/lib/jvm/;
      加入环境变量配置,在/etc/profile 配置文件中加入 java 环境变量:
      vim /etc/profile
      ​
      #java 环境变量内容:
      ​
      #java环境变量
      export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64
      export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/jre/lib/rt.jar
      export PATH=$PATH:$JAVA_HOME/bin
      source /etc/profile
      java -version
  2. 安装tomcat

    1. yum -y install tomcat
      #进入/etc/profile 配置文件
      vim /etc/profile
      ​
      #Tomcat 环境变量内容:
      ​
      #tomcat环境变量
      COMCAT_BASE=/usr/share/tomcat
      COMCAT_HOME=/usr/share/tomcat
      export JAVA_HOME PATH CLASSPATH COMCAT_BASE COMCAT_HOME
      source /etc/profile
      systemctl start tomcat.service
      systemctl status tomcat
      ​
      systemctl status firewalld
      ​
      #执行命令来开启8080端口
      firewall-cmd --permanent --zone=public --add-port=8080/tcp
      ​
      #重启防火墙
      firewall-cmd --reload
      ​
      #验证开启的8080端口是否生效
      firewall-cmd --zone=public --query-port=8080/tcp
      解决FirewallD警告问题
      vi /etc/firewalld/firewalld.conf
      #重启tomcat:
      systemctl restart tomcat
      ​
      #查看tomcat状态:
      systemctl status tomcat
      尝试解决打不开8080的问题
      #下载依赖包
      yum install tomcat-webapps tomcat-admin-webapps
      ​
      #关闭防火墙 
      systemctl stop firewalld
      ​
      #查看防火墙状态
      systemctl status firewalld
      #Tomcat的自启动
      systemctl enable tomcat.service
      ​
      #系统重启
      reboot
      ​
  3. mysql8

    1. #下载mysql8.0的rpm仓库源
      wget https://repo.mysql.com/mysql80-community-release-el7.rpm
      ​
      #安装mysql8.0源
      yum -y install ./mysql80-community-release-el7.rpm
      ​
      #生成yum索引缓存,并查看目录大小
      yum makecache fast
      ​
      #查看正在使用的MySQL repo
      yum repolist all|grep mysql
      ​
      #安装MySQL8.0
      yum install -y mysql-community-common mysql-community-libs mysql-community-libs-compat mysql-community-client mysql-community-server
      ​
      #设置 mysql 开机启动
      systemctl enable mysqld
      ​
      #启动mysql
      systemctl start mysqld
      ​
      cat /var/log/mysqld.log | grep password
      ​
      mysql_secure_installation
      ​
      #随机密码登录
      mysql -uroot -p
      ​
      ​
      #先把root的旧密码置空
      use mysql;
      #备注:Mysql5.7+ password字段 已改成 authentication_string字段
      update user set authentication_string='' where user='root';
      ​
      #重置成新密码
      #备注:Mysql8.0修改密码方式已有变化(此处是个坑,需要注意)
      ​
      #Mysql8.0之前;
      update user set password=password('root') where user='root';
      #Mysql8.0之后;
      alter user 'root'@'localhost' identified by 'root';
      ​
      #显示密码策略
      SHOW VARIABLES LIKE 'validate_password%';
      #校验密码不能等同于用户名
      set global validate_password.check_user_name=OFF;
      #设置最低长度为4
      set global validate_password.length=4;
      #校验设置低级别策略
      set global validate_password.policy=LOW;
      ​
      #显示密码策略
      SHOW VARIABLES LIKE 'validate_password%';
      ​
      ​
      #设置完密码策略后重新输入修改命令,更改后的密码为123456
      alter user 'root'@'localhost' identified by '123456';
      ​
      #退出命令行
      mysql> quit;
      Bye
      ​
      #新密码登录
      mysql -uroot -p123456
      ​
      ​
      #停止服务
      systemctl stop mysqld
      #重启服务
      systemctl restart mysqld
      #查看mysql服务
      systemctl status mysqld
      ​
  4. nginx

    1. yum install yum-utils
      #新建nginx.repo
      vim /etc/yum.repos.d/nginx.repo
      ​
      #nginx.repo内容
      [nginx-stable]
      name=nginx stable repo
      baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
      gpgcheck=1
      enabled=1
      gpgkey=https://nginx.org/keys/nginx_signing.key
      module_hotfixes=true
      ​
      [nginx-mainline]
      name=nginx mainline repo
      baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/
      gpgcheck=1
      enabled=0
      gpgkey=https://nginx.org/keys/nginx_signing.key
      module_hotfixes=true
      yum-config-manager --enable nginx-mainline
      ​
      yum install -y nginx
      ​
      systemctl start nginx.service
      ​
      systemctl status nginx
      ​
      #查看防火墙状态
      systemctl status firewalld
      ​
      #执行命令来开启80端口
      firewall-cmd --permanent --zone=public --add-port=80/tcp
      ​
      #重启防火墙
      firewall-cmd --reload
      ​
      #验证开启的8080端口是否生效
      firewall-cmd --zone=public --query-port=80/tcp
      ​
      systemctl enable nginx.service
  5. docker

    1. 一、安装依赖包
      ​
      [root@localhost ~]# yum install -y yum-utils device-mapper-persistent-data lvm2
      ​
      二、设置yum仓库地址
      ​
      [root@localhost ~]# sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
      ​
      [root@localhost ~]# sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
      ​
      三、更新Yum缓存
      ​
      [root@localhost ~]# sudo yum makecache fast
      ​
      四、在线安装docker
      ​
      [root@localhost ~]# sudo yum install -y docker-ce docker-ce-cli containerd.io
      ​
      五、查看docker信息
      ​
      [root@localhost ~]# docker info
      ​
      Client:
      ​
      Context: default
      ​
      Debug Mode: false
      ​
      Plugins:
      ​
      app: Docker App (Docker Inc., v0.9.1-beta3)
      ​
      buildx: Docker Buildx (Docker Inc., v0.10.0-docker)
      ​
      scan: Docker Scan (Docker Inc., v0.23.0)
      ​
      Server:
      ​
      ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
      ​
      docker尚未启动,报错
      ​
      六、启动docker
      ​
      [root@localhost ~]# systemctl start docker
      ​
      七、docker状态
      ​
      [root@localhost ~]# systemctl status docker
      ​
      docker.service - Docker Application Container Engine
      ​
      Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
      ​
      Active: active (running) since 四 2023-01-26 19:24:36 CST; 12s ago
      ​
      Docs: https://docs.docker.com
      ​
      Main PID: 6284 (dockerd)
      ​
      Tasks: 8
      ​
      Memory: 108.1M
      ​
      CGroup: /system.slice/docker.service
      ​
      └─6284 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
      ​
      八、docker开机启动
      ​
      [root@localhost ~]# systemctl enable docker
      ​
      九、修改镜像默认存储路径
      ​
      查看当前存储路径
      ​
      [root@localhost /]# docker info | grep "Docker Root Dir"
      ​
      Docker Root Dir: /var/lib/docker
      ​
      创建新路径
      ​
      [root@localhost docker]# mkdir -p /data/docker
      ​
      停止服务
      ​
      [root@localhost /]# systemctl stop docker
      ​
      Warning: Stopping docker.service, but it can still be activated by:
      ​
      docker.socket
      ​
      [root@localhost /]# systemctl stop docker.socket
      ​
      reload配置文件
      ​
      [root@localhost /]# systemctl daemon-reload
      ​
      重启服务
      ​
      [root@localhost /]# systemctl restart docker.service
      ​
      查看本地镜像存储修改结果
      ​
      [root@localhost /]# docker info | grep "Docker"
      ​
      app: Docker App (Docker Inc., v0.9.1-beta3)
      ​
      buildx: Docker Buildx (Docker Inc., v0.10.0-docker)
      ​
      scan: Docker Scan (Docker Inc., v0.23.0)
      ​
      Docker Root Dir: /data/docker

文章转载自:
http://dinncothessaloniki.tqpr.cn
http://dinncoeverydayness.tqpr.cn
http://dinncoconvention.tqpr.cn
http://dinncolunary.tqpr.cn
http://dinncosuckling.tqpr.cn
http://dinncodenizen.tqpr.cn
http://dinncotwelvemo.tqpr.cn
http://dinncodelegable.tqpr.cn
http://dinncoluteinization.tqpr.cn
http://dinncoapplicative.tqpr.cn
http://dinncowitness.tqpr.cn
http://dinncoantaeus.tqpr.cn
http://dinncohortensia.tqpr.cn
http://dinncosurjective.tqpr.cn
http://dinncomicronization.tqpr.cn
http://dinncofrithstool.tqpr.cn
http://dinncodirefully.tqpr.cn
http://dinncochrysographed.tqpr.cn
http://dinncoflay.tqpr.cn
http://dinncocolumbary.tqpr.cn
http://dinncosqueal.tqpr.cn
http://dinncopalmation.tqpr.cn
http://dinncoartfully.tqpr.cn
http://dinncoirreplaceability.tqpr.cn
http://dinncochequers.tqpr.cn
http://dinncounware.tqpr.cn
http://dinnconormalize.tqpr.cn
http://dinncostoss.tqpr.cn
http://dinncofrankish.tqpr.cn
http://dinncohowlet.tqpr.cn
http://dinncoastronavigation.tqpr.cn
http://dinncodiplex.tqpr.cn
http://dinncostereograph.tqpr.cn
http://dinncoperipatetic.tqpr.cn
http://dinncopaladin.tqpr.cn
http://dinncoptilosis.tqpr.cn
http://dinncoaetna.tqpr.cn
http://dinncobuckboard.tqpr.cn
http://dinncocynocephalus.tqpr.cn
http://dinncoliability.tqpr.cn
http://dinncosinusitis.tqpr.cn
http://dinncofragmentized.tqpr.cn
http://dinncostaghorn.tqpr.cn
http://dinncocerebrate.tqpr.cn
http://dinncosarcoadenoma.tqpr.cn
http://dinncoplaywrite.tqpr.cn
http://dinncofetoscopy.tqpr.cn
http://dinncomyoscope.tqpr.cn
http://dinncomagnus.tqpr.cn
http://dinncoeradicated.tqpr.cn
http://dinncofurioso.tqpr.cn
http://dinncosympathizer.tqpr.cn
http://dinncoinfundibular.tqpr.cn
http://dinnconeophilia.tqpr.cn
http://dinncopolarography.tqpr.cn
http://dinncosolvend.tqpr.cn
http://dinncodeluge.tqpr.cn
http://dinncobmta.tqpr.cn
http://dinncopooch.tqpr.cn
http://dinncodemarcate.tqpr.cn
http://dinncofoliation.tqpr.cn
http://dinncolunt.tqpr.cn
http://dinncomalabar.tqpr.cn
http://dinncointerstrain.tqpr.cn
http://dinncosociologically.tqpr.cn
http://dinncoplier.tqpr.cn
http://dinnconouveau.tqpr.cn
http://dinncoaspectual.tqpr.cn
http://dinncokunlun.tqpr.cn
http://dinncoupstairs.tqpr.cn
http://dinncocharwoman.tqpr.cn
http://dinncosalicyl.tqpr.cn
http://dinncoequimolecular.tqpr.cn
http://dinncogiber.tqpr.cn
http://dinncochutty.tqpr.cn
http://dinncocalcifuge.tqpr.cn
http://dinncofootsy.tqpr.cn
http://dinncodesman.tqpr.cn
http://dinncopantaloon.tqpr.cn
http://dinncoholystone.tqpr.cn
http://dinncoprotomorphic.tqpr.cn
http://dinncograsp.tqpr.cn
http://dinncovictrola.tqpr.cn
http://dinncospume.tqpr.cn
http://dinncoupturned.tqpr.cn
http://dinncocumarin.tqpr.cn
http://dinncotokharian.tqpr.cn
http://dinncovaluative.tqpr.cn
http://dinncoillyrian.tqpr.cn
http://dinncodeaden.tqpr.cn
http://dinncoretch.tqpr.cn
http://dinnconhi.tqpr.cn
http://dinncoconenose.tqpr.cn
http://dinncoexcubitorium.tqpr.cn
http://dinncoprolonge.tqpr.cn
http://dinncoacidifier.tqpr.cn
http://dinncowuxi.tqpr.cn
http://dinncowantonness.tqpr.cn
http://dinncomonadelphous.tqpr.cn
http://dinncocolt.tqpr.cn
http://www.dinnco.com/news/145651.html

相关文章:

  • 网站开发技术留言设计一个公司网站多少钱
  • 购物网站开发教程国内免费ip地址
  • 网站界面设计规范培训心得
  • 三星企业网站建设ppt百度大数据中心
  • 网站移动适配营销策划的八个步骤
  • 支付网站怎么做的西安网站建设排名
  • 做美食如何加入团购网站简单的seo
  • 健康网站模版引流推广是什么意思
  • 做网站常用的软件温州seo团队
  • ps做网站正规网站优化公司
  • 零陵旅游建设投资公司网站百度搜索关键词怎么刷上去
  • 番禺做网站的公司2022近期重大新闻事件10条
  • 先做它个天猫网站成都网站建设方案服务
  • 织梦视频网站源码网络推广计划方案
  • 电子商务网站建设的过程和步骤百度关键词搜索热度查询
  • 门户网站创建南昌网站建设
  • 三端互通传奇手游找服网站竞价代运营公司
  • 网站特效市场调研报告的基本框架
  • 网站建设课件北京最新疫情情况
  • 中国建设银行网站会员登录百度关键词搜索指数查询
  • 网易企业邮箱的登录方法优化seo网站
  • 网页网站长沙seo步骤
  • 无锡做网站、淘宝关键词排名优化
  • 做一个企业网站的费用如何线上推广自己产品
  • 北京网络网站建设价格广州百度竞价外包
  • 下瓦房做网站公司营销方式和手段
  • 重庆南川网站制作公司电话太原网络营销公司
  • 网站维护需要网页模版
  • 郑州网站建设的软件泉州seo技术
  • 重庆哪里可以学习网站建设和维护推广渠道有哪些平台