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.

Contains
  • Exact match
  • Starts with
  • Ends with
  • Contains
@home_server:home_server_setup
  • Any namespace
  • home_server:home_server_setup:other_services (17)
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 @home_server:home_server_setup:other_services
64 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.sh ; echo $?'' To use: ''sudo bash ~/Myscripts/server_backup.sh [<weekly> | monthly | quarterly
Rsync @home_server:home_server_setup:other_services
34 Hits, Last modified: 9 months ago
sudo rsync %%--%%dry-run -avz -u %%--%%delete ~/Myscripts/ /home/shared/Myscripts'' ''sudo rsync x %%--%%dry-run -avz -u /home/sh... ====My web page copy bash batch==== ''sudo vim Myscripts/rsync_shared.sh'' or to run ''sudo bash Myscripts/rsync_shared.sh'' #Note this is a local only sc... Man-In-The-Middle attacks, but it plays havoc on scripts. If a prompt occurs, your script stops and waits for input. There are two ways we... $SOURCE $DESTINATION" >> $LOG # Now execute the script, also capture scripts end time, calculate run time, # and send status
BASH Customisation @home_server:home_server_setup:other_services
24 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]] *
NUT (Network UPS Tools) Setup @home_server:home_server_setup:other_services
20 Hits, Last modified: 3 years ago
Systemd seems to have a method for legacy init.d scripts and creates scripts in /run/systemd/generator.late, in particular, u... ''/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>/dev/null'',<code bash>#!/bin/bash # Logging output for NU... >>"$strf" </code> *A script file to rotate a log file out to a dated gzip log
IPMI CLI Tools @home_server:home_server_setup:other_services
16 Hits, Last modified: 3 years ago
'sudo vim Myscripts/ipmi_start_05_40.sh'' to run script stand alone to start the remote computer: ''bash Myscripts/ipmi_start_05_40.sh ; echo $?'' (the ''echo $?'... sudo vim ~/Myscripts/ipmi_stop_05_40.sh'' to run script stand alone to soft stop the remote computer: ''bash ~/Myscripts/ipmi_stop_05_40.sh ; echo $?'' (the ''echo $?''... hutdown in the check time period </code> ====Test Script==== <code bash> #!/bin/bash #Check if on status_
Commonly used commands and scripts @home_server:home_server_setup:other_services
13 Hits, Last modified: 13 months ago
idth/rotate.pl 15 0 * * 1 /home/shared/Myscripts/server_backup.sh weekly # Run weekly backup script every Monday at 00:15 15 0 1-7 * * [ $(date +%u) -eq 3 ] && /home/shared/Myscripts/server_backup.sh monthly # run monthly backup script every Wednesday at 00:15 15 0 * 3,6,9,12 5 [ $(date +%-d) -le 7 ] && /home/shared/Myscripts/server_backup.sh quarterly # run quarterly backup script every Friday at 00:15 every 3rd month (March, Jun... ropos, used to search the manual page names and description * ''%%apropos -e -w crontab%%'' to list avai
samba @home_server:home_server_setup:other_services
8 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
SSH Notes @home_server:home_server_setup:other_services
7 Hits, Last modified: 22 months ago
ome predefined Linux distribution text ====Login Scripts==== ====Debian==== *''ls -la /etc/update-motd.d/'' to see the scripts that are run after the MOTD is displayed. The Debian script is very simple: <code bash> #!/bin/sh uname -snrvm </code> ====Ubuntu==== Ubuntu has multiple scripts some that I like and some that I do not like.
logrotate @home_server:home_server_setup:other_services
5 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'': <... and to be executed # 0 0 1 * * /home/shared/Myscripts/rotatelog.sh /var/log/UPS/UPSLog.Log #Rotate NUT UPS log file </code> where ''/home/shared/Myscripts/rotatelog.sh'' is: <code>#!/bin/bash logfile=$1
VNC Server
4 Hits, Last modified: 17 months ago
c/xstartup'' *I set up cron to run the following script at boot: ''vim ~/Myscripts/StartVNC.sh'', StartVNC.sh: <code> #!/b... /vncserver -geometry 2350x1335 </code> *The cron script statement is ''/home/homedirectory/Myscripts/StartVNC.sh >/dev/null 2>&1'' (I elected not to
Conky @home_server:home_server_setup:other_services
4 Hits, Last modified: 5 years ago
ion: ${tab 50}$color${execi 99999 lsb_release --description | awk '{ print $2" "$3 }'} ${color0}CPU Type: ... Distribution: $color${execi 99999 lsb_release --description | awk '{ print $2" "$3 }'} ${color0}CPU Type: ... ion: ${tab 50}$color${execi 99999 lsb_release --description | awk '{ print $2" "$3 }'} ${color0}CPU Type: ... Distribution: $color${execi 99999 lsb_release --description | awk '{ print $2" "$3 }'} ${color0}CPU Type:
VIM Editor @home_server:home_server_setup:other_services
3 Hits, Last modified: 3 years ago
des.com/posts/2013/using-syntastic-jshint-for-javascript-syntax-checking-on-vim/|Using Syntastic+JSHint for Javascript syntax checking on Vim]] ---- ======neovim====
IPMI Console Setup @home_server:home_server_setup:other_services
3 Hits, Last modified: 17 months ago
l my servers are running Ubuntu. The following description is for Ubuntu terminal serial redirection. The... follows ''sudo vim /etc/default/grub'': <code JavaScript [enable_line_numbers="true"]> # If you change thi... ased upon BMC IPMI so the client software setup description is also not relevant.) The BMC IPMI client set
tmux @home_server:home_server_setup:other_services
2 Hits, Last modified: 5 years ago
itution * Hyperlinks, with configurable actions Scriptable:\\ * Control from scripts or the shell *Extend with kittens using the Python language *Use star
KVM Setup
2 Hits, Last modified: 21 months ago
les..... So I still have a family MSOffice 365 subscription. This give access to MSoffice and 1TB of MS C... or: *viewing and editing files inside guests *scripting changes to VMs *monitoring disk used/free st
Network Setup
1 Hits, Last modified: 14 months ago
Set Up and Ubuntu APT Cache @home_server:home_server_setup:other_services
1 Hits, Last modified: 5 years ago
Linux Block Device Notes @home_server:home_server_setup:other_services
1 Hits, Last modified: 9 months ago
Calibre Server @home_server:home_server_setup:other_services
1 Hits, Last modified: 5 years ago
Manjaro Setup Notes @home_server:home_server_setup:other_services
1 Hits, Last modified: 19 months ago