Giter Club home page Giter Club logo

aliyun_ecs_guide's Introduction

aliyun_ecs_guide

机器购买&HelloWorld

购买ECS :centos

  • runoob 这里有大量的靠谱软件配置内容
  • nginx布置 /usr/local/webserver/nginx/sbin/nginx

Nginx

以下包含了 Nginx 常用的几个命令:

  • /usr/local/webserver/nginx/sbin/nginx -s reload # 重新载入配置文件
  • /usr/local/webserver/nginx/sbin/nginx -s reopen # 重启 Nginx
  • /usr/local/webserver/nginx/sbin/nginx -s stop # 停止 Nginx

几个参考帖子:

https://www.itony.net/post/aliyun-centos7-ghost.html https://blog.csdn.net/scythe666/article/details/51872380

最要命的一个点,nginx是监听80端口,在ecs起起来nginx后就可以看到的默认主页了,阿里云的其他端口需要配置安全组, 就是2368端口,始终远程无法访问

在远程服务器上是可以通过 curl http://127.0.0.1:80 访问到nginx主页html内容,且也可以通过curl http://127.0.0.1:2368 访问到html内容, 但在client端直接访问服务器 外网ip:2368 就是无法访问

最后在论坛中看到 作者 @王赛的一个 问答,终于解决了 http://47.100.45.236:2368/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.