08 2021 档案
摘要:vi /usr/lib/systemd/system/xx.service [Unit]Description=box-apiAfter=network.target [Service]Type=forkingExecStart=/home/www/xx-start.shExecStop=/home
阅读全文
摘要:1、安装centos7. 从官网下载iso文件,用刻录软件将其刻录到U盘。 机器设置从U盘启动。按Table键,将安装目录改为:/dev/sda4. 2、安装jdk1.8 3、设置其开机启动。 在/usr/lib/systemd/sytem下 vi box-api.service. [Unit]De
阅读全文
摘要:第 1 步:添加 EPEL 软件库|-- 执行命令:yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm |-- 查看结果:yum repolist all | grep enabled
阅读全文