摘要: vi /usr/lib/systemd/system/xx.service [Unit]Description=box-apiAfter=network.target [Service]Type=forkingExecStart=/home/www/xx-start.shExecStop=/home 阅读全文
posted @ 2021-08-23 15:34 lenton 阅读(453) 评论(0) 推荐(0) 编辑
摘要: 1、安装centos7. 从官网下载iso文件,用刻录软件将其刻录到U盘。 机器设置从U盘启动。按Table键,将安装目录改为:/dev/sda4. 2、安装jdk1.8 3、设置其开机启动。 在/usr/lib/systemd/sytem下 vi box-api.service. [Unit]De 阅读全文
posted @ 2021-08-23 13:10 lenton 阅读(193) 评论(0) 推荐(0) 编辑