Wednesday, July 5, 2017

Patching and rebooting the servers

How to reboot the routers?
ipsec pluto - IPsec IKE keying daemon
ipsec whack - control interface for IPSEC keying daemon
pluto is the router

commands:
route -n
yum check-update
chkconfig  --list  | grep -i ipsec 
(it will check and let us know, the process will be up at the boot time).
Always the run level 3 should be ON.

Patching
yum update -y (to update all the packages)

Note: If the run level 3 is not ON  for the ipsec,we need to add them.
chkconfig --level 3 ipsec on


ftp server

yum update
chkconfig  --list | grep ftp
run level 3 should be on (it means it has to be start on boot time).

Note: If the run level 3 is not ON  for the ipsec,we need to add them.
chkconfig --level 3 ftp on


Node applications

yum update -y
ps aux | grep node 
pm2 status www
reboot 
pm2 start www

Note:need to understand how to add this at the boot time.



Bamboo server

yum update
ps aux | grep bam
reboot 
find / ~name  start-bamboo.sh
(visit bamboo site for more information).
./start-bamboo.sh
Path : (cd /opt/bamboo/……………/start-bamboo.sh).

Note:need to understand how to add this at the boot time.



No comments:

Post a Comment