Search
You can find the results of your search below.
Matching pagenames:
Fulltext results:
- BASH Customisation @home_server:home_server_setup:other_services
- {{tag> linux bash alias tar .bash_aliases configure configuration bashrc command script .bashrc history sudo visudo dimme... randr tar archive "default editor" editor}} ======BASH Customisation====== The standard BASH colour configuration uses a blue colour for listing directories (
- Back-up Server Old Setup @home_server:home_server_setup:other_services
- to be unmounted ++++Possible mount script| <code bash> #!/bin/bash #input 1 is the proposed mount point if [ -z "$1" ] then exit 11 #no mount point in... ode> ++++ Created script to mount backup1 ''sudo bash ~/Myscripts/mount_backup1.sh'' to run ++++''sudo vim ~/Myscripts/mount_backup1.sh''| <code bash> #!/bin/bash #Script to mount NFS remote Disk1 to
- Rsync @home_server:home_server_setup:other_services
- ude=.Trash* >tmp.txt'' ++++ ====My web page copy bash batch==== ''sudo vim Myscripts/rsync_shared.sh'' or to run ''sudo bash Myscripts/rsync_shared.sh'' #Note this is a loca... additional batch inputs when run! ++++code| <code bash> #!/bin/bash wwwpath='/home/shared/www/html' workpath='/home/shared/html_kptree.net/' cmd="rsync -ptogu
- Docker @docker_notes
- start. The community addition command is: <code bash> docker volume create portainer_data docker run -... mand in a container| |''docker exec -it CONTAINER bash'' | Run bash shell in a container as default user, usually root| |''%%docker exec -it --user www-data CONTAINER bash%%'' | Run bash shell in a container as defined us
- Reverse Proxy Server @docker_notes
- er network create proxy'' =====Traefik===== <code bash [enable_line_numbers="true"]> cd /home/docker_sto... ik|here]].\\ ====create docker network==== <code bash [enable_line_numbers="true"]>docker network create proxy</code> <code bash [enable_line_numbers="true"]>touch docker-compose... d install Basic Authentication Password==== <code bash [enable_line_numbers="true"]>sudo apt update sudo
- IPMI CLI Tools @home_server:home_server_setup:other_services
- literally just has the password in it. =====IPMI BASH Scripts===== ====IPMI Start Script==== This scrip... cript stand alone to start the remote computer: ''bash Myscripts/ipmi_start_05_40.sh ; echo $?'' (the '... pical Unix, a 0 return indicates success.) <code bash> #!/bin/bash BMC_IP="192.168.1.40" User_Name="baumkp" PW_file_location="/etc/ipmitool" LAN_IP="192.168
- VNC Server @home_server:home_server_setup
- Also in ~/.vnc/xstartup, only: <code> #!/bin/bash unset SESSION_MANAGER startxfce4 & </code... 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 type ''bash''. To make permanent add the l
- NUT (Network UPS Tools) Setup @home_server:home_server_setup:other_services
- s ''sudo Myscripts/UPSScan.sh 2>/dev/null'',<code bash>#!/bin/bash # Logging output for NUT UPS Monitor output strf='/var/log/UPSLog.Log' str0='/bin/upsc KPB... use with cron monthly to rotate a log file. <code bash> #!/bin/bash logfile=$1 if [ ! -f $logfile ]; then echo "log file not found $logfile" exit 1 fi tim
- NFTables IP Control @linux_router
- entries since the last boot I made a couple of bash scripts to assist with the use of these controlli... erval option.) ++++controllist.sh| <code> #!/bin/bash if [ -z "$1" ] then timeout1=' timeout 5h' el... ontrol list. ++++deletecontrol.sh| <code> #!/bin/bash nft flush set inet firewall controllist </code> +... ntab'' is finicky! crontab does not necessary use BASH and the full path to the command must be given fo
- Docker Deluge Image / Service @docker_notes
- to be reset! so now trying ++macvlan option|<code bash> docker network create -d macvlan \ --subne... * Need to manually create ++/dev/net/tun|<code bash> #!/bin/sh mkdir -p /dev/net mknod /dev/net/tun ... static ip address can be assigned when run. <code bash> docker network create -d macvlan \ --subne
- Docker mailserver @docker_notes
- o mariadb image *''docker exec -it mail_db /bin/bash'' *See [[https://mariadb.com/kb/en/configuring-... ===s6 setup=== The s6 rc run file: ++++run|<code bash>#!/command/execlineb -P fdmove -c 2 1 /usr/sbin/p... certificates/|Export Traefik Certificates]] using bash script with ''jq'' program *Docker documentatio
- Debian / Ubuntu Network Setup @linux_router
- ne.target [Service] Type=oneshot ExecStart=:/bin/bash -c "ip r del 2001:470:1f2c:10d::/64 dev he-ipv6" ... /etc/network/interfaces </code> ++++ Use ''sudo bash tononrouter.sh'' to move to non router configurat... /etc/network/interfaces </code> ++++ Use ''sudo bash tonrouter.sh'' to move to non router configuratio
- VIM Editor @home_server:home_server_setup:other_services
- . =====VIM Customisation===== ++++~/.vimrc| <code bash>colorscheme desert set nocompatible syntax on set... t/|CodeMirror]] *[[http://www.catonmat.net/blog/bash-vi-editing-mode-cheat-sheet/|Working Productively in Bash's Vi Command Line Editing Mode (with Cheat Sheet)
- Docker-Compose @docker_notes
- ange the version sub-directory as required. <code bash> sudo curl -L "https://github.com/docker/compose/... pose]]) Example: Defines web_data volume: <code bash> docker volume create --driver local \ --opt
- Nextcloud Container @docker_notes
- easier to use ''www-data'' *Confirm shell type, bash is more comprehensive, whereas sh or ash are bett... ally log into shell using "sh" or ash" shells as "Bash" shell is not setup in the Alpine Nextcloud image