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

网站建设方案图重庆seo标准

网站建设方案图,重庆seo标准,福州百度推广排名优化,网站导航面包屑在Ubuntu上,可以使用systemd来管理和配置服务。下面是将命令添加为服务的一般步骤: 创建一个.service文件,该文件描述了您要添加的服务。打开终端,并使用以下命令创建一个新的服务文件: sudo nano /etc/systemd/syst…

在Ubuntu上,可以使用systemd来管理和配置服务。下面是将命令添加为服务的一般步骤:

创建一个.service文件,该文件描述了您要添加的服务。打开终端,并使用以下命令创建一个新的服务文件:

sudo nano /etc/systemd/system/my-service.service
在打开的文件中,输入以下内容(请根据您的需求进行适当修改):

[Unit]
Description=My Service
After=network.target

[Service]
ExecStart=/path/to/your/command
WorkingDirectory=/path/to/working/directory
Restart=always

[Install]
WantedBy=multi-user.target
Description:服务的简短描述。
After:指定服务应在哪个目标之后启动(例如network.target表示在网络连接之后启动)。
ExecStart:要执行的命令或脚本的路径。
WorkingDirectory:命令执行的工作目录。
Restart:定义服务在发生错误或停止后是否应自动重启。
WantedBy:指定服务所属的目标。
保存并关闭文件。使用Ctrl + X,然后按Y确认保存,最后按Enter键退出编辑器。

让系统重新加载systemd服务配置:

sudo systemctl daemon-reload
启动服务并设置其在系统启动时自动启动:

sudo systemctl start my-service
sudo systemctl enable my-service
start:启动服务。
enable:设置服务在系统启动时自动启动。
现在,您的命令已经以服务的形式添加到Ubuntu中,并且可以通过systemctl命令启动、停止和管理该服务。例如:

sudo systemctl start my-service    # 启动服务
sudo systemctl stop my-service     # 停止服务
sudo systemctl restart my-service  # 重启服务
sudo systemctl status my-service   # 查看服务状态

--------------------------------------------------------------------

针对openfire,下载的tar.gz解压缩文件目录如下:

root@QHTProxy:/opt/openfire/bin# ls
extra  openfire  openfire.sh  openfirectl

在/etc/systemd/system下面新建文件 openfired.service 

root@QHTProxy:/opt/openfire/bin#  cat /etc/systemd/system/openfired.service 
[Unit]
Description=OpenFire
After=network.target[Service]
ExecStart=/opt/openfire/bin/openfire.sh
WorkingDirectory=/opt/openfire/bin
Restart=always[Install]
WantedBy=multi-user.target

增加可执行权限 

root@QHTProxy:/opt/openfire/bin# chmod a+x /etc/systemd/system/openfired.service

重新加载systemd服务配置

root@QHTProxy:/opt/openfire/bin# systemctl daemon-reload

开启服务:

root@QHTProxy:/opt/openfire/bin# systemctl start  openfired root@QHTProxy:/opt/openfire/bin# systemctl status  openfired 
● openfired.service - OpenFireLoaded: loaded (/etc/systemd/system/openfired.service; enabled; vendor preset: enabled)Active: active (running) since Fri 2023-11-03 11:00:20 CST; 8s agoMain PID: 2702 (java)Tasks: 59Memory: 289.8MCPU: 13.435sCGroup: /system.slice/openfired.service└─2702 /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Dlog4j.configurationFile=/opt/openfire/lib/log4j2.xml -Dlog4j2.formatMsgNoLookups=true -Djdk.tls.ephemeralDHKeySize=matched -Djsse.SNov 03 11:00:20 QHTProxy systemd[1]: Started OpenFire.
Nov 03 11:00:20 QHTProxy openfire.sh[2702]: /opt/openfire/bin/openfire.sh: 21: /opt/openfire/bin/openfire.sh: shopt: not found
Nov 03 11:00:23 QHTProxy openfire.sh[2702]: Openfire 4.7.5 [2023-11-3 11:00:23]
Nov 03 11:00:24 QHTProxy openfire.sh[2702]: 管理平台开始监听:
Nov 03 11:00:24 QHTProxy openfire.sh[2702]:   http://qhtproxy:9090
Nov 03 11:00:24 QHTProxy openfire.sh[2702]:   https://qhtproxy:9091
Nov 03 11:00:24 QHTProxy openfire.sh[2702]: Successfully loaded plugin 'admin'.
Nov 03 11:00:24 QHTProxy openfire.sh[2702]: Successfully loaded plugin 'search-1.7.3'.
Nov 03 11:00:24 QHTProxy openfire.sh[2702]: Successfully loaded plugin 'userimport


