URLOS install, upgrade, uninstall

Environmental needs

URLOS confirmation before installing the operating system version meets the installation requirements

1. The minimum hardware configuration: 1 core CPU, 1G RAM (1 + 1) Tip: If you are more applications, and the hardware configuration of the host node is low, the proposed opening of virtual memory in the deployment of virtual nodes;
2. production environment is recommended using a 2G or more memory;
3. recommended installation system: Ubuntu-16.04, Ubuntu-18.04 , CentOS7.X, Debian9X pure 64-bit operating system;


installation

1. Log Operating System : Use ssh client tool login system, if the login user is not root, execute sudo -s command to switch to root user;

 

2. Download the installation script and execute the installation command :

 

Cluster mode (multiple hosts group clusters, support for advanced features resilient and elastic, fault automatic transfer and load balancing):

curl -LO www.urlos.com/iu && sh iu

Stand-alone mode:

curl -LO www.urlos.com/siu && sh siu  

Note: When the system does not curl tool, run "apt-get install -y curl || yum -y install curl" install curl Tools, and then execute the installation script

 

If the system is already installed Docker, may be used directly docker run command Run (3,4,5 this method step may be omitted below):

docker run -itd --name urlos --restart always -p 9968:9968 -p 9966:9966 -v /data/urlos:/data/urlos urlos/urlos


3. Select the region where the number of servers : server-to-1 in China, 1 can not be installed if you choose 2 or 3, if the server is selected overseas 4 (such as downloading process is relatively slow, replace other number) and press Enter;

 

4. Select Docker data storage directory : / data / docker selected from 1, / home / docker selected from 2, / var / lib / docker selected from 3, and then press ENTER;

 

5. successful installation and restart the server : the server may automatically restart after the installation is completed, restart process usually takes about 1 minute;

 

6. Access and use URLOS : Please open 9966,9967,9968,9969,9970 port (inbound rule) in the firewall or security group, and then open the "https: // IP: 9966" by the browser or "http: / / IP: 9968 "to the default user name and password are urlos.


upgrade

Please check the relevant data backup before upgrading, if your cloud host with disk snapshot feature, we recommend that you give priority to disk snapshots, and then to ULROS upgrade.


Method One: Online Upgrade:

If the number is greater than URLOS version 0.4.10, please log in URLOS find the "Upgrade URLOS" in the "System Tools" in the implementation of online upgrade. If the online upgrade fails, please use the following "Method II" upgrade!


Method Two: Upgrade the command line:

1. Log Operating System: Use ssh client tool login system, if the login user is not root, execute sudo -s command to switch to root user

2. Download the upgrade script and perform the upgrade command:

curl -SO https://www.urlos.com/update && chmod 544 update && ./update


Note: If you can not stop MySQL upgrade program, please use the mandatory upgrade:

curl -SO https://www.urlos.com/update && chmod 544 update && ./update latest force

3. Select the zone a server.

4. Select the Docker data storage directory: must be set to the old docker storage directory (if you forget, do the cat /etc/docker/daemon.json view!)

5. Access and use URLOS: After installation is complete, use a browser to access the "https: // your server IP: 9966" or "http: // your server IP: 9968" Access UrlOS

 

Note: Because the algorithm for storing passwords changed when upgrading from 0.3.x to 0.4.x, please log in URLOS upgrade modify all database services: the need to re-enter the password and force deployment once!

Uninstall
the following command if you need to uninstall URLOS, please SSH tool to perform :

curl -LO www.urlos.com/uninstall && sh uninstall

  

prompt:

1. URLOS supports both HTTP and HTTPS protocol access, but we strongly recommend that you use the HTTPS protocol, because the HTTP protocol is very insecure, it is easy to get caught leading to password disclosure!

2. authorized to decrypt the paid version to be binding to normal use, please see the authorization code binding approach

 

Guess you like

Origin www.cnblogs.com/joshuabriter/p/11225622.html