Panduan Simpan konten file public ssh key pada clipboard cat ~/.ssh/id_rsa.pub # simpan output Menambahkan SSH Public Key pada akun Launchpad Kunjungi https://launchpad.net/~<user-id> Klik “SSH keys: +” Salin key yang sudah tersimpan pada clipboard lalu klik “Import Public Key” Import SSH Key ssh-import-id lp:<user-id> # Example: # ssh-import-id lp:aryasaurus Referensi Launchpad ssh-import-id man ubuntu ssh-import-id
Pendahuluan Bcache adalah teknologi cache terhadap block device yang memungkinkan kita menggabungkan 2 perangkat SSD/NVMe dan HDD sehingga kita bisa mendapatkan performa baca tulis yang lebih baik. Caching akan dilakukan pada SSD (Caching Device) dan data tetap akan disimpan pada HDD (Backing Device).
Glosari Bcache: Linux kernel block layer cache Backing Device: Tempat data disimpan (Biasanya HDD) Cache Device: Tempat cache disimpan (Biasanya SSD/NVMe) Panduan Membuat bcache backing device make-bcache -B /dev/vdb Membuat bcache cache device make-bcache -C /dev/vdc Contoh output lsblk...
Prasyarat Akun NVIDIA Developer Panduan Unduh cuda disini dan cudnn disini # Create directory mkdir /root/nvidia; cd /root/nvidia/ # cuda wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin wget https://developer.download.nvidia.com/compute/cuda/11.4.2/local_installers/cuda-repo-ubuntu1804-11-4-local_11.4.2-470.57.02-1_amd64.deb # cudnn wget -O cudnn-11.4-linux-x64-v8.2.4.15.tgz \ https://developer.nvidia.com/compute/machine-learning/cudnn/secure/8.2.4/11.4_20210831/cudnn-11.4-linux-x64-v8.2.4.15.tgz?<download_token> wget -O libcudnn8_8.2.4.15-1+cuda11.4_amd64.deb \ https://developer.download.nvidia.com/compute/machine-learning/cudnn/secure/8.2.4/11.4_20210831/cudnn-11.4-linux-x64-v8.2.4.15.tgz?<download_token> wget -O libcudnn8-dev_8.2.4.15-1+cuda11.4_amd64.deb \ https://developer.download.nvidia.com/compute/machine-learning/cudnn/secure/8.2.4/11.4_20210831/Ubuntu18_04-x64/libcudnn8-dev_8.2.4.15-1%2Bcuda11.4_amd64.deb?<download_token> wget -O libcudnn8-samples_8.2.4.15-1+cuda11.4_amd64.deb \ https://developer.download.nvidia.com/compute/machine-learning/cudnn/secure/8.2.4/11.4_20210831/Ubuntu18_04-x64/libcudnn8-samples_8.2.4.15-1%2Bcuda11.4_amd64.deb?<download_token> Pasang cuda mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600 dpkg -i cuda-repo-ubuntu1804-11-4-local_11.4.2-470.57.02-1_amd64.deb apt-key add /var/cuda-repo-ubuntu1804-11-4-local/7fa2af80.pub apt-get update apt-get -y install cuda Pasang cudnn library # pasang cudnn library file tar -xzvf cudnn-11....
Panduan Simpan docker image Tanpa kompresi # Contoh: # docker save name_image/id_image:tag > nama_output docker save nginx:latest > nginx.tar Dengan kompresi # Contoh: # docker save name_image/id_image:tag | gzip > nama_output docker save nginx:latest | gzip > nginx.tar.gz Perbandingan tanpa kompresi dengan kompresi gzip terhadap container image nginx
smolflow :: ~ » ls -lh nginx.tar nginx.tar.gz -rw-r--r-- 1 ada ada 132M Oct 24 20:16 nginx.tar -rw-r--r-- 1 ada ada 50M Oct 24 20:16 nginx....
Panduan Jalankan script untuk pemasangan repository curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash Pasang GitLab
Menggunakan alamat Domain sudo EXTERNAL_URL="https://gitlab.example.com" dnf install -y gitlab-ce Menggunakan alamat IP # dengan alamat IP sudo EXTERNAL_URL="https://192.168.10.10" dnf install -y gitlab-ce Dapatkan password untuk login pertama kali
sudo cat /etc/gitlab/initial_root_password Masuk GitLab via browser