Yardımcı Komutlar¶
Sunucuya Bağlan¶
Basic Authantucation
PS C:\Users\emrahtaylan> ssh alpata@192.168.1.31
alpata@192.168.1.31's password:
Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-65-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Fri 09 Apr 2021 06:33:19 AM UTC
System load: 1.93
Usage of /: 19.8% of 156.00GB
Memory usage: 66%
Swap usage: 1%
Processes: 573
Users logged in: 0
IPv4 address for br-1a0fb33563a8: 192.168.16.1
IPv4 address for br-3baac721a018: 172.21.0.1
IPv4 address for br-83b429d99a12: 192.168.128.1
IPv4 address for br-9250a8dfd5af: 172.23.0.1
IPv4 address for br-aa54ea486a8d: 172.24.0.1
IPv4 address for br-ab353dc581b0: 192.168.64.1
IPv4 address for br-d39fa9c820c7: 192.168.80.1
IPv4 address for br-e6f209a84284: 172.28.0.1
IPv4 address for br-f58112ca11c8: 172.30.0.1
IPv4 address for docker0: 172.17.0.1
IPv4 address for ens32: 192.168.1.31
* Introducing self-healing high availability clusters in MicroK8s.
Simple, hardened, Kubernetes for production, from RaspberryPi to DC.
https://microk8s.io/high-availability
53 updates can be installed immediately.
0 of these updates are security updates.
To see these additional updates run: apt list --upgradable
*** System restart required ***
Last login: Thu Apr 8 13:44:58 2021 from 192.168.1.254
Sunucu Güncelleme¶
Güncelleme uyarı alır isek yapmamızda fayda var ancak uyarı almamış olsak bile çalıştırmamızda herhangi bir zarar bulunmaz.
...
53 updates can be installed immediately. #Güncelleme uyarısı
...
Güncellemeleri yapmak için ilk önce güncelleme paketleri indirilir. Aşağıdaki komut ile bu işlemi yapabilirsiniz. sudo ile çalıştırdığımız için bizlere admin şifresini soracaktır şifre girişi sonrası paketler indirilmeye başlar.
sudo apt update
[sudo] password for alpata:
Paketler indirildikten sonra kurulumları aşağıdaki komut yardımı ile sağlanır. Komut sonrası bazı yükseltmeler için onayınızı isteyebilir.
sudo apt upgrade
Update Kontrol Listesi¶
Update kontrol listesine bir link eklemek için aşağıdaki komutdan faydalanılabilir.
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
FTP kurulumu¶
WinScp uygulamasını bilgisayarınıza kurarak tüm işlemlerinizi rahatca yapabilirsiniz
FTP kurulumu için vsftp paketi kurulur
sudo apt install vsftpd
sudo systemctl restart vsftpd
sudo chmod -R a+rx /alpata
Kaynak olarak how to set up vsftpd for a user s directory kullanılmıştır
Yeniden Başlat¶
sudo reboot
Ek bilgiler¶
apt paket yönetimi içindir