home       inleiding       sysadmin       services       links       bash       werk       nothing      

install ubuntu server 16.04

... JABOP: just a bunch of printscreens ...
 

  1. maak een virtuele machine 512MB RAM
    ubuntu00-1

     

  2. VM: 16GB HD
    ubuntu00-2

     

  3. VM: bridged network
    ubuntu00-3

     

  4. start de installatie vanaf ubuntu16.iso
    ubuntu01
    ubuntu02

     

  5. kies altijd voor engels op een server ...
    ... dan vind je makkelijker foutmeldingen terug ...
    ubuntu03

     

  6. maar de plaats moet correct zijn voor de tijdzone
    ubuntu04
    ubuntu05

     

  7. engels is niet compatibel met belgië, dan kiezen we noodgedwongen voor amerikaans ...
    ubuntu06

     

  8. toetsenbord
    ubuntu07
    ubuntu08

      

  9. het systeem laadt nu één en ander ..
    ubuntu09

     

  10. hostname
    ubuntu10

     

  11. een username en paswoord
    ubuntu11
    ubuntu12

     

  12. encryptie van home-dir
    ubuntu13

     

  13. tijdzone
    ubuntu14

     

  14. eenvoudige automatische partitionnering
    ubuntu15
    ubuntu16

     

  15. format, kernel install e.d.
    ubuntu17

     

  16. software: proxy
    ubuntu18

     

  17. software: apt
    ubuntu19

     

  18. software: auto-updates
    ubuntu20

     

  19. software: standaard + ssh
    ubuntu21

     

  20. software: installing ..
    ubuntu22

     

  21. bootloader op /dev/sda
    ubuntu23

     

  22. klaar voor herstart ..
    ubuntu24

     

  23. herstart van de server
    ubuntu25
    ubuntu26
    ubuntu27

     

  24. test je toetsenbord vooraleer in te loggen
    ubuntu28

     

  25. vind je ip-address
    ubuntu29

     

  26. start nu een ssh session van win10 of linux Mint naar je server .... (alles bridged)
     
    ferdinand@lxvirt01 ~ $ ssh user@192.168.5.240
    The authenticity of host '192.168.5.240 (192.168.5.240)' can't be established.
    ECDSA key fingerprint is SHA256:ZQq+qHQJMwHScqSRQoXMOHJ9jlDc7+5HX+r8sxTXDVc.
    Are you sure you want to continue connecting (yes/no)? yes
    Warning: Permanently added '192.168.5.240' (ECDSA) to the list of known hosts.
    user@192.168.5.240's password: 
    Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-31-generic x86_64)
     
    * Documentation:  https://help.ubuntu.com
    * Management:     https://landscape.canonical.com
    * Support:        https://ubuntu.com/advantage
     
    161 packages can be updated.
    88 updates are security updates.
     
    Last login: Fri Jun  2 15:44:37 2017
    To run a command as administrator (user "root"), use "sudo <command>".
    See "man sudo_root" for details.

     

  27. update je repositories en upgrade je machine
     
    user@ubu16-c2c:~$ sudo apt-get update
    [sudo] password for user:
    Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
    Hit:2 http://be.archive.ubuntu.com/ubuntu xenial InRelease
    Hit:3 http://be.archive.ubuntu.com/ubuntu xenial-updates InRelease
    Hit:4 http://be.archive.ubuntu.com/ubuntu xenial-backports InRelease
    Reading package lists... Done        

     
    user@ubu16-c2c:~$ sudo apt-get upgrade

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    The following packages have been kept back:
    linux-generic linux-headers-generic linux-image-generic
    The following packages will be upgraded:
    accountsservice apparmor apport apt apt-transport-https apt-utils base-files bash bind9-host bsdutils
    cloud-initramfs-copymods cloud-initramfs-dyn-netconf console-setup console-setup-linux curl dbus
    distro-info-data dnsmasq-base dnsutils dpkg eject fuse gcc-5-base git git-man gnupg gpgv grub-legacy-ec2
    ifupdown init init-system-helpers initramfs-tools initramfs-tools-bin initramfs-tools-core iproute2
    isc-dhcp-client isc-dhcp-common kbd keyboard-configuration klibc-utils krb5-locales
    language-selector-common less libaccountsservice0 libapparmor-perl libapparmor1 libapt-inst2.0
    libapt-pkg5.0 libbind9-140 libblkid1 libc-bin libc6 libcurl3-gnutls libdbus-1-3 libdns-export162
    libdns162 libdrm2 libevent-2.0-5 libfdisk1 libfuse2 libgcrypt20 libglib2.0-0 libglib2.0-data
    libgnutls-openssl27 libgnutls30 libgssapi-krb5-2 libhogweed4 libicu55 libidn11 libisc-export160
    libisc160 libisccc140 libisccfg140 libk5crypto3 libklibc libkrb5-3 libkrb5support0 libldap-2.4-2
    liblwres141 liblxc1 libmount1 libnettle6 libp11-kit0 libpam-systemd libpci3 libprocps4 libpython3.5
    libpython3.5-minimal libpython3.5-stdlib librtmp1 libsmartcols1 libssl1.0.0 libstdc++6 libsystemd0
    libudev1 libuuid1 libxml2 linux-firmware locales login logrotate lxc-common lxcfs lxd lxd-client makedev
    mdadm mount multiarch-support nano ntfs-3g open-iscsi open-vm-tools openssh-client openssh-server
    openssh-sftp-server openssl overlayroot passwd pciutils procps python3-apport python3-distupgrade
    python3-problem-report python3-software-properties python3-update-manager python3.5 python3.5-minimal
    resolvconf snapd software-properties-common sosreport sudo systemd systemd-sysv tar tcpdump tzdata
    ubuntu-core-launcher ubuntu-release-upgrader-core udev uidmap unattended-upgrades update-manager-core
    update-notifier-common util-linux uuid-runtime vim vim-common vim-runtime vim-tiny vlan wget zlib1g
    154 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
    Need to get 117 MB of archives.
    After this operation, 68.4 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    -
    Get:1 http://be.archive.ubuntu.com/ubuntu xenial-updates/main amd64 base-files amd64 9.4ubuntu4.4 [60.2 kB]
    Get:2 http://be.archive.ubuntu.com/ubuntu xenial-updates/main amd64 bash amd64 4.3-14ubuntu1.2 [583 kB]
    Get:3 http://be.archive.ubuntu.com/ubuntu xenial-updates/main amd64 bsdutils amd64 1:2.27.1-6ubuntu3.2 [51.8 kB]
    Get:4 http://be.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg amd64 1.18.4ubuntu1.2 [2085 kB]
    Get:5 http://be.archive.ubuntu.com/ubuntu xenial-updates/main amd64 init-system-helpers all 1.29ubuntu4 [32.3 kB]
    Get:6 http://be.archive.ubuntu.com/ubuntu xenial-updates/main amd64 init amd64 1.29ubuntu4 [4624 B]
    Get:7 http://be.archive.ubuntu.com/ubuntu xenial-updates/main amd64 login amd64 1:4.2-3.1ubuntu5.3 [304 kB]
    ...
    Installing new version of config file /etc/console-setup/compose.ISO-8859-2.inc ...
    Installing new version of config file /etc/console-setup/compose.ISO-8859-3.inc ...
    Installing new version of config file /etc/console-setup/compose.ISO-8859-4.inc ...
    Installing new version of config file /etc/console-setup/compose.ISO-8859-7.inc ...
    Installing new version of config file /etc/console-setup/compose.ISO-8859-9.inc ...
    Setting up liblxc1 (2.0.7-0ubuntu1~16.04.2) ...
    Setting up lxc-common (2.0.7-0ubuntu1~16.04.2) ...
    Setting up lxd (2.0.9-0ubuntu1~16.04.2) ...
    Setting up python3-distupgrade (1:16.04.21) ...
    Setting up ubuntu-release-upgrader-core (1:16.04.21) ...
    Setting up update-manager-core (1:16.04.6) ...
    Setting up update-notifier-common (3.168.4) ...
    Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
    Processing triggers for libc-bin (2.23-0ubuntu7) ...
    Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
    update-initramfs: Generating /boot/initrd.img-4.4.0-31-generic
    W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
    Processing triggers for systemd (229-4ubuntu17) ...
    Processing triggers for ureadahead (0.100.0-19) ...
    Processing triggers for resolvconf (1.78ubuntu4) ...
    locale: Cannot set LC_ALL to default locale: No such file or directory

     

  28. lokale settings corrigeren
     
    Nu moeten we nog enkele settings voor belgië introduceren:
    user@ubu16-c2c:~$ sudo locale-gen nl_BE.UTF-8
    Generating locales (this might take a while)...
    nl_BE.UTF-8... done
    Generation complete.

    $ sudo locale-gen de_BE.UTF-8

    Generating locales (this might take a while)...
    de_BE.UTF-8... done
    Generation complete.

     

  29. toetstenbord juist zetten
     
    Tik het volgende in:
     
    sudo dpkg-reconfigure keyboard-configuration
     
  30. shutdown en kloon je server
     
    $ sudo init 0
     
    HOUD deze originele machine PROPER om 100 keer te klonen ...
     
    ubuntu41