Ubuntu 16.04 Server Edition 英文版安裝教程

來源:本網整理

目前ubuntu官網上最新的ubuntu desk版是16.04,不知到你的17.04是哪里來的。下面跟你說一下jdk在16.04上的安裝步驟:1.查看系統位數,terminal輸入getconf LONG_BIT2.下載對應的JDK,這里下載的是jdk-8u102-linux-x64.tar.gz3.創建目錄作為JDK安裝目錄 這里選擇安裝位置為:/home/Java/(可自行選擇安裝路徑,之后的配置按照自己的安裝路徑來)sudo mkdir/home/Java4.解壓文件帶/home/Java/目錄下,文件下載的位置是在下載目錄下的cd~/下載sudo tar-zxvf jdk-8u102-linux-x64.tar.gz-C/home/Java/5.配置系統環境變量sudo gedit/etc/profile在最后加入export JAVA_HOME=home/Java/jdk1.8.0_102export JRE_HOME=$JAVA_HOME/jreexport CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$CLASSPATHexport PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH修改完成后保存并關閉,輸入以下命令使環境變量生效source/etc/profile6.查看安裝版本:java-version顯示java version"1.8.0_102Java(TM)SE Runtime Environment(build 1.8.0_102-b14)Java HotSpot(TM)64-Bit Server VM(build 25.102-b14,mixed mode)如依舊沒顯示先重啟www.13333515.buzz防采集請勿采集本網。

s">

Ubuntu 16.04 Server Edition 英文版安裝教程

作者:佚名 字體:[增加 減小] 來源:互聯網 時間:09-03 15:12:40 我要評論 這篇文章主要介紹了Ubuntu 16.04 Server Edition 英文版安裝教程,需要的朋友可以參考下 ">

Ubuntu Server 16.04, also named Xenial Xerus, has been released by Canonical and it’s now ready for installation.

檢查Java是否已經安裝在Ubuntu上 打開終端,使用下面的命令: java-version1 如果你看到像下面的輸出,這就意味著你并沒有安裝過Java: The program‘java’can be found in the following packages:

The details about this new LTS version can be found on the previous article: How to upgrade Ubuntu 15.10 to 16.04.

比如:http://www.cnblogs.com/samcn/archive/2011/03/16/1986248.html 解釋: java開發軟件(比如netbeans等)安裝時會自動查找 JAVA_HOME 這個環境變量,得到jdk的路徑,然后自動配置到配置文件中。java

This topic will guide you on how you can install Ubuntu 16.04 Server Edition with Long Time Support on your machine.

在 Ubuntu 中使用 PPA 安裝 Java 8(支持 Ubuntu 10.04-Ubuntu 14.04): sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install Oracle-java8-installer 完成之后可以

If you’re looking for Desktop Edition, read our previous article: Installation of Ubuntu 16.04 Desktop RequirementsUbuntu 16.04 Server ISO ImageInstall Ubuntu 16.04 Server Edition

Linux master 2.6.31-14-generic#48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 To access official Ubuntu documentation,please visit: http://help.ubuntu.com/ Last login:Mon Oct 18 17:12:40

1. On the first step visit the above link and download the latest version of Ubuntu Server ISO image on your computer.

16 Vista WinRE 軟件 1 17 筆記本電腦的電池從發票日期起享有一年保修期 1 18 適用戴爾條款及條件 1 19 在某些邊遠地區可能不提供下一工作日服務 1 20 Genuine Windows Vista(R)SP1 Home Premium 32bit

Once the image download completes, burn it to a CD or create a bootable USB disk using Unbootin (for BIOS machines) or Rufus (for UEFI machines).

2. Place the bootable media intro the appropriate drive, start-up the machine and instruct the BIOS/UEFI by pressing a special function key (F2, F11, F12) to boot-up from the inserted USB/CD drive.

In a few seconds you will be presented with the first screen of Ubuntu installer. Select your language to perform the installation and hit Enter key to move to the next screen.

