Ubuntu18.04 Server版安装及使用(图文)

1 系统安装操作步骤

OS Version:1804
镜像下载:http://cdimage.ubuntu.com/releases/

1.1 选择安装语言:

1.2 安装界面选择第一项进行系统安装

1.3 选择安装过程中使用的语言,也是系统安装完后使用的默认语言

1.4 选择地区,这里先选择最后一项other,然后回车再选择Asia,最后选择China

1.5 选择语言环境

1.6 键盘布局检查,选择NO

1.7 选择美式键盘

1.8 确认使用美式键盘

1.9 配置主机名

1.10 创建一个普通用户和为其设置密码

1.11 确认时区

1.12 选择磁盘分区的方法,这里选手动分区

1.13 选择磁盘

1.14 确认对磁盘分区

1.15 对磁盘分区

1.16 创建新分区

1.17 指定分区大小,这里将磁盘的全部大小划分给该分区

1.18 选择分区类型,这里选主分区

1.19 分区完成

1.20 完成分区并写入数据

1.21 确认写入磁盘

1.22 是否使用代理,这里不填

1.23 是否自动更新,这里选择默认,不自动更新

1.24 选择安装组件,选择对应需要安装的组件,然后按空格键,这里选择OpenSSH Server

1.25 将GRUB引导加载程序安装到主引导记录

1.26 完成安装,确认重启服务器

1.27 登录系统

2 系统基础配置

官方文档:https://help.ubuntu.com/

2.1 更改主机名

# cat /etc/hostname
hechunping

2.2 更改网卡名称为eth*

# sed -i '/GRUB_CMDLINE_LINUX=/s/"$/net.ifnames=0 biosdevname=0"/' /etc/default/grub
# update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-55-generic
Found initrd image: /boot/initrd.img-4.15.0-55-generic
done
# reboot
# sed -i 's/ens33/eth0/' /etc/netplan/01-netcfg.yaml

2.3 配置root远程登录

# 默认情况下,ubuntu不允许root⽤⼾远程ssh,如果有实际场景需要允许root⽤⼾远程ssh,则需要设置root密码,并且编辑/etc/ssh/sshd_config⽂件修改如下:
~$ sudo vim /etc/ssh/sshd_config
32 #PermitRootLogin prohibit-password #默认为禁⽌登录
33 PermitRootLogin yes #改为允许登录

57 #PasswordAuthentication yes
58 PasswordAuthentication yes #打开密码认证,其实默认就是允许通过密码认证登录

~$ sudo su - root #切换到root⽤⼾环境
~# passwd #设置密码
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
~# systemctl restart sshd #重启ssh服务并测试root⽤⼾远程ssh连接

2.4 网络配置

官方文档:https://netplan.io/

Ubuntu 从 17.10 开始,已放弃在 /etc/network/interfaces ⾥固定IP的配置,⽽是改成 netplan ⽅式,配置⽂件是:/etc/netplan/01-netcfg.yaml

# ubuntu 17.04及之前的静态IP配置⽅式:
~# cat /etc/network/interfaces
root@hechunping:~# cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0 #⽹卡⾃启动,写⾃⼰要配置IP的实际⽹卡名称
iface eth0 inet static #配置静态IP,写⾃⼰要配置IP的实际⽹卡名称
address 172.18.3.12 #IP地址
netmask 255.255.0.0 #掩码
gateway 172.18.0.1 #⽹关
dns-nameservers 223.6.6.6 #DNS
dns-nameservers 223.5.5.5
#重启⽹络服务
~# /etc/init.d/networking restart
~# systemctl restart networking.service

2.4.1 单网卡静态IP地址

root@hechunping:~# cat /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
 version: 2
 renderer: networkd
 ethernets:
  eth0:
   dhcp4: no
   addresses: [192.168.7.132/24]
   gateway4: 192.168.7.2
   nameservers:
    addresses: [223.6.6.6]
root@hechunping:~# netplan apply

2.4.2 配置多网卡静态IP

