Search
You can find the results of your search below.
Fulltext results:
- Docker nginx / php notes @docker_notes
- kens off; # Specifies the maximum accepted body size of a client request, as # indicated by the reque... the stated content # length is greater than this size, then the client receives the HTTP # error code ... o 0 to disable. Default is '1m'. client_max_body_size 1m; # Sendfile copies data between one FD and o... r_ciphers on; # Enables a shared SSL cache with size that can hold around 8000 sessions. # Default is
- SSH Notes @home_server:home_server_setup:other_services
- info import socket import uuid import re def get_size(bytes, suffix="B"): """ Scale bytes to it... = psutil.virtual_memory() print(f"Total: {get_size(svmem.total)}") print(f"Available: {get_size(svmem.available)}") print(f"Used: {get_size(svmem.used)}") print(f"Percentage: {svmem.percent}%
- KVM Setup @home_server:home_server_setup
- QEMU Commands===== ====Change the Disk Allocated Size==== How to change the amount of disk space assign... a KVM *[[https://fatmin.com/2016/12/20/how-to-resize-a-qcow2-image-and-filesystem-with-virt-resize/|How to Resize a qcow2 Image and Filesystem with Virt-Resize]] *First turn off the virtual machine to
- Manjaro Setup Notes @home_server:home_server_setup:other_services
- # Default color and border color default_bar_size 0 6 # Specify a default width and height for bars. default_gauge_size 25 25 # Specify a default width and height for gauges. default_graph_size 0 25 # Specify a default width and height for... ace library (anti-aliased font) xftfont Monospace:size=11:weight=bold # Xft font to be used # -----
- Back-up Server Old Setup @home_server:home_server_setup:other_services
- s ''df -Th'' <code> Filesystem Type Size Used Avail Use% Mounted on udev devtmp... ''lvreduce'' | ✘ | ✘ | ✔ | ✔ | | resize | ''lvresize'' | ✘ | ✔ | ✘ | ✔ | | split | ''vgsplit'' | ✘ | ✘ | ... data in some special # cases # # LVM snapshot(s) size (lvcreate --size option). # #linux_lvm_snapshotsi
- IPMI Console Setup @home_server:home_server_setup:other_services
- o the BMC network) -tty terminal controls (e.g. size) An important reference to setting this up is my... e problem is the terminal does not autmatically resize, a couple of tools are available to assist with t... ''stty'' can be used to manually set the terminal size, e.g. ''stty cols 132 rows 34'' * The command ''resize'' automatically resizes the stty terminal to mat
- BASH Customisation @home_server:home_server_setup:other_services
- tories recursively * ''-S'' : sort by file size, largest first * ''-t'' : sort by time ... ='trash-list' alias srmt='sudo trash-put' # FILE SIZE AND STORAGE alias fdisk='sudo fdisk -l' alias uui... uto' alias lt='ls --human-readable --color=auto --size -1 -S --classify' # file size sorted alias lsr='ls --color=auto -t -1' # recently modified alias mnt='m
- Rsync @home_server:home_server_setup:other_services
- fter its truncated MINLINES=2000 # Calculate the size of the Log file LOGSIZE=$( wc $LOG | awk '{ print $1 }' ) # Place in the log file information concerni... h exit status $EXITSTATUS. Log file $LOG has $LOGSIZE lines." # Truncate the log file if needed if [ $LOGSIZE -ge $MAXLINES ] then LINECUT=`expr $LOGSIZE -
- Docker @docker_notes
- .ID }}\t{{.Status}}\t{{.Image}}\t{{ .Names }}\t{{.Size}}'%%'' <code>CONTAINER ID STATUS ... NAMES SIZE</code> ===reference=== *[[https://devdojo.com/... /docs.docker.com/storage/storagedriver/#container-size-on-disk|Container size on disk]] ====Backup a container==== Backup docker data from inside container vo
- Nextcloud Container @docker_notes
- maxbytes=50MB ; maximum size of logfile before rotation logfile_backups=10 ... d files according to the given filters trashbin:size Configure the target trashbin size twofactorauth twofactorauth:cleanup
- KPTree - Email Server Setup @home_server
- ectory on an NFS drive to help limit the VM drive size, /mnt/shared/vmail. *Follow change directions... ectory on an NFS drive to help limit the VM drive size, /mnt/shared/vmail. *My vmail user uid has ... data_length + index_length) / 1024 / 1024, 1) "DB Size in MB" FROM information_schema.tables GROUP BY ta
- Router Hardware @linux_router
- side to these is poor power consumption and large size, even an old server tends to use more than 30W at... es are a good option, low power (~8 - 10W), small size. They come with 2 SATA ports and mini PCI-E slots... y with older NIC hardware and lower memory and HD size and can be had at even lower prices. *I decided
- Basic Netfilter Function Block Diagram @linux_router
- of TCP connections. The MSS is just the TCP data size and excludes the IP and TCP headers that are norm... ited to 1500 bytes and the maximum Ethernet frame size must be 1536 bytes or greater. The following over... *VLAN header (optional) = 4 btyes *EtherType/Size = 2 bytes *Payload = maximum 1500 bytes (MTU)
- KPTree - MSWindows Setup @home_server
- raphics, but the NUC will allow a lower tier full size graphics card to be installed (graphics cards is primarily limited by 2 bay size, 650W power supply). ++++ So below is a list of
- NFTables Configuration @linux_router
- red>$wan</color> tcp flags syn tcp option maxseg size set rt mtu <color blue> # This automatically set ... #000060/#F0F0FF> tcp flags syn tcp option maxseg size set 1452 counter</color> <color blue> # This se