![]() Add the repository by executing the command add-apt-repository ppa:linuxuprising/java and pressing enter.Install the package for managing repositories using the following command: apt install software-properties-common -y. ![]() Install Java with the following command: apt install openjdk-17-jre-headless -y.Accept the license terms by selecting the " OK" button using the Tab key, confirming the selection with Enter, selecting the " Yes" button using the arrow keys, and then pressing Enter again.Install Java with the following command: apt install oracle-java17-installer -y.Now update your package lists again with the command apt update.Add the repository by executing the command echo "deb focal main" | tee /etc/apt//java.list.Use the command apt-key adv -keyserver hkp://:80 -recv-keys 73C3DB2A to add the key needed for the Java repository.Next, install the packages needed for future installations in this tutorial by executing the following command: apt install gnupg curl dirmngr nano unzip -y.Now install any available updates of the packages already installed on your server using the command apt upgrade -y.Update your package lists with the command apt update.To do this, open PuTTY and enter the domain or IP address of your server in the text box named "Host Name (or IP address)". Connect to your root server or VPS/vServer via SSH using PuTTY.If you havn't already done so, download the program " PuTTY".Are you looking for very good, powerful and cheap servers? I've been renting my servers at Contabo for more than 10 years and I can highly recommend Contabo to everyone!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |