Catégorie : Gestion de serveur
-
Troubleshooting high server loads
It’s here : https://forums.cpanel.net/threads/troubleshooting-high-server-loads-on-linux-servers.319352/
-
Copier des fichiers sans écraser les fichiers existants
rsync -a -v –ignore-existing <src> <dst>
-
Gérer le swap
Cf. cet article : How to Manage Swap Usage in Linux Next, how heavy is your swap usage? You can find it out with any performance monitoring tool of your choice or with the free command. free -m will give you a snapshot of the memory usage in megabytes. For continuous monitoring, you might…
-
Fix quota errors – WHM/Cpanel
/scripts/fixquotas
-
CloudLinux Knowledgebase
http://kb.cloudlinux.com/
-
Emplacement des logs de backup
/usr/local/cpanel/logs/ /usr/local/cpanel/logs/cpbackup/
-
Mises à jour système automatiques : yum-cron
http://linuxaria.com/howto/enabling-automatic-updates-in-centos-7-and-rhel-7
-
How to to mount /tmp and /var/tmp with noexec and nosuid : mount -t tmpfs -o noexec,nosuid tmpfs /tmp/ mount -t tmpfs -o noexec,nosuid tmpfs /var/tmp/ See also : https://kb.iweb.com/entries/23960922-Augmenter-la-s%C3%A9curit%C3%A9-du-serveur-Linux-avec-les-options-nodev-nosuid-et-noexec?locale=16
-
Installer mlocate sur Centos 7
yum -y update yum -y install mlocate updatedb http://www.liquidweb.com/kb/how-to-install-mlocate-locate-and-updatedb-commands-on-centos-7/
-
WHM/CPanel : backup en ligne de commande
Un compte en particulier : /scripts/pkgacct accountname Lancer le system de WHM Backup : /usr/local/cpanel/bin/backup ou /scripts/cpbackup –force (legacy backup)