Choose Ubuntu 16.04 Server Installation Language

Choose Ubuntu 16.04 Server Installation Language

3. Next, select the first option, Install Ubuntu Server and press Enter key to continue.

Install Ubuntu 16.04 Server

Install Ubuntu 16.04 Server

4. Select the language you with to install the system and press Enter again to continue further.

Select Language for Ubuntu 16.04 Server

Select Language for Ubuntu 16.04 Server

5. On the next series of screen choose your physical location from the presented list. If your location is different than the ones offered on the first screen, select other and hit Enter key, then select the location based on your continent and country. This location will be also used by the timezone system variable. Use the below screenshots as a guide.

Choose Location for Ubuntu 16.04 Server

Choose Location for Ubuntu 16.04 Server

Select Country Region

Select Country Region

Select Area Location

Select Area Location

6. Assign the locales and keyboard settings for your system as illustrated below and hit Enter to continue the installation setup.

Configure Locales

Configure Locales

Configure Keyboard Layout

Configure Keyboard Layout

7. The installer will load a series of additional components required for the next steps and will automatically configure your network settings in case you have a DHCP server on the LAN.

Because this installation is intended for a server it’s a good idea to setup a static IP address for your network interface.

To do this you can interrupt the automatic network configuration process by pressing on Cancel or once the installer reaches hostname phase you can hit on Go Back and choose to Configure network manually.

Set Ubuntu 16.04 Hostname

Set Ubuntu 16.04 Hostname

Configure Network Manually

Configure Network Manually

8. Enter your network settings accordingly (IP Address, netmask, gateway and at least two DNS nameservers) as illustrated on the below images.

Set Static IP Address on Ubuntu 16.04

Set Static IP Address on Ubuntu 16.04

Configure Network Mask for Ubuntu 16.04

Configure Network Mask for Ubuntu 16.04

Configure Network Gateway for Ubuntu 16.04

Configure Network Gateway for Ubuntu 16.04

Configure Network DNS on Ubuntu 16.04

Configure Network DNS on Ubuntu 16.04

9. On the next step setup a descriptive hostname for your machine and a domain (not necessary required) and hit on Continue to move to the next screen. This step concludes the network settings.

Set Ubuntu 16.04 Server Hostname

Set Ubuntu 16.04 Server Hostname

Set Ubuntu 16.04 Domain Name

Set Ubuntu 16.04 Domain Name

10. On this step the installer prompts you to setup a username and a password for your system. This username will be granted by the system with sudo powers, so, technically, this user will be the supreme administrator next to root account (which is disabled by default).

Thus, choose an inspired username, maybe hard to guess for security reasons, with a strong password and hit on Continue. Choose not to encrypt your home directory and press Enter to continue further.

Setup User and Password

Setup User and Password

11. Next, the installer will automatically set your clock based on the physical location configured earlier. In case the location is correctly chosen hit on Yes to continue to disk partition layout.

Configure System Clock

Configure System Clock

12. On the next step you can choose the method that will be used to slice up your disk. For instance, if you need to create custom partition scheme (such as /home, /var, /boot etc) choose Manual method.

For a general purpose server you can stick to Guided with LVM method as illustrated below, which automatically creates the partitions on your behalf.

Select Partition Method

Select Partition Method

13. Next, select the disk that will be used by the installer to create partitions and press Enter key.

Select Disk Partition

Select Disk Partition

14. Answer with Yes at the next screen in order to commit changes to disk with LVM scheme and hit on Continue to use the entire disk space for guided partitions.

Add Disk Partition Size

Add Disk Partition Size

Confirm Disk Partition Changes

Confirm Disk Partition Changes

15. Finally, approve for the last time the changes to be written to disk by pressing on Yes and the installation will now begin. From this step on all the changes will be committed to disk.

Confirm Disk Partition Changes

Confirm Disk Partition Changes

