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:
l batch inputs when run! ++++code| <code bash> #!/bin/bash wwwpath='/home/shared/www/html' workpath='/h... 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
Docker mailserver @docker_notes
16 Hits, Last modified:
king==== Required for server: *sqlite => ''/usr/bin/sqlite3'' *postfix => ''/usr/sbin/postfix'' *... *apache2 => ''/usr/sbin/httpd'' *php => ''/usr/bin/php'' -> ''/usr/bin/php81'' So the standard php package currently links to php81 at this time of writi... he email spam removing daemon *swaks => ''/user/bin/swaks'' Seems to only be in testing repository,
Docker Deluge Image / Service @docker_notes
15 Hits, Last modified:
8112:8112 --name deluge deluge-openvpn-nftables /bin/sh'' - to run the docker image deluge-openvpn-nft... =NET_ADMIN --name alpine deluge-openvpn-nftables /bin/sh%%'' *The --cap-add=NET_ADMIN is require re... =NET_ADMIN --name alpine deluge-openvpn-nftables /bin/sh%%'' *The docker host network option also has... =NET_ADMIN --name alpine deluge-openvpn-nftables /bin/sh%%'' * When running nftables to stop leakage
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
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
SSH Notes @home_server:home_server_setup:other_services
7 Hits, Last modified:
The Debian script is very simple: <code bash> #!/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
Docker-Compose @docker_notes
5 Hits, Last modified:
er-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose </code> *[[https://gdevillele.github.io/... red # for containers run by docker ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock ExecReload=/bin/kill -s HUP $MAINPID TimeoutStartSec=0 RestartSec
Docker nginx / php notes @docker_notes
5 Hits, Last modified:
application/octet-stream bin exe dll; application/octet-stream ... are 2 php executables, php a cli version (''/usr/bin/php82'') and php-fpm for fpm-fcgi (''/usr/sbin/ph... env[HOSTNAME] = $HOSTNAME ;env[PATH] = /usr/local/bin:/usr/bin:/bin ;env[TMP] = /tmp ;env[TMPDIR] = /tmp ;env[TEMP] = /tmp ; Additional php.ini defines, sp
Docker @docker_notes
4 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 ... e netshoot --network proxy -it nicolaka/netshoot /bin/bash%%'' ====Troubleshooting==== *[[https://gi... r run --name netshoot --rm -it nicolaka/netshoot /bin/bash%%'' *[[https://gist.github.com/bastman/5b5
Nextcloud Container @docker_notes
4 Hits, Last modified:
visord.conf / ENV NEXTCLOUD_UPDATE=1 CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]</code> +... and: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW volumes: - /... %%docker exec -it --user www-data <container id> /bin/ash%%'' will provide a shell with user set as nom... to access the cli in Portainer need to select ''/bin/sh'' shell and user ''www-data''. The working di
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
4 Hits, Last modified:
r=network.target [Service] #ExecStart=/usr/local/bin/glances -w -t 2 ExecStart=/home/baumkp/.local/bin/glances -w -t 2 Restart=on-abort [Install] WantedBy... .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:
dokuwiki setup notes @home_server
2 Hits, Last modified:
Calibre @docker_notes
1 Hits, Last modified:
Docker - DNS Server @docker_notes
1 Hits, Last modified:
Reverse Proxy Server @docker_notes
1 Hits, Last modified:
KPTree - Email Server Setup @home_server
1 Hits, Last modified:
DHCP / DNS Setup @linux_router
1 Hits, Last modified:
IPTables Configuration @linux_router
1 Hits, Last modified:
Debian / Ubuntu Network Setup @linux_router
1 Hits, Last modified:
KVM Setup @home_server:home_server_setup
1 Hits, Last modified:
logrotate @home_server:home_server_setup:other_services
1 Hits, Last modified: