Jump to content

PNETLab: upgrade: Difference between revisions

From Wiki
Kangmus (talk | contribs)
No edit summary
No edit summary
 
Line 8: Line 8:


delete old upgrade folder if exist by command:
delete old upgrade folder if exist by command:
rm -rf upgrade
rm -rf upgrade


  unzip [package] -d ./upgrade
  unzip [package] -d ./upgrade

Latest revision as of 20:39, 1 November 2025

SSH to PNETLab with root account and run command to check:

cd /tmp
ls -l

Unzip upgrade package by command:

delete old upgrade folder if exist by command:

rm -rf upgrade
unzip [package] -d ./upgrade

(Eg: unzip 4.0.1.zip -d ./upgrade)

Check again by command:

ls -l

You should see the upgrade folder

Run below commands to upgrade.

chmod 755 -R upgrade
find upgrade -type f -print0 | xargs -0 dos2unix 2>&1
./upgrade/upgrade