# cat /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
 version: 2
 renderer: networkd
 ethernets:
  eth0:
   dhcp4: no
   addresses: [172.20.7.34/16]
   gateway4: 172.20.0.1
   nameservers:
    addresses: [223.6.6.6]
  eth1:
   dhcp4: no
   addresses: [192.168.7.34/24]
   routes:
    - to: 172.20.0.0/16
     via: 192.168.7.2
# netplan apply

2.4.3 单网卡桥接

# cat /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
 version: 2
 renderer: networkd
 ethernets:
  eth0:
   dhcp4: no
 bridges:
  br0:
   dhcp4: no
   addresses: [172.20.7.34/16]
   gateway4: 172.20.0.1
   nameservers:
    addresses: [223.6.6.6]
   interfaces:
    - eth0
# netplan apply

2.4.4 多网卡桥接

将br0和br1分别桥接到eth0和eth1。
# cat /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
 version: 2
 renderer: networkd
 ethernets:
  eth0:
   dhcp4: no
  eth1:
   dhcp4: no
 bridges:
  br0:
   dhcp4: no
   addresses: [172.20.7.34/16]
   gateway4: 172.20.0.1
   nameservers:
    addresses: [223.6.6.6]
   interfaces:
    - eth0
  br1:
   dhcp4: no
   addresses: [192.168.7.34/24]
   routes:
    - to: 172.20.0.0/16
     via: 192.168.7.2
   interfaces:
    - eth1
root@hechunping:~# netplan apply

2.4.5 双网卡绑定

需要提前安装好bridge命令,两块网卡使用同一种网络模式
# cat /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
 version: 2
 renderer: networkd
 ethernets:
  eth0:
   dhcp4: no
  eth1:
   dhcp4: no
 bonds:
  bond0:
   interfaces:
    - eth0
    - eth1
   addresses: [172.20.7.34/16]
   gateway4: 172.20.0.1
   nameservers:
    addresses: [223.6.6.6,223.5.5.5]
   parameters:
    mode: active-backup
    mii-monitor-interval: 100
# poweroff
# netplan apply

2.4.6 双网卡绑定+桥接

⽹卡绑定⽤于提供⽹卡接⼝冗余以及⾼可⽤和端⼝聚合功能,桥接⽹卡再给需要桥接设备的服务使⽤。

# cat /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
 version: 2
 renderer: networkd
 ethernets:
  eth0:
   dhcp4: no
  eth1:
   dhcp4: no
 bonds:
  bond0:
   interfaces:
    - eth0
    - eth1
   parameters:
    mode: active-backup
    mii-monitor-interval: 100
 bridges:
  br0:
   dhcp4: no
   addresses: [172.20.7.34/16]
   gateway4: 172.20.0.1
   nameservers:
    addresses: [223.6.6.6,223.5.5.5]
   interfaces:
    - bond0
# netplan apply

2.4.7 内外多网卡绑定

多⽹络情况下实现⽹卡绑定。这里使用桥接(eth0,eth1)和NAT(eth2,eth3)两种网络模式
# cat /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
 version: 2
 renderer: networkd
 ethernets:
  eth0:
   dhcp4: no
  eth1:
   dhcp4: no
  eth2:
   dhcp4: no
  eth3:
   dhcp4: no
 bonds:
  bond0:
   interfaces:
    - eth0
    - eth1
   addresses: [172.20.7.34/16]
   gateway4: 172.20.0.1
   nameservers:
    addresses: [223.6.6.6,223.5.5.5]
   parameters:
    mode: active-backup
    mii-monitor-interval: 100

  bond1:
   interfaces:
    - eth2
    - eth3
   addresses: [192.168.7.34/24]
   parameters:
    mode: active-backup
    mii-monitor-interval: 100
   routes:
    - to: 172.20.0.0/16
     via: 192.168.7.2
# netplan apply

2.4.8 内外多网卡绑定+桥接

