CasaOS: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 2: Line 2:
  curl -fsSL https://get.casaos.io | sudo bash
  curl -fsSL https://get.casaos.io | sudo bash
  curl -fsSL https://get.casaos.io/update | sudo bash
  curl -fsSL https://get.casaos.io/update | sudo bash
 
  '''vim replace absolute path'''  
sudo cp  /var/lib/casaos/www/index.html /var/lib/casaos/www/index.html.bkp
  '''sudo vim /var/lib/casaos/www/index.html'''  
  :%s/href="\//href="\.\//gc
  :%s/href="\//href="\.\//gc
  :%s/src="\//src="\.\//gc
  :%s/src="\//src="\.\//gc

Latest revision as of 21:00, 25 May 2023

sudo casaos-uninstall
curl -fsSL https://get.casaos.io | sudo bash
curl -fsSL https://get.casaos.io/update | sudo bash

sudo cp  /var/lib/casaos/www/index.html /var/lib/casaos/www/index.html.bkp
sudo vim /var/lib/casaos/www/index.html 
:%s/href="\//href="\.\//gc
:%s/src="\//src="\.\//gc

References