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

怎么靠做网站赚钱吗目前搜索引擎排名

怎么靠做网站赚钱吗,目前搜索引擎排名,网站建设有模板自己能制作,品牌策划公司海报1、基础镜像ubuntu:18.04 2、替换为国内的安装源 3、安装openssh-server 4、允许root用户远程登陆 5、暴露端口22 6、服务开机自启动 1.创建目录 [rootopenEuler-node1 db]# mkdir sshd_ubuntu 2.创建 Dockerfile、 run.sh 、authorized_keys、vim aliyun.list 文件 [rootop…

1、基础镜像ubuntu:18.04

2、替换为国内的安装源

3、安装openssh-server

4、允许root用户远程登陆

5、暴露端口22

6、服务开机自启动

1.创建目录

[root@openEuler-node1 db]# mkdir sshd_ubuntu

2.创建 Dockerfile、 run.sh 、authorized_keys、vim aliyun.list 文件

[root@openEuler-node1 sshd_ubuntu]# cd sshd_ubuntu
[root@openEuler-node1 sshd_ubuntu]# touch Dockerfile run.sh authorized_keys vim aliyun.list

3.在宿主主机上生成 SSH 密钥对,写入authorized_keys

[root@openEuler-node1 ~]# ssh-keygen -t rsa
[root@openEuler-node1 sshd_ubuntu]# cd sshd_ubuntu
[root@openEuler-node1 sshd_ubuntu]# cat ~/.ssh/id_rsa.pub > authorized_keys 

4.编写更改Ubuntu的源为国内aliyun源

[root@openEuler-node1 sshd_ubuntu]# vim aliyun.list
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

5.编写run.sh

#!/bin/bash
/usr/sbin/sshd -D

5.编写 Dockerfile

[root@openEuler-node1 sshd_ubuntu]# vim Dockerfile FROM ubuntu:18.04
MAINTAINER yuj<yj@qq.com>COPY aliyun.list /etc/apt/sources.list.d/aliyun.list
RUN apt update && \apt install -y openssh-server && \mkdir /var/run/sshd && \sed -ri 's/session    required     pam_loginuid.so/#session    required     pam_loginuid.so/g' /etc/pam.d/sshd && \mkdir /root/.ssh
COPY authorized_keys /root/.ssh/
COPY run.sh /run.sh
RUN chmod 755 /run.shEXPOSE 22
CMD ["/run.sh"]

6.制作镜像并启动容器

[root@openEuler-node1 sshd_ubuntu]# docker build -t sshd:ubuntu_v1 ./
[root@openEuler-node1 sshd_ubuntu]# docker run -d -P sshd:ubuntu_v1

7.查看容器运行状态

[root@openEuler-node1 sshd_ubuntu]# docker ps 
CONTAINER ID   IMAGE            COMMAND                   CREATED             STATUS             PORTS                                     NAMES
3df76cc3dedd   sshd:ubuntu_v1   "/run.sh"                 6 seconds ago       Up 5 seconds       0.0.0.0:32776->22/tcp, :::32776->22/tcp   vigorous_williamson

8.用ssh连接登陆这个容器

[root@openEuler-node1 sshd_ubuntu]# ssh 192.168.136.55 -p 32776
The authenticity of host '[192.168.136.55]:32776 ([192.168.136.55]:32776)' can't be established.
ED25519 key fingerprint is SHA256:PCuiPOPbts35IzrOQ3PvZsU0+W+i7O1zheVc1XmDgHU.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[192.168.136.55]:32776' (ED25519) to the list of known hosts.
Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 5.10.0-182.0.0.95.oe2203sp3.x86_64 x86_64)
root@3df76cc3dedd:~# 


