1、ogs gitbub 服务器重启
查看是否启动
[root@rzhd gogs]# lsof -i:3000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
gogs 12397 root 8u IPv6 224615 0t0 TCP *:hbci (LISTEN)
[root@rzhd gogs]# kill -9 pid 12397
启动命令
nohup ./gogs web &
2、oracle
启动 lsnrctl
su -oracle
lsnrctl start
启动oracle
su - oracle
sqlplus /nolog
conn / as sysdba
startup
关闭orcale
su - oracle
sqlplus /nolog
conn /as sysdba
shutdown immediate
exit
关闭 lsnrctl
lsnrctl stop