recap
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
recap [2015/09/21 14:02] – luke7858 | recap [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
Installing recap. Change /root/ to the user you wish to install git for | Installing recap. Change /root/ to the user you wish to install git for | ||
+ | == CentOS/RHEL == | ||
<sxh bash> | <sxh bash> | ||
- | yum install git -y ; cd /root/ ; git clone https:// | + | yum install |
+ | </ | ||
+ | == Ubuntu == | ||
+ | <sxh bash> | ||
+ | apt-get install bc gawk git elinks iotop make net-tools psmisc sysstat; cd /home/rack ; git clone https:// | ||
</ | </ | ||
Line 8: | Line 13: | ||
<sxh bash> | <sxh bash> | ||
vim / | vim / | ||
+ | </ | ||
+ | The section should look similar to the following. Comment out the 10 mins and uncomment 5 mins cron | ||
+ | <sxh bash> | ||
+ | #Every hour | ||
+ | #0 * * * * root / | ||
+ | |||
+ | #Every 30 minutes | ||
+ | #*/30 * * * * root / | ||
+ | |||
+ | #Every 10 minutes | ||
+ | */10 * * * * root / | ||
+ | |||
+ | #Every 5 minutes | ||
+ | #*/5 * * * * root / | ||
+ | |||
+ | # Pack and clear log files | ||
+ | 0 1 * * * root / | ||
</ | </ | ||
\\ | \\ |
recap.1442844161.txt.gz · Last modified: 2024/05/23 07:26 (external edit)