Difference between revisions of "Update linux"

From Observer GigaFlow Support | VIAVI Solutions Inc.
Jump to: navigation, search
Line 11: Line 11:
 
  ps aux | grep java | grep ROS
 
  ps aux | grep java | grep ROS
 
You should see a single output similar to below
 
You should see a single output similar to below
root    2158693  3.1  8.6 5022980 686268 ?      Sl  Feb02  20:43 /opt/java/bin/java -Xms364M -Xmx968M -Djava.net.preferIPv4Stack=true -Djava.library.path=./dist/libs/ -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -classpath ./dist/ROS.jar:./dist/libs/* ros.ROS httpport=80 httpsport=443
+
root    2158693  3.1  8.6 5022980 686268 ?      Sl  Feb02  20:43 /opt/java/bin/java -Xms364M -Xmx968M -Djava.net.preferIPv4Stack=true -Djava.library.path=./dist/libs/ -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -classpath ./dist/ROS.jar:./dist/libs/* ros.ROS httpport=80 httpsport=443

Revision as of 10:09, 3 February 2021

If the server has internet access you can run the following which will download the latest build and install it (causing service Gigaflow to restart)

/opt/ros/resources/unix/update.sh

If the server has no internet access, copy the build (http://95.85.35.209/software/ros_unix.tgz) file onto the server folder /opt Then run

/etc/init.d/rosd stop
tar -vxzf /opt/ros_unix.tgz -C /
/etc/init.d/rosd start

When done, double check that only 1 copy is running

ps aux | grep java | grep ROS

You should see a single output similar to below

root     2158693  3.1  8.6 5022980 686268 ?      Sl   Feb02  20:43 /opt/java/bin/java -Xms364M -Xmx968M -Djava.net.preferIPv4Stack=true -Djava.library.path=./dist/libs/ -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -classpath ./dist/ROS.jar:./dist/libs/* ros.ROS httpport=80 httpsport=443