# cat /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
 version: 2
 renderer: networkd
 ethernets:
  eth0:
   dhcp4: no
  eth1:
   dhcp4: no
  eth2:
   dhcp4: no
  eth3:
   dhcp4: no
 bonds:
  bond0:
   interfaces:
    - eth0
    - eth1
   parameters:
    mode: active-backup
    mii-monitor-interval: 100

  bond1:
   interfaces:
    - eth2
    - eth3
   parameters:
    mode: active-backup
    mii-monitor-interval: 100
 bridges:
  br0:
   dhcp4: no
   addresses: [172.20.7.34/16]
   gateway4: 172.20.0.1
   nameservers:
    addresses: [223.6.6.6,223.5.5.5]
   interfaces:
    - bond0
  br1:
   dhcp4: no
   addresses: [192.168.7.34/24]
   routes:
    - to: 172.20.0.0/16
     via: 192.168.7.2
   interfaces:
    - bond1
# netplan apply

3 软件包管理

3.1 修改软件仓库地址

阿⾥云仓库地址:https://developer.aliyun.com/mirror
中科⼤:http://mirrors.ustc.edu.cn/help/ubuntu.html
清华⼤学:https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/
华为:https://mirrors.huaweicloud.com/

###### 清华源配置 ######
Ubuntu 的软件源配置文件是 /etc/apt/sources.list。将系统自带的该文件做个备份,将该文件替换为下面内容,即可使用 TUNA 的软件源镜像。
# cd /etc/apt/
# cp -p sources.list sources.list.bak
# vim sources.list
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse

# 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
# apt update #更新本地软件包列表索引,修改了apt仓库后必须执⾏

###### 阿里源配置 ######
# sed -i 's/cn.archive.ubuntu/mirrors.aliyun/' /etc/apt/sources.list
# apt update #更新本地软件包列表索引,修改了apt仓库后必须执⾏

3.2 apt工具使用

apt list #apt列出仓库软件包,等于yum list
apt search NAME #搜索安装包
apt show apache2 #查看某个安装包的详细信息
apt install apache2 #在线安装软件包
apt remove apache2 #卸载单个软件包但是保留配置⽂件
apt autoremove apache2 #删除安装包并解决依赖关系
apt update #更新本地软件包列表索引,修改了apt仓库后必须执⾏
apt purge apache2 #卸载单个软件包删除配置⽂件
apt upgrade #升级所有已安装且可升级到新版本的软件包
apt full-upgrade #升级整个系统,必要时可以移除旧软件包。
apt edit-sources #编辑source源⽂件
apt-cache madison nginx #查看仓库中软件包有哪些版本可以安装
apt install nginx=1.14.0-0ubuntu1.6 #安装软件包的时候指定安装具体的版本

3.3 dpkg安装包管理

rpm:RPM(Red Hat Package Manager),是基于Red hat的Linux Distribution的包管理系统,同时也指rpm包本⾝,RPM⽤于rpm包的管理(诸如安装、卸载、升级等)
"dpkg "是"Debian Packager "的简写,为 "Debian"专⻔开发的套件管理系统,⽅便软件的安装、更新及移除。所有源⾃“Debian”的“Linux ”发⾏版都使⽤ “dpkg”,例如 “Ubuntu”、“Knoppix ”等。

dpkg -i gitlab-ce_11.9.8-ce.0_amd64.deb #安装某个软件包
dpkg -r gitlab-ce #删除某个软件包保留配置⽂件
dpkg -r -P gitlab-ce #删除某个软件包不保留配置⽂件
dpkg -I gitlab-ce_11.9.8-ce.0_amd64.deb #查看软件包信息
dpkg -c gitlab-ce_11.9.8-ce.0_amd64.deb #查看软件包内的⽂件及⽬录内容
dpkg -l #列出本机已经安装的所有软件

3.4 设置oracle JDK环境

# pwd
/usr/local/src
解压⼆进制⽂件并设置软连接:
# tar xf jdk-8u212-linux-x64.tar.gz
# ln -sv /usr/local/src/jdk1.8.0_212 /usr/local/jdk
配置环境变量:
# vim /etc/profile
export JAVA_HOME=/usr/local/jdk
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
export CLASSPATH=.$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$JAVA_HOME/lib/tools.jar
重新导⼊环境变量并验证:
# source /etc/profile
# java -version
java version "1.8.0_212"
Java(TM) SE Runtime Environment (build 1.8.0_212-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.212-b10, mixed mode)

3.5 安装OpenJDK

# apt install openjdk-8-jdk

3.6 安装常⽤系统命令

