dapurhosting.com Blog for Tech

October 26, 2016

Menambah Hardisk

Filed under: Uncategorized — dh @ 7:50 pm

http://www.techotopia.com/index.php/Adding_a_New_Disk_Drive_to_a_CentOS_6_System

Edit fstab

Filed under: Server — Tags: — dh @ 7:49 pm

maintanace mode untuk edit fstab

mount -o remount,rw /

url: http://www.walkernews.net/2011/03/06/how-to-edit-fstab-system-file-in-linux-maintenance-mode/

Linux Partition

Filed under: Server — Tags: , — dh @ 3:51 pm

http://www.howtogeek.com/106873/how-to-use-fdisk-to-manage-partitions-on-linux/

June 15, 2016

DNS Lookup

Filed under: Uncategorized — dh @ 12:51 am

http://www.kloth.net/services/dig.php

Mengetahui Nama Motherboard

Filed under: Server — dh @ 12:31 am

cat /sys/devices/virtual/dmi/id/board_name

June 14, 2016

cPanel dan Webmail Forbidden di Litespeed

Filed under: cPanel/WHM,Securtiy — dh @ 2:55 pm

Whitelist rule id 981246 di whm > ConfigServer ModSecurity Control

November 17, 2015

eth Reset Adapter

Filed under: Server — dh @ 2:51 am

network card restart terus menerus

tambahkan pcie_aspm=off ke akhir kernel line di /etc/grub.conf
tambahkan intremap=off ke akhir kernel line di /etc/grub.conf

reboot server

September 29, 2015

mysqltuner

Filed under: MySql — dh @ 11:11 am

wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl
chmod 755 mysqltuner.pl
./mysqltuner.pl > mysqlturner.txt

August 18, 2015

Kill Mass Process

Filed under: Uncategorized — dh @ 9:52 am

Ambil id proses

ps -ef | grep awk | grep -v grep | awk '{print $2}'


kill -9 `ps -ef | grep CROND | grep -v grep | awk '{print $2}'`
kill -9 `ps -ef | grep Average | awk '{print $2}'`
kill -9 `ps -ef | grep pidstat | grep -v grep | awk '{print $2}'`

August 15, 2015

Mendapatkan Proses Tertentu

Filed under: Server — dh @ 5:36 am

ps aux |grep cron

« Newer PostsOlder Posts »

Powered by WordPress