Search
You can find the results of your search below.
Fulltext results:
- Back-up Server Old Setup @home_server:home_server_setup:other_services
- 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
- ---------" >> $LOG # Now execute the script /usr/bin/sudo /usr/bin/rsync $@ </code> Now change the mode and owner o... shot: " $@ >> $LOG # Now execute the script /usr/bin/sudo /usr/bin/rsnapshot "$@" >> $LOG 2>&1 EXITSTATUS=$? # Capt... (and many more) will be located in ''C:\cygwin64\bin''. (This is equivalent to ''/bin'' when your running a ''bash'' shell in cygwin.) ... w, get a bash shell via the command ''C:\cygwin64\bin\bash''. Next execute ''export Path=/bin:$PATH''. ====Get ssh Operational==== *Now mak
- Docker mailserver @docker_notes
- o to be an executable. *Copy the ll.sh file to /bin/ll or link it ''/bin/ln -s /app/scripts/ll.sh /bin/ll'' =====sqlite===== ====sqlite commands==== ... er.io mariadb image *''docker exec -it mail_db /bin/bash'' *See [[https://mariadb.com/kb/en/configu... vice] Type=oneshot RemainAfterExit=yes ExecStart=/bin/true ExecReload=/bin/true [Install] WantedBy=multi-user.target</code> ++++ Look like postfix is start
- Docker Deluge Image / Service @docker_notes
- o start deluged up directly in container ''%%/usr/bin/python3 /usr/bin/deluged --port=58846 --config=/root/.config/deluge/ &%%'' however better using using ''/usr/bin/deluged -d'' ++++ *To check external IP ''wget ... =NET_ADMIN --name alpine deluge-openvpn-nftables /bin/sh%%'' ====deluge working file storage==== Clear... =NET_ADMIN --name alpine deluge-openvpn-nftables /bin/sh%%'' ====Docker nfs volume==== After a couple
- Web Server setup @home_server
- .003071'%%'' * ''%%show variables like "sql_log_bin";%%'' - to see current setting of variable ''%%"sql_log_bin"%%'' * ''%%SET sql_log_bin = 0;%%'' - to set a variable * ''exit'' or ^d - to exit ---- ====Nextc... /FilesMatch> <Directory /usr/lib/cgi-bin> SSLOptions +StdEnvVars </Director... </FilesMatch> <Directory /usr/lib/cgi-bin> SSLOptions +StdEnvVars </Director
- VNC Server @home_server:home_server_setup
- nstall.) The xfce default shell seems to be sh (/bin/sh), I prefer bash (/bin/bash). To check the current shell, type: ''echo $... ''bash''. To make permanent add the line ''exec /bin/bash'' to the end of ''vim ~/.profile''. You will... ts/StartVNC.sh'', StartVNC.sh: <code> #!/bin/sh /usr/bin/vncserver -geometry 1880x1020 /usr/bin/vncserver -geometry 2350x1335 </cod
- NUT (Network UPS Tools) Setup @home_server:home_server_setup:other_services
- <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
- Nextcloud Container @docker_notes
- env[HOSTNAME] = $HOSTNAME ;env[PATH] = /usr/local/bin:/usr/bin:/bin ;env[TMP] = /tmp ;env[TMPDIR] = /tmp ;env[TEMP] =... %%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
- SSH Notes @home_server:home_server_setup:other_services
- 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
- NFTables IP Control @linux_router
- 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
- Docker-Compose @docker_notes
- er-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose </code> <code bash> sudo chmod +x /usr/local/bin/docker-compose </code> *[[https://gdevillele.gi... 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
- env[HOSTNAME] = $HOSTNAME ;env[PATH] = /usr/local/bin:/usr/bin:/bin ;env[TMP] = /tmp ;env[TMPDIR] = /tmp ;env[TEMP] =
- Docker init Systems @docker_notes
- urite alias working in Alpine sh has been a pain /bin/ln -s /app/scripts/ll.sh /bin/ll</code> Where ''ll.sh'' is: <code bash>#!/bin/sh exec ls -la "$@"</code> =====References===== *[[
- KPTree Torrent VM Setup @home_server
- 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
- 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