This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux [11/21/2021 01:36] – [Linux VPS Only Install] gfactor | linux [01/17/2024 21:07] (current) – crowetic | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Linux ====== | + | ====== Linux (Debian+Ubuntu+Mint) |
{{: | {{: | ||
+ | =====Installing Qortal on Linux - 2 Methods===== | ||
+ | You may also want to check out [[https:// | ||
+ | There is also a video on configuring Ubuntu+Cinnamon Desktop by crowetic on Q-Tube | ||
+ | < | ||
+ | [[https:// | ||
- | How to install Qortal on debian linux (ubuntu, mint, debian, etc.) | + | **Please note: |
- | (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.) | + | |
- | (all commands are run from terminal.) | + | |
- | pre-setup, you should update your apt repo - | + | |
- | sudo apt update | + | |
- | 1. Install Java - | + | =====New Method |
- | < | + | ====Step 1- Download the Qortal UI AppImage from qortal.org ==== |
- | + | ||
- | and install ' | + | |
- | < | + | ====Step 2 - Make the AppImage Executable (either right click it, properties, permissions, |
- | 2. Download | + | ====Step 3 - Run the AppImage file ==== |
- | < | + | ===Say YES to installing Java, if your machine doesn' |
- | 3. Download the Qortal | + | That's it, Qortal |
- | < | + | ===(additional optional visual improvments) === |
- | 4. Extract the Qortal | + | If you would like to have your Qortal-UI be named Qortal-UI, simply rename |
- | unzip qortal.zip | + | |
- | < | + | If you would like to have the logo attached to the Qortal-UI, right click the file, properties, click the 'blank logo' icon, and browse for the qortal.ico file. It can be found in [[official_images_press_kit|]] |
- | The mv command is only needed | + | You may also create ' |
- | 5. Change to newly created qortal directory, make scripts executable, and start Qortal: | ||
- | < | ||
- | chmod +x *.sh | ||
- | ./start.sh </ | ||
- | Qortal | + | =====Old/ |
+ | |||
+ | How to install Qortal on Linux (ubuntu, mint, debian, debian-based distros.) | ||
+ | (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.) | ||
+ | (all commands are run from terminal.) | ||
+ | pre-setup, you should update your apt repo - | ||
+ | |||
+ | < | ||
+ | |||
+ | 1. Install Java, and Unzip- | ||
+ | |||
+ | < | ||
+ | |||
+ | 2. Download the Qortal Core zip extract, make scripts executable, and run start.sh - https:// | ||
+ | |||
+ | 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. | ||
+ | |||
+ | < | ||
- | 6. Install | + | 3. Download and install the Qortal UI appimage installer |
- | < | + | < |
- | If the file isn't in your home folder | + | We recommend |
- | < | ||
- | 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. | + | 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. |
Once you have created your account and your node is synchronized, | Once you have created your account and your node is synchronized, | ||
**FYI: HELP GUIDES BELOW MAY SUGGEST BOOTSTRAPPING WHICH IS NO LONGER NEEDED AFTER CORE VERSION 2.0! These guides below were made prior to 2.0** | **FYI: HELP GUIDES BELOW MAY SUGGEST BOOTSTRAPPING WHICH IS NO LONGER NEEDED AFTER CORE VERSION 2.0! These guides below were made prior to 2.0** | ||
- | |||
- | For additional support go into the # | ||
https:// | https:// | ||
Line 63: | Line 71: | ||
**From MeadMan:** This is the basics of installing the core and UI on Linux from the command line. I use Kubuntu and these instructions work on most Ubuntu derivatives. If you are running some other distro document whatever you do during install and I'll update. | **From MeadMan:** This is the basics of installing the core and UI on Linux from the command line. I use Kubuntu and these instructions work on most Ubuntu derivatives. If you are running some other distro document whatever you do during install and I'll update. | ||
- | You will need several items installed to make it easier. Java, p7zip & curl. | + | You will need several items installed to make it easier. |
- | ----------------------------- | + | First, install |
- | Install | + | |
- | --------------- | + | |
See if you have it: | See if you have it: | ||
Line 76: | Line 82: | ||
OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04, | OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04, | ||
- | # If you do skip to "# | + | If you do skip to: ‘Install p7zip’ section. If not, then do this: https:// |
- | # Ref: https:// | + | For Ubuntu 20.04, run: |
- | # For Ubuntu 20.04, run: | + | < |
+ | sudo apt install openjdk-11-jdk</ | ||
- | sudo apt update | + | Install p7zip: |
- | sudo apt install openjdk-11-jdk | + | |
- | # Install p7zip | + | < |
- | | + | |
- | # Install curl | + | Install curl: |
- | sudo apt install curl | + | |
+ | < | ||
- | ----------------------------- | ||
- | Install Qortal | ||
- | --------------- | ||
- | # Get the files you need for Linux. They currently are: | + | **Install Qortal core: |
https:// | https:// | ||
- | https:// | ||
- | # You will need to use p7zip to uncompress | + | Now start the core: |
- | # We’re using "/ | + | < |
- | md /qortal | + | ./start.sh</ |
- | | + | |
- | cp ~/ | + | |
- | unzip qortal.zip | + | |
- | chmod 744 *.sh | + | |
- | # Using " | + | It should tell you it's passed |
- | | + | |
+ | " | ||
+ | qortal running as pid 2020" | ||
- | # The perms on the files in the new ./db directory should be 644 and if they aren't set them: | + | Make sure it is running: |
- | ls -l / | + | |
- | chmod 644 blockchain.data | + | |
- | chmod 644 blockchain.properties | + | |
- | chmod 644 blockchain.script | + | |
- | # Edit the settings in the " | + | < |
- | | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | # Now start the core | + | It stores the PID (Process ID) in the " |
- | cd /qortal | + | |
- | ./start.sh | + | |
- | + | ||
- | # It should tell you it's passed the java version check and give you the PID | + | |
- | Passed Java version check | + | |
- | qortal running as pid 2020 | + | |
- | + | ||
- | # Make sure it is running | + | |
- | ps -ef | grep -i qort | + | |
- | root 2020 1 31 13:52 pts/1 00:01:27 java -Djava.net.preferIPv4Stack=false -jar qortal.jar | + | |
- | + | ||
- | # It stores the PID (Process ID) in the " | + | |
cat run.pid | cat run.pid | ||
2020 | 2020 | ||
| | ||
- | # If you are running IPv4 only you will need this in your settings.json file: | + | To stop it gracefully: |
- | " | + | |
- | # Omit the comma at the end if it is the last line before the closing brace } | + | |
- | # To stop it gracefully | + | < |
- | | + | ./stop.sh</ |
- | ./stop.sh | + | |
- | --------------------------- | + | **Install Qortal-UI:** Right click on the qortal-ui_amd64.deb file and select "Open with QApt Package Installer" |
- | Install Qortal-UI | + | |
- | --------------- | + | |
- | + | ||
- | Right click on the qortal-ui_amd64.deb file and select "Open with QApt Package Installer" | + | |
If it is missing any libraries have it install them (click " | If it is missing any libraries have it install them (click " | ||
Line 166: | Line 137: | ||
Create Account Seed Phrase (Leave seed phrase hidden or save safely in a Veracrypt file). | Create Account Seed Phrase (Leave seed phrase hidden or save safely in a Veracrypt file). | ||
+ | |||
**If you are going to keep the seed phrase keep it in an encrypted file. Very important!** | **If you are going to keep the seed phrase keep it in an encrypted file. Very important!** | ||
Line 173: | Line 145: | ||
Current Wallet: | Current Wallet: | ||
- | Let it sync and once you can Q-Chat you are sync'd up. Ask for a coin so you can register a name | + | Let it sync and once you can Q-Chat you are sync'd up. Ask for a coin so you can register a name. |
Set your name in "Name Registration" | Set your name in "Name Registration" | ||
- | |||
===== Helpful Links & Docs ===== | ===== Helpful Links & Docs ===== | ||
Line 199: | Line 170: | ||
**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 | + | cd qortal |
- | wget https:// | + | chmod +x *.sh |
- | 7za x db.7z | + | ./start.sh </ |
- | 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 |
- | wget https:// | + | chmod +x *.sh |
- | 7za x db.7z | + | |
- | chmod 0777 start.sh | + | |
chown -R test / | chown -R test / | ||
su test | su test | ||
Line 238: | Line 205: | ||
**From Jaymen:** | **From Jaymen:** | ||
< | < | ||
- | unzip qortal.zip | + | unzip qortal.zip |
- | sudo apt-get install p7zip-full -y | + | cd qortal |
- | cd qortal | + | chmod +x *.sh |
- | wget https:// | + | |
- | 7z x db.7z | + | |
- | chmod 0777 start.sh | + | |
echo -en " | echo -en " | ||
./start.sh </ | ./start.sh </ |