# apt purge ufw lxd lxd-client lxcfs lxc-common
# apt install iproute2 ntpdate tcpdump telnet traceroute nfs-kernel-server nfs-common lrzsz tree openssl libssl-dev libpcre3 libpcre3-dev zlib1g-dev ntpdate tcpdump telnet traceroute gcc openssh-server lrzsz tree openssl libssl-dev libpcre3 libpcre3-dev zlib1g-dev ntpdate tcpdump telnet traceroute iotop unzip zip

3.7 系统资源限制优化

#cat /etc/security/limits.conf
#root账⼾的资源软限制和硬限制
root soft core unlimited
root hard core unlimited
root soft nproc 1000000
root hard nproc 1000000
root soft nofile 1000000
root hard nofile 1000000
root soft memlock 32000
root hard memlock 32000
root soft msgqueue 8192000
root hard msgqueue 8192000
#其他账⼾的资源软限制和硬限制
* soft core unlimited
* hard core unlimited
* soft nproc 1000000
* hard nproc 1000000
* soft nofile 1000000
* hard nofile 1000000
* soft memlock 32000
* hard memlock 32000
* soft msgqueue 8192000
* hard msgqueue 8192000

3.8e 内核参数优化

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
net.ipv4.ip_nonlocal_bind = 1
net.ipv4.ip_forward = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1
# Disable netfilter on bridges.
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
# Controls the default maxmimum size of a mesage queue
kernel.msgmnb = 65536
# # Controls the maximum size of a message, in bytes
kernel.msgmax = 65536
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736
# # Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296
# TCP kernel paramater
net.ipv4.tcp_mem = 786432 1048576 1572864
net.ipv4.tcp_rmem = 4096 87380 4194304
net.ipv4.tcp_wmem = 4096 16384 4194304
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_sack = 1
# socket buffer
net.core.wmem_default = 8388608
net.core.rmem_default = 8388608
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.core.netdev_max_backlog = 262144
net.core.somaxconn = 20480
net.core.optmem_max = 81920
# TCP conn
net.ipv4.tcp_max_syn_backlog = 262144
net.ipv4.tcp_syn_retries = 3
net.ipv4.tcp_retries1 = 3
net.ipv4.tcp_retries2 = 15
# tcp conn reuse
net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_tw_reuse = 0
net.ipv4.tcp_tw_recycle = 0
net.ipv4.tcp_fin_timeout = 1
net.ipv4.tcp_max_tw_buckets = 20000
net.ipv4.tcp_max_orphans = 3276800
net.ipv4.tcp_synack_retries = 1
net.ipv4.tcp_syncookies = 1
# keepalive conn
net.ipv4.tcp_keepalive_time = 300
net.ipv4.tcp_keepalive_intvl = 30
net.ipv4.tcp_keepalive_probes = 3
net.ipv4.ip_local_port_range = 10001 65000
# swap
vm.overcommit_memory = 0
vm.swappiness = 10
#net.ipv4.conf.eth1.rp_filter = 0
#net.ipv4.conf.lo.arp_ignore = 1
#net.ipv4.conf.lo.arp_announce = 2
#net.ipv4.conf.all.arp_ignore = 1
#net.ipv4.conf.all.arp_announce = 2

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持我们。

(0)

