Modul Training Ubuntu Server
Modul Training Ubuntu Server
Agus Setiawan
Lab 01. Persiapan Software
Hands On Lab
Lab 03. Remote SSH
SSH, or Secure Shell, is a protocol used to securely log onto remote systems. It is the most common way
to access remote Linux servers.
Open Putty , input IP Address of Linux Server & Connect to port 22 (default)
Lab 04. Basic Linux Command
References :
https://i.redd.it/rl0fe7r6zku11.jpg
Structure Command :
ubuntu@nxt:~$ su - focal
ubuntu@nxt:~$ su -
Lab 05. Initial Settings : Enable root User Account
root@nxt:~# vi /etc/pam.d/su
root@nxt:~# vi /etc/netplan/01-netcfg.yaml
root@nxt:~# ip addr
Lab 05. Initial Settings : Network Settings
Install NTPd and Configure NTP server for time adjustment. NTP uses 123/UDP.
root@nxt:~# apt -y install ntp
root@nxt:~# vi /etc/ntp.conf
root@nxt:~# ntpq -p
Lab 07. Transfer File Using SSH
root@nxt:~# vi /etc/ssh/sshd_config
PermitRootLogin no
root@nxt:~# vi /etc/vsftpd.conf
root@nxt:~# vi /etc/vsftpd.chroot_list
Ubuntu
ascii_upload_enable=YES
ascii_download_enable=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
ls_recurse_enable=YES
local_root=public_html
seccomp_sandbox=NO
Lab 09. SAMBA
root@nxt:~# apt -y install samba
root@nxt:~# vi /etc/samba/smb.conf
[Share]
path = /home/share
writable = yes
guest ok = yes