|
@@ -108,23 +108,35 @@ echo 'Item4 Watchdog 安裝時間:' $((step4_t2-step4_t1)) '秒' >>test.log
|
|
|
echo "watchdog file done"
|
|
|
|
|
|
#Item5 Git Server
|
|
|
+step5_t1=$(date +"%S")
|
|
|
sudo apt-get install golang -y
|
|
|
cd /home/使用者;pwd;git clone http://60.250.156.230:3000/fatwolf/gogsfile.git /home/使用者/gogs;sudo mv /home/使用者/gogs/gogs_0.12.3_linux_amd64.tar.gz /home/使用者/;sudo rm -rf /home/使用者/gogs/;tar -C /home/使用者 -zxvf gogs_0.12.3_linux_amd64.tar.gz
|
|
|
|
|
|
+step5_t2=$(date +"%S")
|
|
|
+
|
|
|
+echo 'Item5 Git Server 安裝時間:' $((step5_t2-step5_t1)) '秒' >>test.log
|
|
|
echo "Git Server done"
|
|
|
# ./gogs web
|
|
|
|
|
|
#Item6 Python packegs Library
|
|
|
+step6_t1=$(date +"%S")
|
|
|
cd /home/使用者;pwd;git clone -b package --single-branch http://60.250.156.230:3000/Automatic_build_system/Automatically_install_files.git;cd Automatically_install_files/;pwd;sudo pip3 install -r requirements.txt
|
|
|
|
|
|
+step6_t2=$(date +"%S")
|
|
|
+echo 'Item6 Python packegs Library 安裝時間:' $((step6_t2-step6_t1)) '秒' >>test.log
|
|
|
+
|
|
|
#Item7 AP(WebPage)
|
|
|
+step7_t1=$(date +"%S")
|
|
|
cd /home/使用者;pwd;sudo git clone http://60.250.156.230:3000/rita/CoffeeProject.git /home/使用者/CoffeeProject/
|
|
|
|
|
|
+step7_t2=$(date +"%S")
|
|
|
+echo 'Item7 AP(WebPage) 安裝時間:' $((step7_t2-step7_t1)) '秒' >>test.log
|
|
|
echo "AP done"
|
|
|
|
|
|
#Item8 ROS ubuntu 18.04 melodic
|
|
|
#ROS It should be install in user not install in root
|
|
|
#install
|
|
|
+step8_t1=$(date +"%S")
|
|
|
sudo apt-get install -y chrony ntpdate
|
|
|
sudo ntpdate -q ntp.ubuntu.com
|
|
|
#var="deb http://packages.ros.org/ros/ubuntu \$(lsb_release -sc) main"
|
|
@@ -158,4 +170,6 @@ echo $ROS_PACKAGE_PATH /home/使用者/catkin_ws/src:/opt/ros/melodic/share
|
|
|
source ~/.bashrc
|
|
|
printenv | grep ROS
|
|
|
|
|
|
+step8_t2=$(date +"%S")
|
|
|
+echo 'Item8 ROS ubuntu 18.04 melodic 安裝時間:' $((step8_t2-step8_t1)) '秒' >>test.log
|
|
|
echo "ROS done"
|