dapurhosting.com Blog for Tech

November 15, 2024

Mengaktifkan TCP_FASTOPEN (TFO)

Filed under: Server — dh @ 2:52 pm

(more…)

December 16, 2021

Check Memory Type

Filed under: Server — dh @ 2:10 am

cek jenis memory

dmidecode –type 17

February 16, 2021

Disable Mirror

Filed under: Server — dh @ 5:04 am

nano /etc/yum/pluginconf.d/fastestmirror.conf

tambahkan mirror yang tidak diinginkan di exclude

November 7, 2019

Uninstall & Install Litespeed

Filed under: Server — dh @ 3:35 pm

Switch to apache

/usr/local/lsws/admin/misc/cp_switch_ws.sh apache

Uninstall Litespeed Plugins di WHM

/usr/local/cpanel/whostmgr/docroot/cgi/lsws/lsws_whm_plugin_uninstall.sh

Uninstall Litespeed

/usr/local/lsws/admin/misc/uninstall.sh

Install LiteSpeed

cd /usr/src; curl https://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh | sh

Update ke Versi Lisensi

/usr/local/lsws/admin/misc/lsup.sh -f -v 4.2

August 14, 2019

LVE Extension Hilang dari Paket Hosting

Filed under: Server — dh @ 3:10 am

(more…)

October 3, 2018

Looping Update Package (Yum Update)

Filed under: Server — dh @ 2:50 pm

yum clean all --enablerepo=*
yum update -y

August 2, 2018

Delete Empty File or 0b File

Filed under: Server — dh @ 3:19 am

Use the Find command to find files by size and print file names to standard output.

find . -type f -size 0b -print

substitute -print with -delete to delete the files rather than print them on screen.

find . -type f -size 0b -delete

February 1, 2018

Hardisk Cek Umur Hardisk

Filed under: Server — Tags: — dh @ 4:32 am

smartctl --all /dev/sda | grep Power_On_Hours

December 14, 2017

Test Kecepatan Hardisk

Filed under: Server — dh @ 9:31 am

dd if=/dev/zero of=/home/testfile bs=1G count=10 oflag=direct

Hasil untuk Samsung SSD 850 EVO 1TB (kosong)
10+0 records in
10+0 records out
10737418240 bytes (11 GB) copied, 22.6079 s, 475 MB/s

September 15, 2017

Force Update Litespeed

Filed under: Server — dh @ 11:20 am

/usr/local/lsws/admin/misc/lsup.sh -f -v 4.2
Ganti 4.2 dengan versi terbaru LiteSpeed

Older Posts »

Powered by WordPress