This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux [04/22/2022 14:31] – crowetic | linux [02/20/2023 19:15] – code formatting quickmythril | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Linux (Debian+Ubuntu+Mint) ====== | ====== Linux (Debian+Ubuntu+Mint) ====== | ||
{{: | {{: | ||
+ | {{ youtube> | ||
- | How to install Qortal on debian linux (ubuntu, mint, debian, debian-based distros.) | + | |
+ | **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, debian-based distros.) | ||
(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.) | ||
Line 12: | Line 16: | ||
1. Install Java, and Unzip- | 1. Install Java, and Unzip- | ||
- | < | + | < |
- | and install ' | ||
- | |||
- | < | ||
- | |||
2. Download the Qortal Core zip extract, make scripts executable, and run start.sh - https:// | 2. Download the Qortal Core zip extract, make scripts executable, and run start.sh - https:// | ||
Line 24: | Line 24: | ||
< | < | ||
- | 3. Download and install the Qortal UI debian | + | 3. Download and install the Qortal UI appimage |
- | < | + | < |
- | 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' | + | We recommend the AppImage version as it offers auto updates (which can be declined by the user if desired). |
Line 75: | 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 115: | 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 183: | 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 | ||
Line 196: | Line 164: | ||
**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:// |