bin

Search

You can find the results of your search below.

Back-up Server Old Setup @home_server:home_server_setup:other_services
53 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
27 Hits, Last modified:
king==== Required for server: *sqlite => ''/usr/bin/sqlite3'' *postfix => ''/usr/sbin/postfix'' *postfix-sqlite ''postfix-sqlite.so'' plugin? *#dove... ed in dovecot-sqlite *dovecot-sqlite => ''/usr/sbin/dovecot'' *#dovecot-pop3 => #Only if need pop3 ... igeonhole-plugin => plugin? *apache2 => ''/usr/sbin/httpd'' *php => ''/usr/bin/php'' -> ''/usr/bin/
Docker Deluge Image / Service @docker_notes
17 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
NUT (Network UPS Tools) Setup @home_server:home_server_setup:other_services
17 Hits, Last modified:
ster MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD /home/baumkp/My... <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... fter=network-online.target [Service] ExecStart=/sbin/upsdrvctl start ExecStop=/sbin/upsdrvctl stop Typ
Nextcloud Container @docker_notes
14 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
Docker nginx / php notes @docker_notes
7 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/php-fpm82''). We are interested in the fpm type and it... env[HOSTNAME] = $HOSTNAME ;env[PATH] = /usr/local/bin:/usr/bin:/bin ;env[TMP] = /tmp ;env[TMPDIR] = /tm
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 @docker_notes
5 Hits, Last modified:
r.service [Service] Type=oneshot ExecStart=/usr/sbin/iptables -I DOCKER-USER -i br0 -o br0 -j ACCEPT ... 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
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
DHCP / DNS Setup @linux_router
5 Hits, Last modified:
reate a cryptographic key file using ''sudo /usr/sbin/rndc-confgen -a'', note that this command can tak... d.conf [Service] Type=forking ExecStartPre=/usr/sbin/radvd --logmethod stderr_clean --configtest ExecStart=/usr/sbin/radvd --logmethod stderr_clean ExecReload=/usr/sbin/radvd --logmethod stderr_clean --configtest ExecRe
NFTables Configuration @linux_router
5 Hits, Last modified:
tup - ''/etc/nftables.conf''| <color blue>#!/usr/sbin/nft -f </color> ++ | + <color #202000/#F0F0E0> nf... following at the top of the file: *#!/user/sbin/nft -f *''chmod +x router.nft'' *Use ''... following at the top of the file: *#!/user/sbin/nft -f *chmod +x router.nft *Use ''wher... tables''. Start and reload basically run ''/usr/sbin/nft -f /etc/nftables.conf'', whereas stop runs ''
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
BASH Customisation @home_server:home_server_setup:other_services
3 Hits, Last modified:
rclone-status.sh' alias rcps="ps -ef | grep '/usr/bin/rclone sync\|/usr/bin/rclone copy\|/usr/bin/rclone move'" # see running rclone copy sync or move # YT-DLP alias ytupdate='y
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:
Basic Netfilter Function Block Diagram @linux_router
1 Hits, Last modified:
Debian / Ubuntu Network Setup @linux_router
1 Hits, Last modified:
ASCII @tech_notes
1 Hits, Last modified:
Nginx @tech_notes
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: