Search
You can find the results of your search below.
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_string; fastcgi_... NTENT_LENGTH $content_length; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_param REQUEST_URI $request_uri; fastcgi_param DOCUMENT
- Back-up Server Old Setup @home_server:home_server_setup:other_services
- l mount point to be unmounted ++++Possible mount script| <code bash> #!/bin/bash #input 1 is the propose... ed, exit with error fi fi </code> ++++ Created script to mount backup1 ''sudo bash ~/Myscripts/mount_ba... ipts/mount_backup1.sh''| <code bash> #!/bin/bash #Script to mount NFS remote Disk1 to local /mnt/backup1 ... ed, exit with error fi fi </code> ++++ Created script to mount backup2 ''sudo bash ~/Myscripts/mount_ba
- Rsync @home_server:home_server_setup:other_services
- pts/rsync_shared.sh'' #Note this is a local only script and takes no additional batch inputs when run! ++... 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 can eliminate this. One is at the script level and the other is at the system level. If we
- BASH Customisation @home_server:home_server_setup:other_services
- sh_aliases configure configuration bashrc command script .bashrc history sudo visudo dimmer ps kill nightm... startbasic='dcup2 $(cat /home/$BA_USERNAME/docker/scripts/cloudserver/basic-services.txt)' alias stopbasic='dcstop2 $(cat /home/$BA_USERNAME/docker/scripts/cloudserver/basic-services.txt)' alias stopmedia='dcstop2 $(cat /home/$BA_USERNAME/docker/scripts/cloudserver/media-services.txt)' alias startmedi
- KPTree Torrent VM Setup @home_server
- N OpenVPN Linux CLI setup and associated download script worked well and was similar to the BTGuard setup,... h the following issues easily found: * Once the script was run PrivateVPN recommended using ''sudo privatvpn'' to run. The setup script creates a systemctl profile: openvpn@privatvpn.se... _. * The remote server server in the downloaded script no longer was correct and had to be changed to on
- NUT (Network UPS Tools) Setup @home_server:home_server_setup:other_services
- this time, including early conversion to systemd scripts. I notice the Techno Tim [[https://docs.technot... configuration is still based upon similar systemd scripts and configuration.** The Ubuntu 16.04 NUT scripts seem to be based upon init.d (located in /etc/init.d... Systemd seems to have a method for legacy init.d scripts and creates scripts in /run/systemd/generator.la
- Docker mailserver @docker_notes
- l.sh file to /bin/ll or link it ''/bin/ln -s /app/scripts/ll.sh /bin/ll'' =====sqlite===== ====sqlite co... current postfix operating status It looks a shell script is used to control Postfix, in Alpine is is located ++here|/usr/libexec/postfix/postfix-script++ ===systemd=== The systemd service script is a hoot!, it seems to do nothing meaningful. ++++/lib/syst
- 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
- NFTables Configuration @linux_router
- </color> ++ | + <color #202000/#F0F0E0> nftables scripts need this shebang with the -f option to run</color>++ \\ <tab3> \\ <tab3><color blue># script variable definitions</color> ++ | \\ +<color #202... nd this would be to have a basic nftables.service script for boot, dropping all connectivity, except local ssh ports and have a separate end of boot script with the full nftables script.\\ :!: It is impo
- samba @home_server:home_server_setup:other_services
- ik.tu-muenchen.de> for # sending the correct chat script for the passwd program in Debian Sarge). passw... fect if 'domain logons' is set # It specifies the script to run during logon. The script must be stored # in the [netlogon] share # NOTE: Must be store in 'DOS' file format convention ; logon script = logon.cmd # This allows Unix users to be creat
- 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.
- 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 Server @docker_notes
- des backend database initialization and migration scripts and a DHCP benchmark tool. If you are not using ... function. ====DHCP testing==== ''%%sudo nmap --script broadcast-dhcp-discover%%'' will test the DHCP se... nning]] *[[https://www.redhat.com/sysadmin/nmap-scripting-engine|5 scripts for getting started with the Nmap Scripting Engine]] ====main dhcp4==== *''kea-dhc
- Web Server setup @home_server
- n the server and virtual machines. The following scripts assist with changing the uid and gid of files on a system. These scripts are reasonably basic with basic commenting and u... rstanding of function can be easily seen from the script text. I got these of the internet somewhere, I d... -name certname%%'' *To check certbot auto renew script ''sudo certbot renew'' *To check certbot auto r
- Python Programming Notes @python
- g ''subprocess.returncode'' =====Python Back-up Scripts===== My python based back-up scripts are located here: [[home_server:home_server_setup:other_services:back-up_server#python_backup_scripts]] =====Some on line resources===== *[[https://... ptions.com/blog/how-to-pass-arguments-to-a-python-script-from-the-command-line/|How to Pass Arguments to a