Path list service systemctl

ls -l /lib/systemd/system Related Posts:Install grafana dan Prometheus di centos 7Ntpd error while loading shared libraries pada centos 7Install VNC Server pada Rocky LinuxCara Setting Port SSH di Centos 8Cara Install PostgreSQL pada Rocky LinuxInstall Minio di centos 7Install Prometheus pada Rocky LinuxBlock SSH Server Attacks (Brute Force Attacks)…Install Go (Golang) Compiler pada Ubuntu 20.04Cara … Read more

Tips keamanan webserver

1. untuk mencegah mallware bisa pakai : – daily scan dengan LMD + clamAV 2. untuk cegah inject dan exploit bisa pake .htaccess (apache) atau nginx.conf Nginx: https://www.howtoforge.com/nginx-ho…jections-file-injections-spam-user-agents-etc Apache: https://internetlifeforum.com/php-mysql-forum/2630-how-prevent-xss-injection-attacks-htaccess/ 3. Cegah wordpress bruteforce: CSF + regex rule : https://forum.configserver.com/viewtopic.php?t=8886 4. Full Backup, bisa pakai rclone untuk bakup external ke vps atau online cloud storage … Read more

Bash Command Tutorial – System admin guide

1.) ps -eo user,pcpu,pmem | tail -n +2 | awk ‘{num[$1]++; cpu[$1] += $2; mem[$1] += $3} END{printf(“NPROC\tUSER\tCPU\tMEM\n”); for (user in cpu) printf(“%d\t%s\t%.2f\t%.2f\n”,num[user], user, cpu[user], mem[user]) }’ Fungsi : Melihat top / high 10 process yg sangat besar dalam penggunaan cpu dan memory server . ========================================================= 2.) for USER in `ls /var/spool/cron`; do echo “=== … Read more

How to Clear RAM Memory Cache, Buffer and Swap Space on Linux

Every Linux System has three options to clear cache without interrupting any processes or services. 1. Clear PageCache only. # sync; echo 1 > /proc/sys/vm/drop_caches 2. Clear dentries and inodes. # sync; echo 2 > /proc/sys/vm/drop_caches 3. Clear PageCache, dentries and inodes. # sync; echo 3 > /proc/sys/vm/drop_caches If you want to clear Swap space, … Read more

ISPConfig 3.1: Automated installation on Debian and Ubuntu

apt-get update && apt-get -y upgrade apt-get install -y unzip cd /tmp wget –no-check-certificate -O installer.tgz \”https://github.com/servisys/ispconfig_setup/tarball/master\” tar zxvf installer.tgz cd *ispconfig* bash install.sh Related Posts:How to Upgrade Mysql in WHM/CpanelThe following cPanel service generated warnings from…Install PHP Composer pada Rocky LinuxMembuat Script grep log zimbra dan di kirim ke emailCara Mudah Install Zimbra di … Read more