Search
You can find the results of your search below.
Matching pagenames:
Fulltext results:
- Back-up Server Old Setup @home_server:home_server_setup:other_services
- :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
- 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
- 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
- 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
- '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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- itution * Hyperlinks, with configurable actions Scriptable:\\ * Control from scripts or the shell *Extend with kittens using the Python language *Use star
- KVM Setup
- 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