Search
You can find the results of your search below.
Matching pagenames:
Fulltext results:
- Docker nginx / php notes @docker_notes
- +++/etc/nginx/fastcgi.conf| <code> fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param QUERY_STRING $query_st... NTENT_LENGTH $content_length; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_param REQUEST_URI $request_... NTENT_LENGTH $content_length; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_param REQUEST_URI $request_... s is for historical reasons where ''fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;'' has to be separately configured in the lo
- Back-up Server Old Setup @home_server:home_server_setup:other_services
- :home_server_setup:other_services:ipmi#ipmi_start_script|IPMI startup script]] for description of this script. - Mount the back-up drives to the back-up serv... r:home_server_setup:other_services:ipmi#ipmi_stop_script|IPMI Stop script]] - ''sudo bash ~/Myscripts/ipmi_stop_05_40.s... rtn" else exit "$rtn" fi fi } #Script to Startup remote IPMI Server echo "------------... rtn=$? #rtn=10 # for error on test successtype #Script to mount remote backup drive func1="Mount /mntbac
- Rsync @home_server:home_server_setup:other_services
- Man-In-The-Middle attacks, but it plays havoc on scripts. If a prompt occurs, your script stops and waits for input. There are two ways we... $SOURCE $DESTINATION" >> $LOG # Now execute the script, also capture scripts end time, calculate run time, # and send status ... TUS." >> $LOG ;\ echo "####" $answer "full-backup script completed at `date` ####" >> $LOG ;\ ENDTIME=`dat... er.sh monthly </code> Finally, within some of the scripts above, you'll the utility ''apprise''. This util
- BASH Customisation @home_server:home_server_setup:other_services
- er. \\ [[https://terracoders.com/blog/bash-simple-script-changing-display-brightness-xrandr|Bash: A Simple Script for Changing Display Brightness with XRANDR]] *
- Docker mailserver @docker_notes
- ON=82'' *All the /php82/ paths in the pre_start_script.sh, ''.config_php/scripts/pre_start_script.sh'' *The php-fpm82 reference in ''.config_php/... file ''ARG PHP_VERSION=82'' *Main configuration script ''pre_start_script.sh'', ''PHP_VERSION=82'' *s6-rc.d php-fpm longrun start script at s6-rc.d/php-fpm/run, the command ''/usr/sbin/p... tificates from Traefik certificate store]] python script *[[https://r4uch.com/export-traefik-certificate
- KPTree Torrent VM Setup @home_server
- stemctl start openvpn@btguard.service'' *To run script with IPTABLES configuration (netfilter) ''sudo /mnt/shared/scripts/BTGuard_iptable_ens3.sh'' *To label list curre
- NUT (Network UPS Tools) Setup @home_server:home_server_setup:other_services
- Systemd seems to have a method for legacy init.d scripts and creates scripts in /run/systemd/generator.late, in particular, u... ''/bin/upsc KPBUPS@localhost 2>/dev/null''. *A script file to succinctly log the UPS data, using cron to run script every 10 minutes ''sudo Myscripts/UPSScan.sh 2>/d... >>"$strf" </code> *A script file to rotate a log file out to a dated gzip log... new empty log file, the log file with path is the script input ''sudo rotatelog.sh /var/log/UPSLog.Log'',
- IPMI CLI Tools @home_server:home_server_setup:other_services
- ally just has the password in it. =====IPMI BASH Scripts===== ====IPMI Start Script==== This script is used to start-up a remote BMC computer via ipmitool. The script performs some basic error checking a reporting, o
- Docker init Systems @docker_notes
- ices | | | │ │ └── pre_start_script | | User pre start script (if required) | | | │ ├── producer-for ... had no success using the alias command in S6 init scripts. I found the following solution, by using the s6 pre_start_script to add a link ''ll.sh'' script in to the ''/bin'' directory. <code bash>#get my favourite alias working in Alpine sh has been a pain /bin/ln -s /app/scripts/ll.sh /bin/ll</code> Where ''ll.sh'' is: <code
- Nextcloud Container @docker_notes
- the user (PHP_AUTH_USER) (or '-' if not set); ; script - the main script called (or '-' if not set); ; last request cpu ... t length: 0 ; user: - ; script: /home/fat/web/docs/php/test_mem.ph... like: %{HTTP_HOST}e or %{HTTP_USER_AGENT}e ; %f: script filename ; %l: content-length of the request (fo... On common configurations, this may look more like SCRIPT_NAME than the ; expected pre-rewrite URI. ;
- NFTables Configuration @linux_router
- t local ssh ports and have a separate end of boot script with the full nftables script.\\ :!: It is important to remember that the ord... configuration file can be made into an executable script as follows. *Add the following at the top of... configuration file can be made into an executable script as follows. *Add the following at the top of... FragmentPath nftables'' shows where the systemctl script is located; /lib/systemd/system/nftables.service,
- SSH Notes @home_server:home_server_setup:other_services
- ome predefined Linux distribution text ====Login Scripts==== ====Debian==== *''ls -la /etc/update-motd.d/'' to see the scripts that are run after the MOTD is displayed. The Debian script is very simple: <code bash> #!/bin/sh uname -snrvm </code> ====Ubuntu==== Ubuntu has multiple scripts some that I like and some that I do not like.
- samba @home_server:home_server_setup:other_services
- fect if 'domain logons' is set # It specifies the script to run during logon. The script must be stored # in the [netlogon] share # NOTE: ... e store in 'DOS' file format convention ; logon script = logon.cmd # This allows Unix users to be creat... # password; please adapt to your needs ; add user script = /usr/sbin/adduser --quiet --disabled-password -... achines" group exists on the system ; add machine script = /usr/sbin/useradd -g machines -c "%u machine a
- NFTables IP Control @linux_router
- ies since the last boot I made a couple of bash scripts to assist with the use of these controllist name sets. *''sudo vim controllist.sh'' : This script automates the entry of a a range of IP address wi... al "$cmd1"; </code> ++++ * A key change to this script to improve functionality would be to allow an inp... 'sudo vim deletecontrol.sh'' : This is a simple script to flush the control list. ++++deletecontrol.sh|
- Docker - DHCP Kea Server @docker_notes
- nning]] *[[https://www.redhat.com/sysadmin/nmap-scripting-engine|5 scripts for getting started with the Nmap Scripting Engine]] =====kea dhcp===== ====main dhcp4===