some useful UNIX commands
e.g. via Putty
downloading the agent folder for a manual MID server upgrade:
use curl url
MID Server Stop/Start/Status commands
stop the MID server:
using command
sudo /usr/bin/systemctl stop mid
start the MID server:
using command
sudo /usr/bin/systemctl start mid
status of MID:
/usr/bin/systemctl status mid
rename the agent folder to old_agent using:
mv agent old_agent_nov2019
delete operations
delete folder and contents:
rm -rf <folder_name>
delete file:
rm <file_name>
restore backup files
navigate to the folder
run commands to restore backup files:
cp config.xml /app/midserver/agent/
cp wrapper-override.conf /app/midserver/agent/conf/
cp agent_keystore.jks /app/midserver/agent/keystore/
cp cacerts /app/midserver/agent/jre/lib/security/
list directory contents
use
ll
exit back to prompt
ctrl c
view a file contents read only
vi /app/midserver/agent/conf/wrapper-override.conf
|
then :q to exit without
saving
You can use command :
chmod 777
|
Very informative and easy to understand. Find out more here:
ReplyDeleteSEO Agency in Chennai