Installing Ubuntu 16.04 Server

Installing Ubuntu 16.04 Server

16. In case your system is behind a proxy or a firewall use the next screen to bypass the network restrictions, otherwise just leave it black and hit on Continue.

Configure System Package Manager

Configure System Package Manager

17. Next, the installer will configure apt repositories and will install the selected software. After it finishes the installation tasks a new screen will appear which will ask you how to manage the upgrade process. Select No automatic updates for now (you will manually select what updates are necessary) and hit Enter key to continue.

Manage Ubuntu 16.04 Upgrades

Manage Ubuntu 16.04 Upgrades

18. On the next step you will be asked to select what software to install. Select only standard system utilities and OpenSSH server (if you require remote access) by pressing the spacebar key and hit on Continue.

System Software Selection

System Software Selection

19. Once the installer finishes installing the software, a new screen will prompt you whether to install the Grub boot loader to hard disk MBR (first 512 byte sector). Obviously without the GRUB you can’t boot up your system after restart, so hit on Yes to continue with the installation.

Install Grub Boot Loader

Install Grub Boot Loader

20. Finally, after the boot loader is written to Hard Disk MBR, the installation process finishes. Hit on Continue to reboot the machine and remove the installation media.

Finish Ubuntu 16.04 Server Installation

Finish Ubuntu 16.04 Server Installation

21. After reboot, login to your system console using the credentials configured during the installation process and you’re good to go on production with your server.

Ubuntu 16.04 Server Login Prompt

Ubuntu 16.04 Server Login Prompt

That’s all! Keep in mind that this version of Ubuntu has official maintenance support from Canonical until 2021 for hardware, bugs, software and security updates.

1首先要在JDK官網下載對應的Linux的JDK版本。進入該網站后,先選擇Accept License Agreement然后即可下載。本人的Linux系統為ubuntukylin 16.04 64位的,因此選擇64位的系統下載。2、然后使用命令切換路徑cd/usr/lib3、在該目錄下創建一個文件夾sudo mkdir jvm4、進入默認的下載目錄下 home/下載/進行解壓文件(tar-zxvf jdk-8u91-linux-x64.tar.gz)5 切到 目錄下(cd~/下載),使用命令sudo mv jdk1.8.0_91/usr/lib/jvm將jdk移到/usr/lib/jvm目錄下6 接下來配置系統環境變量,這里是將環境變量配置在etc/profile,即為所有用戶配置JDK環境,使用命令sudo gedit/etc/profile打開/etc/profile文件,在末尾添加以下幾行文字[html]view plain copyset java environmentexport JAVA_HOME=usr/lib/jvm/jdk1.8.0_91export JRE_HOME=${JAVA_HOME}/jreexport CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/libexport PATH=${JAVA_HOME}/bin:$PATH7、配置軟連接,執行代碼為:sudo update-alternatives-install/usr/bin/java java/usr/lib/jvm/jdk1.8.0_91/bin/java 300sudo update-alternatives-install/usr/bin/javac javac/usr/lib/jvm/jdk1.8.0_91/bin/javac 3008 打開 命令提示行 驗證一下java-versionjavajavac內容來自www.13333515.buzz請勿采集。

免責聲明 - 關于我們 - 聯系我們 - 廣告聯系 - 友情鏈接 - 幫助中心 - 頻道導航
Copyright © 2017 www.13333515.buzz All Rights Reserved
3排列五开奖结果 福建11选5玩法规则 吉林11选5开奖结果 快乐双彩中几个好得奖 在线配资皆选杨方配资 500万彩票快乐8 青海十一选五官网 甘肃11选五中奖规则 北京pk10预测计划 山东十一选五走势图网易 广东11选5开市通知 重庆快乐10分开奖直播现场 快3助手里面的中奖宝典 配资网上上盈官网 心水一点必中特指什么 体彩排列五带坐标连线 68开头的是什么新股票