bin

Search

You can find the results of your search below.

Back-up Server Old Setup @home_server:home_server_setup:other_services
49 Hits, Last modified:
ounted ++++Possible mount script| <code bash> #!/bin/bash #input 1 is the proposed mount point if [ ... im ~/Myscripts/mount_backup1.sh''| <code bash> #!/bin/bash #Script to mount NFS remote Disk1 to local /... im ~/Myscripts/mount_backup2.sh''| <code bash> #!/bin/bash #Script to mount NFS remote Disk2 to local /... ~/Myscripts/unmount_backup1.sh''| <code bash> #!/bin/bash #Script to mount NFS remote Disk2 to local /
Rsync @home_server:home_server_setup:other_services
36 Hits, Last modified:
rKnownHostsFile=/dev/null \ -q user@host /usr/bin/hostname -s</code> To set this configuration syst... rapper script: <code>sudo mkdir /home/backup_user/bin sudo vim /home/backup_user/bin/rsync-wrapper.sh</code> Enter the following in this file to create the script: <code>#!/bin/bash # This script is a wrapper around rsync, so
Web Server setup @home_server
10 Hits, Last modified:
remember where now. ++++changegid.sh| <code> #!/bin/bash if [ "$#" -ne 3 ]; then # only proceed if ... oldGID] [newGID]''\\ ++++changeuid.sh| <code> #!/bin/bash if [ "$#" -ne 3 ]; then echo "Changing the... y log files * ''%%PURGE BINARY LOGS TO 'mariadb-bin.003071';%%'' - to purge all binary log files before listed log file, in example ''%%'mariadb-bin.003071'%%'' * ''%%show variables like "sql_log_
NUT (Network UPS Tools) Setup @home_server:home_server_setup:other_services
8 Hits, Last modified:
<code> upssched.conf CMDSCRIPT /bin/upssched-cmd # default </code> Ensure ownership ... t -R"\''. =====NUT Output===== The output of ''/bin/upsc KPBUPS@localhost'', (or simply ''upsc KPBUPS... -shutdown/nutshutdown" and populate so: <code> #!/bin/sh /sbin/upsmon -K >/dev/null 2>&1 && /sbin/upsdr... = *List all the UPS device profile variable ''/bin/upsc KPBUPS@localhost 2>/dev/null''. *A script
SSH Notes @home_server:home_server_setup:other_services
7 Hits, Last modified:
yed. The Debian script is very simple: <code> #!/bin/sh uname -snrvm </code> ====Ubuntu==== Ubuntu ha... etc/update-motd.d/50-landscape-sysinfo| <code> #!/bin/sh # pam_motd does not carry the environment [ -f... ho echo -n " System information as of " /bin/date echo /usr/bin/landscape-sysinfo else echo echo " System information disabled due
NFTables IP Control @linux_router
7 Hits, Last modified:
interval option.) ++++controllist.sh| <code> #!/bin/bash if [ -z "$1" ] then timeout1=' timeout 5... he control list. ++++deletecontrol.sh| <code> #!/bin/bash nft flush set inet firewall controllist </co... output of cron jobs to systemd's journal: ''/usr/bin/systemd-cat -t controllist'', again the full path... nal crontab command entry would look like: ''/usr/bin/systemd-cat -t controllist /home/baumkp/controlli
VNC Server @home_server:home_server_setup
7 Hits, Last modified:
ver. Also in ~/.vnc/xstartup, only: <code> #!/bin/bash unset SESSION_MANAGER startxfce4 & <... nstall.) The xfce default shell seems to be sh (/bin/sh), I prefer bash (/bin/bash). To check the current shell, type: ''echo $SHELL''. To use bash simply ... ''bash''. To make permanent add the line ''exec /bin/bash'' to the end of ''vim ~/.profile''. You will
KPTree Torrent VM Setup @home_server
4 Hits, Last modified:
ainer is running: "docker exec -it kodi-headless /bin/bash", type "exit" to exit. It would seem that s... ommands and related: *''docker exec -it <name> /bin/bash'' to get terminal inside container <name> ... .service [Service] Restart=always ExecStart=/usr/bin/docker start -a kodi-headless ExecStop=/usr/bin/docker stop -t 2 kodi-headless [Install] WantedBy=def
Router Miscellaneous @linux_router
3 Hits, Last modified:
es After=network.target [Service] ExecStart=/usr/bin/glances -w -t 2 Restart=on-abort [Install] Wante... .service [Service] Restart=always ExecStart=/usr/bin/docker start -a algo ExecStop=/usr/bin/docker stop -t 2 algo [Install] WantedBy=default.target </code
samba @home_server:home_server_setup:other_services
3 Hits, Last modified:
rogram in Debian Sarge). passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spasswo... nes -c "%u machine account" -d /var/lib/samba -s /bin/false %u # This allows Unix groups to be created... ; idmap gid = 10000-20000 ; template shell = /bin/bash # Setup usershare options to enable non-roo
Docker @tech_notes
3 Hits, Last modified:
inside a container| |`docker exec -it CONTAINER /bin/bash` | Open an interactive shell inside a container (there is no bash in some images, use /bin/sh)| |`docker wait CONTAINER` | Wait until the co... r run --name netshoot --rm -it nicolaka/netshoot /bin/bash` </markdown> <- tech_notes:ansible|Back ^ t
IPMI CLI Tools @home_server:home_server_setup:other_services
3 Hits, Last modified:
x, a 0 return indicates success.) <code bash> #!/bin/bash BMC_IP="192.168.1.40" User_Name="baumkp" PW... x, a 0 return indicates success.) <code bash> #!/bin/bash BMC_IP="192.168.1.40" User_Name="baumkp" PW... period </code> ====Test Script==== <code bash> #!/bin/bash #Check if on status_on="Chassis Power is on
dokuwiki setup notes
2 Hits, Last modified:
</FilesMatch> <Directory /usr/lib/cgi-bin> SSLOptions +StdEnvVars </Dir... rs </FilesMatch> <Directory /usr/lib/cgi-bin> SSLOptions +StdEnvVars </Directory>
Docker-Compose @tech_notes
2 Hits, Last modified:
er-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose ``` Install Docker Engine : [Docker Engine
logrotate @home_server:home_server_setup:other_services
1 Hits, Last modified:
home/shared/Myscripts/rotatelog.sh'' is: <code>#!/bin/bash logfile=$1 if [ ! -f $logfile ]; then echo
KPTree - Email Server Setup @home_server
1 Hits, Last modified:
Debian / Ubuntu Network Setup @linux_router
1 Hits, Last modified:
IPTables Configuration @linux_router
1 Hits, Last modified: