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
12 Hits, Last modified:
%%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... Trigger expiry of versions and trashbin for files stored in group folders groupfolders:... up folder for outside changes groupfolders:trashbin:cleanup Empty the groupfolder trashbin
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_
NFTables IP Control @linux_router
9 Hits, Last modified:
tup - with named set IP filtering| <code> #!/usr/sbin/nft -f define wan = ppp1 define modem = eno1 ... interval option.) ++++controllist.sh| <code> #!/bin/bash if [ -z "$1" ] then timeout1=' timeout 5... h' else timeout1=" timeout $1" fi cmd1='/usr/sbin/nft add element inet firewall controllist { ' ipb... he control list. ++++deletecontrol.sh| <code> #!/bin/bash nft flush set inet firewall controllist </co
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
KPTree Torrent VM Setup @home_server
6 Hits, Last modified:
s.conf'' ++++nftables.conf script| <code> #!/usr/sbin/nft -f define lan = ens3 define tun = tun0 ... s.conf'' ++++nftables.conf script| <file> #!/usr/sbin/nft -f # define common referenced interfaces d... 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>
ISP PPPoE Network Setup @linux_router
6 Hits, Last modified:
et-devices-eno1.device [Service] ExecStart=/usr/sbin/pppd call provider Type=forking SuccessExitStatus... n the pppoe.service script: <code> ExecStartPre=/sbin/ip link set up dev eno1 ExecStartPre=/sbin/ip link add link eno1 name eno1.7 type vlan id 7 ExecStartPre=/sbin/ip link set up dev eno1.7 ExecStartPre=/sbin/ip a
samba @home_server:home_server_setup:other_services
6 Hits, Last modified:
rogram in Debian Sarge). passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spasswo... ase adapt to your needs ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u... xists on the system ; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u # This allows Unix groups to be created
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:
DHCP / DNS Setup @linux_router
5 Hits, Last modified:
NFTables Configuration @linux_router
5 Hits, Last modified:
Router Miscellaneous @linux_router
4 Hits, Last modified:
dokuwiki setup notes @home_server
2 Hits, Last modified:
ISP IPoE DHCP Setup Notes @linux_router
2 Hits, Last modified:
IPTables Configuration @linux_router
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: