Search

You can find the results of your search below.

Rsync @home_server:home_server_setup:other_services
29 Hits, Last modified:
including the directory, within dir2. This would create a hierarchy that looks like: ~/dir2/dir1/[files] ... l rsync'' ''sudo vim /etc/rsyncd.conf'' <file> # create new # any name you like [all] # destination dire... e (using rsync or scp or telnet or whatever). It creates a full-blown snapshot for each run, but makes ex... en.wikipedia.org/wiki/Cron|cron]] to periodically create backups. To top it off, it also has a graphics fr
Docker mailserver @docker_notes
23 Hits, Last modified:
ail. So the following seems to meet my needs: *create file ''ll.sh'' *<code>#!/bin/sh exec ls -la "... 'sqlite3 /app/mailserver.db'' to start sqlite and create or open mailserver.db. *''.open /app/mailserver... u want to receive email for.| This SQL statement creates a table like that: ===sql code=== <code sql>CREATE TABLE IF NOT EXISTS `virtual_domains` ( `id` int(11)
Back-up Server Old Setup @home_server:home_server_setup:other_services
22 Hits, Last modified:
i mergerfs_2.29.0.ubuntu-xenial_amd64.deb'' Then create a mount point directory, e.g. /srv/storage, ''su... | ''pvdisplay'' | ✘ | ✔ | ✔ | ✔ | | create | ''pvcreate'' | ✘ | ✔ | ✔ | ✔ | | rename | ''vgrename'' | ✘ | ✘ | ✔... unt failed, exit with error fi fi </code> ++++ Created script to mount backup1 ''sudo bash ~/Myscripts/
Docker @docker_notes
17 Hits, Last modified:
a more complex iptable configuration I could have created a file called iptables-docker.rules in /etc/ipta... changes are made the container will need to be recreated. This is effectively only for simple basic fil... ty addition command is: <code bash> docker volume create portainer_data docker run -d -p 9443:9443 --name=... s -a'' | Show a list of all containers| |''docker create IMAGE'' | Create a new container| |''docker start
Docker nginx / php notes @docker_notes
17 Hits, Last modified:
d'' is a default override directory, so it can be created on use. ====/usr/share/nginx/==== ++++/usr/s... ctory ''/etc/nginx/http.d/'' should already exit. Create test.conf. ++++/etc/nginx/http.d/test.conf| <code... nabled, the ENV, REQUEST and SERVER variables are created when they're ; first used (Just In Time) instead... at handle many sessions. ; ; NOTE 1: PHP will not create this directory structure automatically. ;
Nextcloud Container @docker_notes
14 Hits, Last modified:
edit config/type of a Circle circles:manage:create create a new circle circles:manage:destroy destroy a circle by its ID ... Set a system config value dav dav:create-addressbook Create a dav addressbook dav:create-calendar Create a da
Docker-Compose @docker_notes
13 Hits, Last modified:
d** *''%%docker-compose up -d --build --force-recreate%%'' * ''-d'' * ''%%--build%%'' on require... se includes building an image * ''%%--force-recreate%%'' *''docker-compose down'' *''docker-compos... ===Networking===== By default Docker-Compose will create a new network for the given compose file. You can... fining custom networks in your compose file. ====Create and assign custom network==== *Example:* <code y
Docker Deluge Image / Service @docker_notes
10 Hits, Last modified:
'docker build -t deluge-openvpn-nftables .'' - to create the image deluge-openvpn-nftables *''docker run... ying ++macvlan option|<code bash> docker network create -d macvlan \ --subnet=192.168.1.0/24 \ ... re and this worked a beaut. * Need to manually create ++/dev/net/tun|<code bash> #!/bin/sh mkdir -p /d... e that NFS server is running. <code>docker volume create --driver local \ --opt type=nfs \ --opt o=add
Network Setup @home_server:home_server_setup
9 Hits, Last modified:
never used them yet. As instructed in the system created yaml file ''/etc/netplan/50-cloud-init.yaml'', create the file ''sudo vim /etc/cloud/cloud.cfg.d/99-disa... addresses: [192.168.1.1] </code> I also created a bridge definition file for libvirt as recommended by netplan.io examples: Create a file br0.xml, ''vim ~/br0.xml'' and add followi
Router Miscellaneous @linux_router
8 Hits, Last modified:
/baumkp/algo:/data --name=algo mutemule/algo" to create and run image --cap-drop All [Drop all Linux e... is assumed that the container has been previously created/run and is available to be started at boot. ''s... ady exists, ''sudo mkdir -p /var/log/journal'' to create directory if not existing, and ''sudo rm -R /var/... devices]], [[https://www.cyberciti.biz/faq/how-to-create-bridge-interface-ubuntu-linux/|How To Setup Bridg
KVM Setup @home_server:home_server_setup
8 Hits, Last modified:
is optional. *''genisoimage'' is a package to create iso images *''libguestfs-tools'' is a library t... ame_VM_file.img'' A compacted qcow2 image can be created using the following command: ''sudo qemu-img con... ersion_of_old.qcow2'' ===Copy to New Server=== I created a new Debian server on the same hardware as the ... full backup - Live backup using snapshot - Create a snapshot of the VM and direct all changes to th
BASH Customisation @home_server:home_server_setup:other_services
7 Hits, Last modified:
ove-orphans' alias dcrec2='dcrun2 up -d --force-recreate' alias dcstop2='dcrun2 stop' alias dcrestart2='dc... vices.txt)' alias dcmrec2='dcrun2 up -d --force-recreate $(cat /home/$BA_USERNAME/docker/scripts/monitorin... nclude compression, but this was added later. ====create==== main ''tar'' create options, e.g.: ''tar -cvf archive_filename.tar file1 directory1 file2'' *''-c''
KPTree - Email Server Setup @home_server
6 Hits, Last modified:
T_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'; SET SESSION sql_mod... T_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'; SELECT @@SQL_MODE, ... ]]. Whereas for my router setup I have more fully created my own notes.\\ Unfortunately the certbot site ... installer directory, disable access in apache2: create new file: ''/etc/apache2/sites-available/roundcub
Reverse Proxy Server @docker_notes
5 Hits, Last modified:
cker bridge network named proxy, ''docker network create proxy'' =====Traefik===== <code bash [enable_line... iles/traefik-portainer-ssl/traefik|here]].\\ ====create docker network==== <code bash [enable_line_numbers="true"]>docker network create proxy</code> <code bash [enable_line_numbers="tru... ne_numbers="true"]>docker-compose up -d --force-recreate</code>\\ Folder Structure: <code>./traefik ├── da
ssh with key files @tech_notes
5 Hits, Last modified:
e of ''sudo'' should not be necessary as the keys created should be user based.</fc> =====ssh-keygen====== The ''ssh-keygen'' command is used to create ssh key pairs //Use ''man ssh-keygen'' to see op... / ====ssh-keygen default==== * ''ssh-keygen'' creates a SSH key pair. The defaults are: * home di... === * ''ssh-keygen -f .ssh/key-with-password'' creates a SSH key with non-default name and location. T
Dokuwiki @docker_notes
3 Hits, Last modified:
KPTree - MSWindows Setup @home_server
3 Hits, Last modified:
NFTables Configuration @linux_router
3 Hits, Last modified:
ansible @tech_notes
3 Hits, Last modified:
snapraid @home_server:home_server_setup:other_services
3 Hits, Last modified:
Docker - DNS Server @docker_notes
2 Hits, Last modified:
Debian / Ubuntu Network Setup @linux_router
2 Hits, Last modified:
Nginx @tech_notes
2 Hits, Last modified:
NFS @home_server:home_server_setup:other_services
2 Hits, Last modified:
Docker - DHCP Server @docker_notes
1 Hits, Last modified:
Docker Host @docker_notes
1 Hits, Last modified:
DHCP / DNS Setup @linux_router
1 Hits, Last modified:
Router VM @linux_router
1 Hits, Last modified:
Python Programming Notes @python
1 Hits, Last modified: