This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux [02/14/2022 06:11] – update links quickmythril | linux [02/20/2023 19:15] – code formatting quickmythril | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Linux ====== | + | ====== Linux (Debian+Ubuntu+Mint) |
{{: | {{: | ||
+ | {{ youtube> | ||
- | How to install Qortal on debian linux (ubuntu, mint, debian, | + | |
+ | **Please note:** after setting up your computer as a node, be sure to review the [[Port Forwarding]] guide to ensure your node functions optimally. | ||
+ | |||
+ | How to install Qortal on Linux (ubuntu, mint, debian, | ||
(Input each command with enter after them.) | (Input each command with enter after them.) | ||
(any time the terminal asks for a password, it is your OS user password, it won't SHOW the password as you input it, just input it and push enter.) | (any time the terminal asks for a password, it is your OS user password, it won't SHOW the password as you input it, just input it and push enter.) | ||
(all commands are run from terminal.) | (all commands are run from terminal.) | ||
pre-setup, you should update your apt repo - | pre-setup, you should update your apt repo - | ||
- | sudo apt update | ||
- | 1. Install Java - | + | < |
+ | |||
+ | 1. Install Java, and Unzip- | ||
- | < | + | < |
- | and install ' | + | 2. Download the Qortal Core zip extract, make scripts executable, |
- | < | + | This command will download the zip, extract it, make the scripts executable and start the Qortal Core. You will see it pop up with the splash screen telling you it is downloading and extracting the bootstrap, then it will run on the taskbar. |
- | 2. Download the Qortal Core zip - https:// | + | < |
- | < | + | 3. Download and install the Qortal UI appimage installer - https:// |
- | 3. Download the Qortal UI debian installer | + | < |
- | < | + | We recommend the AppImage version as it offers auto updates (which can be declined by the user if desired). Qortal |
- | 4. Extract the Qortal Core zip - | ||
- | unzip qortal.zip - if you downloaded with wget, it will be already in your home folder, if you downloaded with the browser, you will first need to move the file to the home folder like this: | ||
- | < | + | 4. Run the Qortal UI app that is now installed on your system. Run through the account creation process in the Qortal UI, to create your Qortal account. Be sure you use a password you will remember, and save the backup file in multiple locations. This is the only way you can access your account from any other computer, or if your computer fails. Be very sure you have multiple copies of this. |
- | + | ||
- | The mv command is only needed if you downloaded with browser, and not with wget. | + | |
- | + | ||
- | 5. Change to newly created qortal directory, make scripts executable, and start Qortal: | + | |
- | + | ||
- | < | + | |
- | chmod +x *.sh | + | |
- | ./start.sh </ | + | |
- | + | ||
- | Qortal will start, you'll see a splash screen telling you it is downloading and extracting the bootstrap for you, then it will run 'in the background' | + | |
- | + | ||
- | 6. Install Qortal UI - the ' | + | |
- | + | ||
- | < | + | |
- | + | ||
- | If the file isn't in your home folder and you downloaded with a browser, you can do this instead: | + | |
- | + | ||
- | < | + | |
- | + | ||
- | 7. Run the Qortal UI app that is now installed on your system. Run through the account creation process in the Qortal UI, to create your Qortal account. Be sure you use a password you will remember, and save the backup file in multiple locations. This is the only way you can access your account from any other computer, or if your computer fails. Be very sure you have multiple copies of this. | + | |
Once you have created your account and your node is synchronized, | Once you have created your account and your node is synchronized, | ||
Line 92: | Line 75: | ||
**Install Qortal core:** Get the files you need for Linux. They currently are: | **Install Qortal core:** Get the files you need for Linux. They currently are: | ||
https:// | https:// | ||
- | https:// | ||
- | |||
- | You will need to use p7zip to uncompress the DB file. The smaller files unzip with standard utils. | ||
- | |||
- | We’re using "/ | ||
- | |||
- | < | ||
- | cd /qortal | ||
- | cp ~/ | ||
- | unzip qortal.zip | ||
- | chmod 744 *.sh</ | ||
- | |||
- | Using " | ||
- | |||
- | < | ||
- | |||
- | The perms on the files in the new ./db directory should be 644 and if they aren't set them: | ||
- | |||
- | < | ||
- | chmod 644 blockchain.data | ||
- | chmod 644 blockchain.properties | ||
- | chmod 644 blockchain.script</ | ||
- | |||
- | Edit the settings in the " | ||
- | | ||
- | < | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | }</ | ||
Now start the core: | Now start the core: | ||
Line 132: | Line 83: | ||
It should tell you it's passed the java version check and give you the PID: | It should tell you it's passed the java version check and give you the PID: | ||
| | ||
- | | + | |
- | qortal running as pid 2020” | + | qortal running as pid 2020" |
Make sure it is running: | Make sure it is running: | ||
Line 200: | Line 151: | ||
**From Jaymen: | **From Jaymen: | ||
- | < | + | < |
- | apt-get install openjdk-11-jdk | + | apt install openjdk-11-jdk |
- | apt-get install unzip | + | apt install unzip |
- | apt-get install bc | + | apt install bc |
- | apt-get install p7zip-full | + | apt install p7zip-full |
wget https:// | wget https:// | ||
- | unzip qortal.zip | + | unzip qortal.zip |
- | cd qortal | + | chmod +x *.sh |
- | wget https:// | + | ./start.sh </ |
- | 7za x db.7z | + | |
- | chmod 0777 start.sh | + | |
- | sh ./start.sh </ | + | |
===== Linux VPS Only Install ===== | ===== Linux VPS Only Install ===== | ||
**From Jaymen:** | **From Jaymen:** | ||
< | < | ||
- | apt-get update | + | apt update |
cd /home | cd /home | ||
adduser test | adduser test | ||
usermod -a -G sudo test | usermod -a -G sudo test | ||
- | apt-get install openjdk-11-jdk | + | apt install openjdk-11-jdk |
- | apt-get install unzip | + | apt install unzip |
- | apt-get install bc | + | apt install bc |
- | apt-get install p7zip-full | + | apt install p7zip-full |
cd test | cd test | ||
wget https:// | wget https:// | ||
unzip qortal.zip | unzip qortal.zip | ||
cd qortal | cd qortal | ||
- | chmod 0777 start.sh | + | chmod +x *.sh |
chown -R test / | chown -R test / | ||
su test | su test | ||
Line 237: | Line 185: | ||
**From Jaymen:** | **From Jaymen:** | ||
< | < | ||
- | unzip qortal.zip | + | unzip qortal.zip |
- | sudo apt-get install p7zip-full -y | + | |
cd qortal | cd qortal | ||
- | chmod 0777 start.sh | + | chmod +x *.sh |
echo -en " | echo -en " | ||
./start.sh </ | ./start.sh </ |