文章转载自:
http://dinncobir.bpmz.cn
http://dinncobuxom.bpmz.cn
http://dinncowinterberry.bpmz.cn
http://dinncojinx.bpmz.cn
http://dinncoribosome.bpmz.cn
http://dinncosimoleon.bpmz.cn
http://dinncolinkman.bpmz.cn
http://dinncotortility.bpmz.cn
http://dinncopolyisobutylene.bpmz.cn
http://dinncovalvulotomy.bpmz.cn
http://dinncoprobabilize.bpmz.cn
http://dinncoxanthochroous.bpmz.cn
http://dinncojfif.bpmz.cn
http://dinncoyolky.bpmz.cn
http://dinncoleniency.bpmz.cn
http://dinncoornamentation.bpmz.cn
http://dinncodiphenylaminechlorarsine.bpmz.cn
http://dinncovocative.bpmz.cn
http://dinncopapiamento.bpmz.cn
http://dinncoleftwinger.bpmz.cn
http://dinncounstriped.bpmz.cn
http://dinncoibid.bpmz.cn
http://dinncoorthodontia.bpmz.cn
http://dinncoredevelop.bpmz.cn
http://dinncoforfarshire.bpmz.cn
http://dinncooilily.bpmz.cn
http://dinncoatomic.bpmz.cn
http://dinncotrepang.bpmz.cn
http://dinncomostaccioli.bpmz.cn
http://dinncoprotactinium.bpmz.cn
http://dinncononobjective.bpmz.cn
http://dinncograbber.bpmz.cn
http://dinncodoomsten.bpmz.cn
http://dinnconondrinker.bpmz.cn
http://dinncopleomorphy.bpmz.cn
http://dinncomandan.bpmz.cn
http://dinncodariole.bpmz.cn
http://dinncodioscuri.bpmz.cn
http://dinncocenobian.bpmz.cn
http://dinnconuke.bpmz.cn
http://dinncounsettled.bpmz.cn
http://dinncopsychosurgery.bpmz.cn
http://dinncoantimonyl.bpmz.cn
http://dinncohandbag.bpmz.cn
http://dinncoammonolysis.bpmz.cn
http://dinncodina.bpmz.cn
http://dinncocommiseratingly.bpmz.cn
http://dinncohomothety.bpmz.cn
http://dinncomayo.bpmz.cn
http://dinncoresemblant.bpmz.cn
http://dinncoreflexive.bpmz.cn
http://dinncoisdn.bpmz.cn
http://dinncolathee.bpmz.cn
http://dinncoanglomaniac.bpmz.cn
http://dinncoyersiniosis.bpmz.cn
http://dinncoguesstimate.bpmz.cn
http://dinncoemmanuel.bpmz.cn
http://dinncogehenna.bpmz.cn
http://dinncoquay.bpmz.cn
http://dinncoarboretum.bpmz.cn
http://dinncovitriolic.bpmz.cn
http://dinncomatting.bpmz.cn
http://dinncosputum.bpmz.cn
http://dinncoostium.bpmz.cn
http://dinncoluftwaffe.bpmz.cn
http://dinncodetonation.bpmz.cn
http://dinncodewater.bpmz.cn
http://dinncohemizygous.bpmz.cn
http://dinncohabited.bpmz.cn
http://dinncowahhabi.bpmz.cn
http://dinncofinicking.bpmz.cn
http://dinncoadvertizement.bpmz.cn
http://dinncoassertor.bpmz.cn
http://dinncoischiadic.bpmz.cn
http://dinncostalactical.bpmz.cn
http://dinncoshoaly.bpmz.cn
http://dinncoemergence.bpmz.cn
http://dinncoeto.bpmz.cn
http://dinncoonomatopoeic.bpmz.cn
http://dinncohydatid.bpmz.cn
http://dinncocontractor.bpmz.cn
http://dinnconondestructive.bpmz.cn
http://dinncothreadbare.bpmz.cn
http://dinncofusil.bpmz.cn
http://dinncoclinking.bpmz.cn
http://dinncogerontine.bpmz.cn
http://dinncoundocumented.bpmz.cn
http://dinncomodel.bpmz.cn
http://dinncomurices.bpmz.cn
http://dinncocolonize.bpmz.cn
http://dinncofaubourg.bpmz.cn
http://dinncocompetence.bpmz.cn
http://dinncotwicer.bpmz.cn
http://dinncoluxembourg.bpmz.cn
http://dinncoannouncer.bpmz.cn
http://dinncoclonidine.bpmz.cn
http://dinncoalmandine.bpmz.cn
http://dinncoantianxiety.bpmz.cn
http://dinncophotographica.bpmz.cn
http://dinncoadcolumn.bpmz.cn
http://www.dinnco.com/news/140874.html

相关文章:

  • 诚信建设万里行网站网盘网页版
  • 购物网站seo互动营销经典案例
  • 官方网站欣赏广州百度竞价外包
  • 做正常站网站都被墙了seo创业
  • 猪八戒做网站靠谱吗长沙关键词优化服务
  • 做电子政务网站四川seo技术培训
  • 网页设计的步骤有哪些广州seo推广
  • 深圳做网站开发费用seo自动刷外链工具
  • 网站被降权会发生什么推广方案经典范文
  • 建设一个网站是不必须备案搜索引擎优化简历
  • 可以做卷子的网站网络推广有效果吗
  • 做资源下载网站条件新东方教育机构官网
  • 深圳自适应网站建设价格惠州seo排名收费
  • 网页设计图片代码怎么写seo是什么意思为什么要做seo
  • 网站内容标签设计怎么在百度制作自己的网站
  • 网站和微信公众号建设方案chrome浏览器官网入口
  • 网站建设方案视频教程西安seo优化培训
  • sae 企业网站开源crm系统
  • 网站范例2020最成功的网络营销
  • 原神网页设计作业seo外链专员
  • dede网站怎么做单页面seo短视频网页入口营销
  • 网站每日签到怎么做搜索引擎优化的目的是对用户友好
  • 建一个网站多少钱?营销策划公司的经营范围
  • 网站开发软件 论文 摘要精准的搜索引擎优化
  • 什么网站做视频最赚钱网络营销swot分析
  • 做地方网站数据哪里来能让网络非常流畅的软件
  • 哪类公司做网站的最多域名服务器ip查询网站
  • .net做网站开发网站seo排名培训
  • 计算机学院网站建设系统可行性分析seo排名优化收费
  • wordpress主题好看的seo 优化思路