disable – kswapd0 runs at 99.9% CPU
- kill all running process of services, or stop services
- type
swapoff -a
for disable swap - running all services again.
swapoff -a
for disable swapthe problem:
myhostname postfix/smtpd[26105]: fatal: open database /etc/postfix/sender_whitelist.db: Bad file descriptor
myhostname postfix/master[25978]: warning: process /usr/libexec/postfix/smtpd pid 26105 exit status 1
myhostname postfix/master[25978]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
solve this problem:
# vim /etc/postfix/main.cf
remove this config "check_sender_access hash:/etc/postfix/sender_whitelist"
and then restart postfix service.
1 |
# dmidecode --type 17 |
Dulu sudah pernah ditulis dan rasanya sekarang sudah banyak beredar juga di internet.. semoga tulisan ini masih bisa bermanfaat untuk belajar bersama..
1 |
# apt-get install bind9 |
1 2 3 |
# cd /etc/bind/ # cp db.127 /var/cache/bind/db.10 # cp db.local /var/cache/bind/db.kukukaki |
First, login in your proxmox over ssh and type this command:
1 2 3 4 5 6 7 8 |
root@px:~# lxc-ls 100 104 106 107 108 116 root@px:~# lxc-attach 116 root@b-test:~# passwd yourPassword nb: lxc-ls : for list the containers existing on the system lxc-attach : for runs the specified command inside the container specified by name |
Problem
1 2 3 4 |
[ERROR] I/O error reading the header from the binary log, errno=175, io cache code=0 [ERROR] I/O error reading the header from the binary log [ERROR] Can't init tc log [ERROR] Aborting' |
solved
1 2 |
# rm /var/log/mysql/mysql-bin.index # service mysql start/restart |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# apt-get install build-essential g++ make zlib1g-dev libreadline5-dev # wget -c http://mirror.poliwangi.ac.id/postgresql/source/v9.4.9/postgresql-9.4.9.tar.gz # tar zxvf postgresql-9.4.9.tar.gz # cd postgresql-9.4.9 # ln -s make /usr/bin/gmake # ./configure # gmake # su # gmake install # adduser postgres # mkdir /usr/local/pgsql/data # chown postgres /usr/local/pgsql/data # su - postgres # /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data # /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 & |
1 2 3 4 5 |
# apt-get install netselect-apt format: # netselect-apt -c country -t 15 -a architecture -n testing contoh: # netselect-apt -c indonesia -t 15 -a amd64 -n testing |
# netselect-apt -c indonesia -t 15 -a amd64 -n testing
Using distribution testing.
Retrieving the list of mirrors from www.debian.org…
–2019-05-31 14:47:43– http://www.debian.org/mirror/mirrors_full
Resolving www.debian.org (www.debian.org)… 5.153.231.4, 130.89.148.14, 149.20. 4.15, …
Connecting to www.debian.org (www.debian.org)|5.153.231.4|:80… connected.
Keterangan :
– ip address gateway 1 = 10.10.10.1
– ip address gateway 2 = 10.11.12.1
– ip address LAN BAWAH = 192.168.2.0/24
– ip address LAN ATAS = 192.168.10.0/24
Address List
1 2 3 4 |
#Address list BAWAH ip firewall address-list add list=LINTAS address=192.168.2.0/24 #Address list ATAS ip firewall address-list add list=LINTAS address=192.168.10.0/24 |
untuk teman” linuxer yang bingung, tidak bisa update repository karena berada dibawah jaringan proxy, silahkan dicoba menggunakan langkah” berikut :
Untuk debian based [debian|ubuntu|kali linux|dll]