Reviewing my doku wiki I put together from the posts provided here I still have some unfinished contents. Specifically "Network Monitoring", "Monitoring", "Simple NAS Server" and "Extras".
Just wondering if I missed something or are they not quite finished yet?
# sudo useradd testuser -s /bin/bash -m -G adm,sudo,dialout,cdrom,audio,video,plugdev,games,users,input,netdev,gpio,i2c,spi
# sudo passwd testuser
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
# Allow members of group sudo to execute any command
# %sudo ALL=(ALL:ALL) ALL
%sudo ALL=(ALL) NOPASSWD: ALL
# sudo userdel pi
# sudo rm -rf /home/pi
apt-get install ssmtp
mailhub=mail.example.org
FromLineOverride=YES
mailhub=smtp.gmail.com:587
UseSTARTTLS=Yes
AuthUser=gmailuser@gmail.com
AuthPass=gmailpassword
FromLineOverride=YES
root:gmailuser@gmail.com:smtp.gmail.com:587
localuser:gmailuser@gmail.com:smtp.gmail.com:587
echo "Test message from Linux server using ssmtp" | sudo ssmtp -vvv destination-email-address@some-domain.com
/etc/sysctl.conf
# these might not work for everyone
# Some kernel tweaks for Network performance
# a bit aggressive, but good for gigabit
#
# socket buffer space - sounds like a lota at 16MB per socket. it isn't
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
# These are the corresponding settings for the IP protocol, in the format
# (min, default, max) bytes. The max value can’t be larger than the
# equivalent net.core.{r,w}mem_max.
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
# Increase the number of outstanding syn requests allowed.
net.ipv4.tcp_max_syn_backlog = 4096
# tell kernal to keep 64MB RAM free at all times
vm.min_free_kbytes = 65536
# Keep VM calm when hitting the swap file when you’re running
# under high memory pressure with software
# that tries to do its own memory management (i.e. MySQL).
vm.swappiness = 10
echo 1 > /sys/kernel/mm/ksm/run
echo 1000 > /sys/kernel/mm/ksm/sleep_millisecs
#!/bin/bash
# Raspberry Pi ZRAM script
# Tuned for quad core, 1 GB RAM models
# put me in /etc/init.d/zram.sh and make me executable
# then run "sudo update-rc.d zram.sh defaults"
modprobe zram
echo 3 >/sys/devices/virtual/block/zram0/max_comp_streams
echo lz4 >/sys/devices/virtual/block/zram0/comp_algorithm
echo 268435456 >/sys/devices/virtual/block/zram0/mem_limit
echo 536870912 >/sys/devices/virtual/block/zram0/disksize
mkswap /dev/zram0
swapon -p 0 /dev/zram0
sysctl vm.swappiness=10
Mem Stuff... Raspbian doesn't support this (yet, I have an open ticket with them), but debian/redhat distro's generally do implement this feature currently....
That works ... Just picked up a Pi 3B+ to play withBeen thinking about just spinning up a dokuwiki instance and hosting it...
That works ... Just picked up a Pi 3B+ to play with
Does dokywiki have a way to print out the content?
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!