当前位置:网站首页>只有服务器,没有域名,怎么部署网站?
只有服务器,没有域名,怎么部署网站?
2022-04-22 07:18:00 【滴噶】
如果你只有服务器地址,没有域名,怎么部署网站?
第1步:安装一个服务我这装的是oneInstack
第2步:先在阿里云添加一个安全组50
第3步:ssh:在oneinstack 执行./vhost.sh 这是添加虚拟机
第4步:在/usr/local/nginx/conf/vhost目录下 修改端口
第5步:web 服务开启 端口 iptables -A INPUT -p tcp --dport 50 -j ACCEPT
第6步:ssh:执行service nginx restart 重启服务
第7步:在/data/wwwroot/ip地址:50 放自己页面文件
完了,你可以在服务器ip后面加50就可以访问了,你还可以类似开启30,40,60之类的端口
版权声明
本文为[滴噶]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_50402587/article/details/113647456
边栏推荐
- Fluorescent labeled polypeptide / amino acid (FITC modified / AMC modified) Qiyue organism
- 58 Technology Salon issue 28 - anjuke quality assurance system Salon
- 16路E1光端机+4路百兆以太网络光端机PDH光端机2M综合业务光端机
- 4E1 + 2-way Gigabit isolation network + 4-way 100m physical isolation network PDH optical transceiver
- tf.keras.layers.Embedding函数
- Variant quick platoon: find the largest number of top k
- 汉源高科8E1专网4路百兆隔离网络PDH光端机E1专网业务16M业务光端机
- 酞菁铂cas:14075-08-2|酞菁锌ZnPc|介孔硅@上转换@ZnPc光敏剂100nm以下发射650nm
- PDH optical transceiver optical fiber transmission 32-way E1 + 4-way 100m 100m network optical transceiver 2m multi service optical transceiver
- NFT难道只是一场“美丽的泡沫”?
猜你喜欢

Click, walk and move of characters in 3D sandbox game

重新定义中国“芯”

国内云安全市场突破百亿元,未来发展趋势如何?

tf.keras.layers.Embedding函数

实验一、数据科学导论——数据科学认知

Integrated service PDH optical transceiver 4-way Gigabit isolated Ethernet + 4-way E1 private network service 2m integrated service optical transceiver

CAS: 36530-06-0 boron chloride phthalocyanine | phthalocyanine | boron chloride phthalocyanine | dichloroboron phthalocyanine dye | boron chloride phthalocyanine | boronsubphalocyaninichloride

nacos基础(3):OPEN API配置管理测试与关闭nacos服务

MySQL advanced view -- View introduction, view crud syntax, check options (cascaded, local), view update, view function, view case

CAS:36530-06-0氯化硼亚酞菁|亚酞菁|氯化硼亚酞菁|二氯硼酞菁染料|氯化亚酞菁硼|BORONSUBPHTHALOCYANINECHLORIDE
随机推荐
Magnesium oxide MgO crystal substrate | strontium titanate SrTiO3 crystal substrate | lithium niobate LiNbO3 crystal substrate; 10mm diameter
综合业务PDH光端机4路千兆隔离以太网络+4路E1专网业务2M综合业务光端机
LeetCode_ 118. Yanghui triangle_ Dynamic programming_ Int * * learning
Blocking queue
Integrated service PDH optical transceiver 4-way Gigabit isolated Ethernet + 4-way E1 private network service 2m integrated service optical transceiver
16 way E1 optical transceiver + 4-way 100M Ethernet optical transceiver PDH optical transceiver 2m integrated service optical transceiver
Leetcode 111 Balanced binary tree (2022.04.21)
ACM入门之【容斥定理】
重新定义中国“芯”
PWM output of STM32 to steering gear sg90
Redis非关系型数据库—Redis高可用、持久化及性能管理
Dual optical port 1 + 1 backup 8-way E1 + 2-way Gigabit isolation network 4-way 100m isolation PDH optical transceiver
变种快排:寻找最大的前K个数
What are the suffocating questions in the interview of computer guarantee research?
力扣(LeetCode)111. 平衡二叉树(2022.04.21)
EFCore优化之AsNoTracking
汉源高科8路多业务PDH光端机双光口保护+8路E1+4路千兆以太网+4路百兆网络电口
氨基(-NH2)酞菁铜 cas: 28632-30-6 (四氨基酞菁)铜(II) 四氨基酞菁铜(CuTAPc)的多种叫法-齐岳生物小编分享
pyqt5使用内置数据库sqllite
Hanyuan hi tech 8-way multi service PDH optical transceiver double optical port protection + 8-way E1 + 4-way Gigabit Ethernet + 4-way 100m network electric port