script

Search

You can find the results of your search below.

Back-up Server Old Setup @home_server:home_server_setup:other_services
41 Hits, Last modified:
l mount point to be unmounted ++++Possible mount script| <code bash> #!/bin/bash #input 1 is the propose... ed, exit with error fi fi </code> ++++ Created script to mount backup1 ''sudo bash ~/Myscripts/mount_ba... ipts/mount_backup1.sh''| <code bash> #!/bin/bash #Script to mount NFS remote Disk1 to local /mnt/backup1 ... ed, exit with error fi fi </code> ++++ Created script to mount backup2 ''sudo bash ~/Myscripts/mount_ba
Rsync @home_server:home_server_setup:other_services
22 Hits, Last modified:
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’... ackup_user/.ssh</code> Now create a rsync wrapper script: <code>sudo mkdir /home/backup_user/bin sudo vim
KPTree Torrent VM Setup @home_server
13 Hits, Last modified:
N OpenVPN Linux CLI setup and associated download script worked well and was similar to the BTGuard setup,... h the following issues easily found: * Once the script was run PrivateVPN recommended using ''sudo privatvpn'' to run. The setup script creates a systemctl profile: openvpn@privatvpn.se... _. * The remote server server in the downloaded script no longer was correct and had to be changed to on
IPMI CLI Tools @home_server:home_server_setup:other_services
11 Hits, Last modified:
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 @home_server:home_server_setup:other_services
7 Hits, Last modified:
ik.tu-muenchen.de> for # sending the correct chat script for the passwd program in Debian Sarge). passw... fect if 'domain logons' is set # It specifies the script to run during logon. The script must be stored # in the [netlogon] share # NOTE: Must be store in 'DOS' file format convention ; logon script = logon.cmd # This allows Unix users to be creat
NFTables Configuration @linux_router
7 Hits, Last modified:
run</color>++ \\ <tab3> \\ <tab3><color blue># script variable definitions</color> ++ | \\ +<color #202... nd this would be to have a basic nftables.service script for boot, dropping all connectivity, except local ssh ports and have a separate end of boot script with the full nftables script.\\ :!: It is important to remember that the order of the commands in a ch
NFTables IP Control @linux_router
5 Hits, Last modified:
e sets. *''sudo vim controllist.sh'' : This script automates the entry of a a range of IP address wi... al "$cmd1"; </code> ++++ * A key change to this script to improve functionality would be to allow an inp... 'sudo vim deletecontrol.sh'' : This is a simple script to flush the control list. ++++deletecontrol.sh|... t to run ''sudo chmod 774 controllist.sh'' on the script files to make them executable I then created a c
NUT (Network UPS Tools) Setup @home_server:home_server_setup:other_services
5 Hits, Last modified:
=network-online.target". Unfortunately when this script is run, "sudo systemctl start nut-driver.service"... ''/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
dokuwiki setup notes
3 Hits, Last modified:
ips:maintenance|Maintenance and Automatic cleanup script]] has bash script to remove old files on the wikiserver. To run the script ''%%sudo Myscripts/dokuwikicleanup.sh /home/shar
Commonly used commands and scripts @home_server:home_server_setup:other_services
3 Hits, Last modified:
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
BASH Customisation @home_server:home_server_setup:other_services
3 Hits, Last modified:
linux bash configure configuration bashrc command script .bashrc history sudo visudo dimmer nightmode xran... er. \\ [[https://terracoders.com/blog/bash-simple-script-changing-display-brightness-xrandr|Bash: A Simple Script for Changing Display Brightness with XRANDR]] *
SSH Notes @home_server:home_server_setup:other_services
3 Hits, Last modified:
t are run after the MOTD is displayed. The Debian script is very simple: <code> #!/bin/sh uname -snrvm </... 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
logrotate @home_server:home_server_setup:other_services
2 Hits, Last modified:
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'': <
Python Programming Note @python
2 Hits, Last modified:
ptions.com/blog/how-to-pass-arguments-to-a-python-script-from-the-command-line/|How to Pass Arguments to a Python Script from the Command Line]] *[[https://www.golinuxc
ISP PPPoE Network Setup @linux_router
2 Hits, Last modified:
''ip link set'' instruction in the pppoe.service script. The ''ip'' command is compatible with Netplan. ... d with the following options in the pppoe.service script: <code> ExecStartPre=/sbin/ip link set up dev eno
Web Server setup @home_server
2 Hits, Last modified:
VNC Server @home_server:home_server_setup
2 Hits, Last modified:
Docker-Compose @tech_notes
1 Hits, Last modified:
Docker @tech_notes
1 Hits, Last modified:
Basic Netfilter Function Block Diagram @linux_router
1 Hits, Last modified: