1
0

fix: omc installation issue

This commit is contained in:
2024-01-17 10:40:35 +08:00
parent 6715efec4d
commit 99adcc22b7
4 changed files with 60 additions and 48 deletions

View File

@@ -83,16 +83,22 @@ systemctl enable sshsvc.service
systemctl enable captrace.service systemctl enable captrace.service
systemctl enable adb.service systemctl enable adb.service
systemctl daemon-reload systemctl daemon-reload
#sudo systemctl stop nginx.service sudo systemctl stop nginx.service
#sudo systemctl stop restagent.service sudo systemctl stop restagent.service
#sudo systemctl stop crontask.service sudo systemctl stop crontask.service
#sudo systemctl stop sshsvc.service sudo systemctl stop sshsvc.service
#sudo systemctl stop captrace.service sudo systemctl stop captrace.service
#sudo systemctl stop adb.service sudo systemctl stop adb.service
sudo systemctl restart nginx.service sudo systemctl start nginx.service
sudo systemctl restart adb.service sudo systemctl start adb.service
sudo systemctl restart crontask.service sudo systemctl start crontask.service
sudo systemctl restart sshsvc.service sudo systemctl start sshsvc.service
sudo systemctl restart captrace.service sudo systemctl start captrace.service
sudo systemctl restart restagent.service sudo systemctl start restagent.service
#sudo systemctl restart nginx.service
#sudo systemctl restart adb.service
#sudo systemctl restart crontask.service
#sudo systemctl restart sshsvc.service
#sudo systemctl restart captrace.service
#sudo systemctl restart restagent.service

View File

@@ -8,19 +8,19 @@ rm libwiretap.so.12
rm libwiretap.so rm libwiretap.so
rm libwsutil.so.13 rm libwsutil.so.13
rm libwsutil.so rm libwsutil.so
#systemctl stop nginx.service systemctl stop nginx.service
#systemctl stop restagent.service systemctl stop restagent.service
#systemctl stop crontask.service systemctl stop crontask.service
#systemctl stop sshsvc.service systemctl stop sshsvc.service
#systemctl stop captrace.service systemctl stop captrace.service
#systemctl stop adb.service systemctl stop adb.service
#rm -rf /usr/local/omc #rm -rf /usr/local/omc
rm -rf /etc/nginx/conf.d/omc.conf rm -rf /etc/nginx/conf.d/omc.conf
#systemctl disable restagent.service systemctl disable restagent.service
#systemctl disable crontask.service systemctl disable crontask.service
#systemctl disable sshsvc.service systemctl disable sshsvc.service
#systemctl disable captrace.service systemctl disable captrace.service
#systemctl disable adb.service systemctl disable adb.service
#systemctl daemon-reload systemctl daemon-reload

View File

@@ -83,16 +83,22 @@ systemctl enable sshsvc.service
systemctl enable captrace.service systemctl enable captrace.service
systemctl enable adb.service systemctl enable adb.service
systemctl daemon-reload systemctl daemon-reload
#sudo systemctl stop nginx.service sudo systemctl stop nginx.service
#sudo systemctl stop restagent.service sudo systemctl stop restagent.service
#sudo systemctl stop crontask.service sudo systemctl stop crontask.service
#sudo systemctl stop sshsvc.service sudo systemctl stop sshsvc.service
#sudo systemctl stop captrace.service sudo systemctl stop captrace.service
#sudo systemctl stop adb.service sudo systemctl stop adb.service
sudo systemctl restart nginx.service sudo systemctl start nginx.service
sudo systemctl restart adb.service sudo systemctl start adb.service
sudo systemctl restart crontask.service sudo systemctl start crontask.service
sudo systemctl restart sshsvc.service sudo systemctl start sshsvc.service
sudo systemctl restart captrace.service sudo systemctl start captrace.service
sudo systemctl restart restagent.service sudo systemctl start restagent.service
#sudo systemctl restart nginx.service
#sudo systemctl restart adb.service
#sudo systemctl restart crontask.service
#sudo systemctl restart sshsvc.service
#sudo systemctl restart captrace.service
#sudo systemctl restart restagent.service

View File

@@ -8,19 +8,19 @@ rm libwiretap.so.12
rm libwiretap.so rm libwiretap.so
rm libwsutil.so.13 rm libwsutil.so.13
rm libwsutil.so rm libwsutil.so
#systemctl stop nginx.service systemctl stop nginx.service
#systemctl stop restagent.service systemctl stop restagent.service
#systemctl stop crontask.service systemctl stop crontask.service
#systemctl stop sshsvc.service systemctl stop sshsvc.service
#systemctl stop captrace.service systemctl stop captrace.service
#systemctl stop adb.service systemctl stop adb.service
#rm -rf /usr/local/omc #rm -rf /usr/local/omc
rm -rf /etc/nginx/conf.d/omc.conf rm -rf /etc/nginx/conf.d/omc.conf
#systemctl disable restagent.service systemctl disable restagent.service
#systemctl disable crontask.service systemctl disable crontask.service
#systemctl disable sshsvc.service systemctl disable sshsvc.service
#systemctl disable captrace.service systemctl disable captrace.service
#systemctl disable adb.service systemctl disable adb.service
#systemctl daemon-reload systemctl daemon-reload