相关推荐

  • Ubuntu Server 11.10安装配置lamp(Apache+MySQL+PHP)

    准备篇: 1.配置防火墙,开启80端口.3306端口 说明:Ubuntu默认安装是没有开启任何防火墙的,为了服务器的安全,建议大家安装启用防火墙设置,这里推荐使用iptables防火墙. whereis iptables #查看系统是否安装防火墙 iptables: /sbin/iptables /usr/share/iptables /usr/share/man/man8/iptables.8.gz #表示已经安装iptables apt-get install iptables #如果默认没

  • 在Ubuntu 16.04 Server上安装Zabbix的方法

    监控服务器 - 什么是 Zabbix Zabbix 是企业级开源分布式监控服务器解决方案.该软件能监控网络的不同参数以及服务器的完整性,还允许为任何事件配置基于电子邮件的警报.Zabbix 根据存储在数据库(例如 MySQL)中的数据提供报告和数据可视化功能.软件收集的每个测量指标都可以通过基于 Web 的界面访问. Zabbix 根据 GNU 通用公共许可证版本 2(GPLv2)的条款发布,完全免费. 在本教程中,我们将在运行 MySQL.Apache 和 PHP 的 Ubuntu 16.04

  • Ubuntu Server 16.04下mysql8.0安装配置图文教程

    Ubuntu Server 16.04下mysql8.0安装配置图文教程 1.从Mysql官网上下载安装文件.有两种方式可供选择: 使用APT安装方式安装 使用完整的安装包进行安装 sudo dpkg -i mysql-apt-config_0.8.6-1_all.deb 2.更新系统安装源 sudo apt-get update 3.安装Mysql服务 sudo apt-get install mysql-server 4.修改Mysql Server的字符集 要修改字符集,首先得找到Mysq

  • Ubuntu Server 16.04 LTS 上安装 LAMP图解教程

    LAMP 方案是一系列自由和开源软件的集合,包含了 Linux.Web 服务器 (Apache). 数据库服务器 (MySQL / MariaDB) 和 PHP (脚本语言).LAMP 是那些需要安装和构建动态网页应用的基础平台,比如WordPress.Joomla.OpenCart 和 Drupal. 在这篇文章中,我将描述如何在 Ubuntu Server 16.04 LTS 上安装 LAMP,众所周知 Ubuntu 是一个基于 Linux 的操作系统,因此它构成了 LAMP 的第一个部分,

  • VirtualBox安装Ubuntu Server16.04虚拟机的图文教程

    1.新建虚拟机 VirtualBox点击新建,选择Linux Ubuntu 虚拟硬盘类型选择VHD(虚拟硬盘) 动态分配 选择好保存位置和硬盘大小,创建. 2.安装系统 选择"存储"--"控制器",加载Ubuntu Server光盘镜像 选择好后启动. 选英文 位置信息,选择other--Asia--China 系统语言和键盘设置 选English(US) 设置计算机名 用户名,密码 是否使用弱密码,是 是否加密,否 时区是否正确 磁盘分区,默认就行 网络代理 是否

  • Vmware下Ubuntu server版安装图文教程

    本文为大家分享了Ubuntu server版安装图文教程,供大家参考,具体内容如下 创建虚拟机步骤 1. 创建虚拟机 2. 登录系统 3. 先启用root用户 4. 对 openssh server进行配置 5. vi /etc/ssh/sshd_config 找到PermitRootLogin without-password一行,改为PermitRootLogin yes 6. 重启 openssh server $ sudo service ssh restart 7. xshell连接虚

  • ubuntu16.04下安装openssh-server报依赖错误的完美解决方法(非常不错)

    问题:系统重装后,安装和配置SSH,防火墙配置 #安装install openssh-server sudo apt install openssh-server -y 遇到问题: sudo apt install openssh-server -y 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 有一些软件包无法被安装.如果您用的是 unstable 发行版,这也许是 因为系统无法达到您要求的状态造成的.该版本中可能会有一些您需要的软件 包尚未被创建或

  • Ubuntu server 11.04安装memcache及php使用memcache来存储session的方法

    本文实例讲述了Ubuntu server 11.04安装memcache及php使用memcache来存储session的方法.分享给大家供大家参考,具体如下: 1.首先安装memcache服务端: sudo apt-get install memcached 安装完成后系统 自动启动了 memcached服务占用11211端口 如需重新配置11211端口的服务 需要关闭已开启的memcached服务 手动启动: memcached -d -m 128 -p 11211 -u memcache

  • 在 Ubuntu 12.04 Server 上安装部署 Ruby on Rails 应用

    本教程只适合 Ubuntu Server 用于部署项目到线上,建议使用同样的 Ubuntu 版本,以免遇到一些版本不同带来的问题. 本教程适合新手初次部署 Rails 应用: 本文测试通过环境 Ubuntu 12.04 Server, 服务器安装测试于 Linode VPS (Ubuntu 12.04 LTS (GNU/Linux 3.4.2-x86_64-linode25 x86_64). 配置 Ubuntu Server 系统 如果你是国内服务器,推荐修改网易的源 输入 sudo vi /e

  • Ubuntu18.04 Server版安装及使用(图文)

    1 系统安装操作步骤 OS Version:1804 镜像下载:http://cdimage.ubuntu.com/releases/ 1.1 选择安装语言: 1.2 安装界面选择第一项进行系统安装 1.3 选择安装过程中使用的语言,也是系统安装完后使用的默认语言 1.4 选择地区,这里先选择最后一项other,然后回车再选择Asia,最后选择China 1.5 选择语言环境 1.6 键盘布局检查,选择NO 1.7 选择美式键盘 1.8 确认使用美式键盘 1.9 配置主机名 1.10 创建一个普

  • Ubuntu18.04 中tomcat9安装图文教程

    1.官网下载 2.移动到/usr/local/tomcat 3.解压 4.修改权限,否则在idea中不能正常使用 总结 以上所述是小编给大家介绍的Ubuntu18.04 中tomcat9安装图文教程,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的.在此也非常感谢大家对我们网站的支持!

  • Ubuntu18.04.2下安装 RTX2080 Nvidia显卡驱动的方法

    不久前入手了蓝天P870TM1G准系统,配置如下: 1. Z370主板 2. i9-9900k桌面处理器 3. RTX2080移动版 由于显卡太新的缘故,安装Ubuntu16.04时,试了好多版本,只有16.04.6能顺利安装,可是继续安装Nvidia显卡驱动时各种失败,最后重装了18.04.2版本.接着尝试安装显卡驱动. 通常情况下在使用命令 sudo apt-get update, sudo apt-get upgrade 后,就可以在 Software & Updates 里面的Addit

  • SQL Server 2012 安装与启动图文教程

    本文给大家介绍sql server2012安装与启动图文教程,非常详细. sqlserver2012安装步骤如下所示: SQL Server 2012 安装过程很漫长, 里面很多界面不一一截取了,我分别在win7 企业版 64位 和 win10专业版SP1 64位 装了SQL Server 2012 ,都没有问题. 1. 安装的功能选择,选择"全部" 2. 数据库引擎设置,选择"混合模式",给系统管理员sa设定登录密码. 如果你在安装的时候选择的是windows登录

  • Windows Server 2019安装域控制器(图文教程)

    (1)打开服务器管理器,添加角色和功能. (2)出现“添加角色和功能”界面,下一步  . (3)根据提示操作,下一步. (4)选择添加AD域服务(Active Directory 域服务),同时添加所需功能. (5)根据提示操作,下一步 (6)安装完成 . 配置域 (1)点击服务器管理器左侧“AD DS” .点击黄色提示部分中的更多. (2)点击“将此服务器升级为域控制器” . (3)进入AD域服务器配置向导,选择 “添加新林” ,输入域,点击下一步. (4)填写密码,下一步 . (5) 出现关

  • SQL Server 2016正式版安装配置过程图文详解

    本文针对SQL 2016 正式版安装过程进行梳理总结,帮助大家顺利安装SQL 2016,具体内容如下 1.点击全新安装 2.接着就是下一步,下一步... 3.选择你要安装的功能 [可以利用PolyBase,使用标准TSQL查询hadoop数据,但这里我不需要装] 4.设置排序规则 5.设置登录用户 6.临时数据库配置[SQL Server 2016:可以根据逻辑CPU数量来调整tempdb的数据文件数量] 7.数据库安装完成后,点击安装管理工具 8.管理工具要从官网去下载[https://msd

  • mysql 5.7.21解压版安装配置方法图文教程(win10)

    mysql 5.7.21解压版安装配置方法,供大家参考,具体内容如下 1. 官网下载MYSQL压缩文件. 下载网址 2. 解压文件 直接解压,解压后安装包目录如下:(注意:此时没有data目录和.Ini文件) 3. 将文件放入自己想放的目录,下面是我放的目录 4. 由于解压后没有.ini文件在此目录下新建my.ini文件 .Ini文件内容如下: [mysqld] port = 3306 basedir=C:\Program Files\MYSQL\MySQL Server 5.7.21 data

随机推荐