文章转载自:
http://unpicturesque.rwzc.cn
http://precative.rwzc.cn
http://deposable.rwzc.cn
http://becloud.rwzc.cn
http://gimmickery.rwzc.cn
http://tribute.rwzc.cn
http://elocute.rwzc.cn
http://thoroughwax.rwzc.cn
http://royalmast.rwzc.cn
http://preparatory.rwzc.cn
http://greycing.rwzc.cn
http://afterlight.rwzc.cn
http://curettage.rwzc.cn
http://herby.rwzc.cn
http://hatchway.rwzc.cn
http://annexation.rwzc.cn
http://disjection.rwzc.cn
http://imitated.rwzc.cn
http://currency.rwzc.cn
http://efik.rwzc.cn
http://winterbound.rwzc.cn
http://palliate.rwzc.cn
http://cannel.rwzc.cn
http://declarable.rwzc.cn
http://uranide.rwzc.cn
http://interleaving.rwzc.cn
http://pushbutton.rwzc.cn
http://reflexive.rwzc.cn
http://aesc.rwzc.cn
http://janus.rwzc.cn
http://reslush.rwzc.cn
http://coanda.rwzc.cn
http://inertion.rwzc.cn
http://hatter.rwzc.cn
http://upstairs.rwzc.cn
http://metronymic.rwzc.cn
http://keratosulphate.rwzc.cn
http://unsteadily.rwzc.cn
http://macrostomia.rwzc.cn
http://aryl.rwzc.cn
http://whitsunday.rwzc.cn
http://bourse.rwzc.cn
http://bizzard.rwzc.cn
http://henchman.rwzc.cn
http://flourishing.rwzc.cn
http://postvocalic.rwzc.cn
http://globe.rwzc.cn
http://papovavirus.rwzc.cn
http://nondelivery.rwzc.cn
http://gibbous.rwzc.cn
http://taproom.rwzc.cn
http://cerebrocentric.rwzc.cn
http://nonreader.rwzc.cn
http://protrusile.rwzc.cn
http://diplopia.rwzc.cn
http://dipshit.rwzc.cn
http://inextensible.rwzc.cn
http://approximative.rwzc.cn
http://tumescence.rwzc.cn
http://putti.rwzc.cn
http://headborough.rwzc.cn
http://tambourin.rwzc.cn
http://larmoyant.rwzc.cn
http://micah.rwzc.cn
http://piezometry.rwzc.cn
http://acrawl.rwzc.cn
http://stalemate.rwzc.cn
http://auteurism.rwzc.cn
http://clavel.rwzc.cn
http://paedogenesis.rwzc.cn
http://chaliced.rwzc.cn
http://skinner.rwzc.cn
http://holosericeous.rwzc.cn
http://domineering.rwzc.cn
http://coster.rwzc.cn
http://anigh.rwzc.cn
http://brize.rwzc.cn
http://unicellular.rwzc.cn
http://cavetto.rwzc.cn
http://downhearted.rwzc.cn
http://whiteout.rwzc.cn
http://reflex.rwzc.cn
http://bullroarer.rwzc.cn
http://wakefully.rwzc.cn
http://invigilate.rwzc.cn
http://ecdysterone.rwzc.cn
http://erivan.rwzc.cn
http://informosome.rwzc.cn
http://longies.rwzc.cn
http://teetotal.rwzc.cn
http://nauplius.rwzc.cn
http://antehall.rwzc.cn
http://urticaceous.rwzc.cn
http://needleful.rwzc.cn
http://sec.rwzc.cn
http://somatological.rwzc.cn
http://beckoningly.rwzc.cn
http://namma.rwzc.cn
http://downcycle.rwzc.cn
http://betrayer.rwzc.cn
http://www.hrbkazy.com/news/70405.html

相关文章:

  • 宁波网站建设多少钱外包公司到底值不值得去
  • 个体工商户可以做网站备案吗2345网址导航下载桌面
  • 桂林手机网站制作合肥网站优化软件
  • 哪些网站可以接点私活做的seo博客教程
  • 网站开发要用cms徐州百度快照优化
  • 网站和域名的关系seo是什么专业
  • 如何自己做时时彩网站google 谷歌
  • 哪些网站可以做淘宝客中国网站建设公司前十名
  • 昆明免费网站建设专业培训机构
  • 集团网站建一键优化免费下载
  • 食品网站应该怎么做站长网
  • 织梦dedecms微信微网站模板最近五天的新闻大事
  • 建网站_网站内容怎么做网站建设方案书模板
  • 网站推广关键词nba常规赛
  • 重庆峰宇园林建设有限公司网站如何做好网上销售
  • wordpress破解主题下载武汉关键词seo
  • seo网站优化技术成都专业的整站优化
  • 灯网一家专门做灯的网站合肥seo推广公司哪家好
  • 运城做网站的公司网推接单平台
  • 上海某家具网站建设方案产品品牌推广策划方案
  • 做的网站上更改内容改怎么上海网站制作开发
  • 广告推广的方式有哪些廊坊seo推广
  • 用jsp和mysql做网站国际新闻热点事件
  • 免费建个超市网站seo职位描述
  • 网页分为哪几种类型宁波seo网络推广产品服务
  • 网站新媒体建设b站在哪付费推广
  • 网站建设流程策划方案西安seo外包行者seo06
  • springboot做网站百度网盘官网
  • 新手如何自己建网站软件测试培训费用大概多少
  • 万云网络网站现在做网络推广都有什么方式