KPTree Wiki logo

KPTree Wiki

  • Page Tools
    Show pageOld revisionsBacklinks
  • Site Tools
    Recent ChangesMedia ManagerSitemap
  • User Tools
    Log In

Search

You can find the results of your search below.

Exact match
  • Exact match
  • Starts with
  • Ends with
  • Contains
@home_server:home_server_setup:other_services
  • Any namespace
Any time
  • Any time
  • Past week
  • Past month
  • Past year
Sort by hits
  • Sort by hits
  • Sort by last modified

Matching pagenames:

  • Commonly used commands and scripts

Fulltext results:

Back-up Server Old Setup
41 Hits, Last modified: 22 months ago
:home_server_setup:other_services:ipmi#ipmi_start_script|IPMI startup script]] for description of this script. - Mount the back-up drives to the back-up serv... r:home_server_setup:other_services:ipmi#ipmi_stop_script|IPMI Stop script]] - ''sudo bash ~/Myscripts/ipmi_stop_05_40.s... rtn" else exit "$rtn" fi fi } #Script to Startup remote IPMI Server echo "------------... rtn=$? #rtn=10 # for error on test successtype #Script to mount remote backup drive func1="Mount /mntbac
Rsync
22 Hits, Last modified: 9 months ago
pts/rsync_shared.sh'' #Note this is a local only script and takes no additional batch inputs when run! ++... plays havoc on scripts. If a prompt occurs, your script stops and waits for input. There are two ways we can eliminate this. One is at the script level and the other is at the system level. If we... checks, then we can add the configuration to our script. This can be done with OpenSSH’s -o option. Here’
IPMI CLI Tools
11 Hits, Last modified: 3 years ago
n it. =====IPMI BASH Scripts===== ====IPMI Start Script==== This script is used to start-up a remote BMC computer via ipmitool. The script performs some basic error checking a reporting, o... ng command to determine if it is actually up. The script exits with a 0 upon successful ping attempt or ot
samba
7 Hits, Last modified: 4 years ago
fect if 'domain logons' is set # It specifies the script to run during logon. The script must be stored # in the [netlogon] share # NOTE: ... e store in 'DOS' file format convention ; logon script = logon.cmd # This allows Unix users to be creat... # password; please adapt to your needs ; add user script = /usr/sbin/adduser --quiet --disabled-password -... achines" group exists on the system ; add machine script = /usr/sbin/useradd -g machines -c "%u machine a
NUT (Network UPS Tools) Setup
5 Hits, Last modified: 3 years ago
''/bin/upsc KPBUPS@localhost 2>/dev/null''. *A script file to succinctly log the UPS data, using cron to run script every 10 minutes ''sudo Myscripts/UPSScan.sh 2>/d... >>"$strf" </code> *A script file to rotate a log file out to a dated gzip log... new empty log file, the log file with path is the script input ''sudo rotatelog.sh /var/log/UPSLog.Log'',
BASH Customisation
3 Hits, Last modified: 11 months ago
er. \\ [[https://terracoders.com/blog/bash-simple-script-changing-display-brightness-xrandr|Bash: A Simple Script for Changing Display Brightness with XRANDR]] *
SSH Notes
3 Hits, Last modified: 22 months ago
t are run after the MOTD is displayed. The Debian script is very simple: <code bash> #!/bin/sh uname -snr... t I do not like. This system status information script, ++++/etc/update-motd.d/50-landscape-sysinfo| <co... n $threshold" fi</code> ++++ The main information script is written in python3, ++++/usr/bin/landscape-sys
Commonly used commands and scripts
3 Hits, Last modified: 13 months ago
ripts/server_backup.sh weekly # Run weekly backup script every Monday at 00:15 15 0 1-7 * * [ $(dat... pts/server_backup.sh monthly # run monthly backup script every Wednesday at 00:15 15 0 * 3,6,9,12 5 [... server_backup.sh quarterly # run quarterly backup script every Friday at 00:15 every 3rd month (March, Jun
logrotate
2 Hits, Last modified: 3 years ago
e are a number of ways to rotate logs. -Using a script and cron (or systemd.timer) -Using ''logrotate'' ====Logrotate using script==== edit the sudo crontab ''sudo crontab -e'': <