首页 > 其他分享 >WriterSide部署

WriterSide部署

时间:2024-01-19 11:56:45浏览次数:28  
标签:http zip 部署 server blog yum install WriterSide

打包

image
会在目录下打包出一个zip包,例如为blog.zip
上传到服务器

安装rz

yum install -y lrzsz

安装unzip

yum install unzip

安装nodejs和npm

sudo yum install nodejs
sudo yum install npm

安装http-server

npm install http-server -g

启动

解压压缩包

mkdir blog
unzip blog.zip

前台启动

http-server blog

后台启动

nohup http-server blog  > /dev/null 2>&1 &

标签:http,zip,部署,server,blog,yum,install,WriterSide
From: https://www.cnblogs.com/alvisClub/p/17974322

相关文章

  • 使用nginx部署多个前端项目(三种方式)
    使用nginx部署多个前端项目(三种方式):https://blog.csdn.net/qq_25460159/article/details/112947177?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-0-112947177-blog-126032000.235^v40^pc_relevant_anti_vip&spm=1001.2101.3001......
  • 当“服务器上部署多个Web应用”,使用Nginx反向代理配置
    当“服务器上部署多个Web应用”,使用Nginx反向代理配置:https://wangcw.blog.csdn.net/article/details/80567233?spm=1001.2101.3001.6650.3&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-3-80567233-blog-130914904.235%5Ev40%5Epc_relevant_a......
  • 微服务、springboot热部署
    添加热部署依赖,如果项目中已有就不用加了<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-devtools</artifactId><optional>true</optional></dependency......
  • docker 部署prometheus监控+Grafana
    yum-yinstallyum-utilsdevice-mapper-persistent-datalvm2安装docker或者使用containerd自行安装,使用containerd把docker命令换成对应的containerd的命令[root@Docker~]#dockerpullprom/prometheus[root@Docker~]#dockerrun--nameprometheus-d-p9090:9090--......
  • 如何修改RuoYi部署应用路径
    Linux上使用Nginx部署多个多个应用:https://blog.csdn.net/ManGooo0/article/details/124594170?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522170563325316800184154554%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=17056......
  • openEuler欧拉部署Redis
    一、系统优化关闭防火墙systemctlstopfirewalldsystemctldisablefirewalld关闭selinuxsed-ri's/SELINUX=enforcing/SELINUX=disabled/'/etc/selinux/configsetenforce0二、安装Redisdnf-yinstallredisvim/etc/redis.conf#bind127.0.0.1bind0.0.0.0protected-mo......
  • openEuler欧拉部署Jenkins
    一、系统优化关闭防火墙systemctlstopfirewalldsystemctldisablefirewalld二、安装Jenkinsdnf-yinstalldockerdockersearchjenkinsdockerpulljenkins/jenkinsmkdir-p/home/jenkinsdockerrun-d--namejenkins-uroot-p8080:8080-p50000:50000-v/home/jen......
  • openEuler欧拉部署Harbor
    一、系统优化关闭防火墙systemctlstopfirewalldsystemctldisablefirewalld二、安装Harborwgethttps://github.com/goharbor/harbor/releases/download/v2.8.1/harbor-offline-installer-v2.8.1.tgztarxvfharbor-offline-installer-v2.8.1.tgzdf-hmvharbor//homecd......
  • gitlab账号密码忘记(docker部署)
    1.进入容器dockerexec-itgitlabexec 2.修改密码sugitgitlab-railsconsole-eproduction//可以带上-e参数查看版本,不同版本修改用户密码有细微差别u=User.where(id:1).firstu.password='Qwer@1234'u.save[root@DevOPS~]#dockerexec-itgitlabbashroot@a3674......
  • 将.NET Core项目部署到Azure WebJob - Azure SDK
    前提条件已经完成了前四篇文章中的所有步骤。安装了Microsoft.Azure.WebJobs和Microsoft.Azure.WebJobs.Extensions包。创建WebJob在你的项目中,创建一个新的类:SayHelloWebJob。在SayHelloWebJob类中,添加以下代码:usingMicrosoft.Azure.WebJobs;usingSystem;publiccla......