Getting error while opening /etc/profile: Error reading lock file ./.profile.swp: Not enough data read

Solusi : rm ./.profile.swp di folder yg sama dengan file yg di buka ( file nya memang di hidden ) Related Posts:Membuat CRUD Sederhana Dengan PHP dan MySQLSolusi Ketika Yum Update error pada Centos 7Ntpd error while loading shared libraries pada centos 7The following signatures couldn’t be verified…Install Apache Maven pada Rocky LinuxNextCloud Admin Issue … Read more

Membuat rc.local Pada Debian 9

1. Edit file /etc/systemd/system/rc-local.service # nano /etc/systemd/system/rc-local.service [Unit] Description=/etc/rc.local ConditionPathExists=/etc/rc.local [Service] Type=forking ExecStart=/etc/rc.local start TimeoutSec=0 StandardOutput=tty RemainAfterExit=yes SysVStartPriority=99 [Install] WantedBy=multi-user.target 2. Edit the “rc.local” file : # nano /etc/rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will “exit … Read more

The following signatures couldn’t be verified because the public key is not available ( ubuntu/debian)

error : Hit:1 http://security.debian.org/debian-security stretch/updates InRelease Ign:2 http://kambing.ui.ac.id/debian stretch InRelease Hit:3 http://kambing.ui.ac.id/debian stretch Release Hit:5 http://ftp.debian.org/debian stretch-backports InRelease Err:4 https://packages.sury.org/php stretch InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743 Reading package lists… Done W: An error occurred during the signature verification. The repository is not updated and … Read more

Backup dari Debian/Ubuntu/Centos/Open BSD ke Synology

–Backup dari Debian/Ubuntu ke Synology apt-get install ftp-upload mkdir /usr/src/backup/ nano /usr/src/backup.sh chmod a+x /usr/src/backup.sh isi file : #!/bin/bash export LC_ALL=”en_US.utf8″ cd /etc/dnsdist/ tar -czf /usr/src/backup/dnsdist-$(date +%d%m%Y).tar.gz * sleep 1m ftp-upload -h lapo.games.com:221 -u server –password kucing123 -d /Provisioning/Server/DNS/ /usr/src/backup/*$(date +%d%m%Y).tar.gz find /usr/src/backup/dnsdist-* -mtime +7 -exec rm {} \; KET : -lapo.games.com:221 -> server nya … Read more

Menambahkan repository local debian

# nano /etc/apt/sources.list #KAMBING-UI deb http://kambing.ui.ac.id/debian/ stretch main contrib non-free deb http://kambing.ui.ac.id/debian/ stretch-updates main contrib non-free deb http://kambing.ui.ac.id/debian-security/ stretch/updates main contrib non-free #KEBO VLSM deb http://kebo.vlsm.org/debian/ stretch main contrib non-free deb http://kebo.vlsm.org/debian/ stretch-updates main contrib non-free deb http://kebo.vlsm.org/debian-security/ stretch/updates main contrib non-free #DATA UTAMA SURABAYA deb http://kartolo.sby.datautama.net.id/debian/ stretch main contrib non-free deb http://kartolo.sby.datautama.net.id/debian/ stretch-updates main contrib non-free deb http://kartolo.sby.datautama.net.id/debian-security/ stretch/updates main contrib non-free #UNEJ deb http://mirror.unej.ac.id/debian/ stretch main … Read more