Generated by All in One SEO v5.0.0.1, this is an llms.txt file, used by LLMs to index the site. # Upods.net Your Technology Source ## Sitemaps - [XML Sitemap](https://upods.net/sitemap.xml): Contains all public & indexable URLs for this website. ## Posts - [How to Backup IMAP Mailboxes and Nextcloud Calendars, Contacts, and Notes](https://upods.net/how-to-backup-nextcloud-calendars-contacts-and-notes/) - To backup all IMAP mailboxes for a user account, first download Rick Sander's IMAP tools and save them somewhere on your system. Next, create a cron job and have it execute the following command: mkdir -p /tmp/IMAP_$(date +%Y-%m-%d) && /path/to/imapdump/imapdump.pl -S example.com:993/user/password -f /tmp/IMAP_$(date +%Y-%m-%d) && cd /tmp/IMAP_$(date +%Y-%m-%d) && zip -r /backup/path/user@example.com_$(date +'%m-%d-%Y').zip user@example.com - [How to Isolate Sending Permissions with Amazon SES](https://upods.net/how-to-isolate-sending-permissions-with-amazon-ses/) - To isolate sending permissions so that Website A cannot send emails using Website B's domain, you need to create dedicated IAM Users for each website with a restricted IAM Policy. The easiest and cleanest way to do this is using the AWS Console. Step 1: Get the ARN of Your Domain Identity in SES Open - [How to Install AI Tools Locally with Docker](https://upods.net/how-to-install-ai-tools-in-docker/) - Fooocus # docker pull ghcr.io/lllyasviel/fooocus:latest # docker run -d \ --name fooocus \ --gpus all \ -p 7865:7865 \ -v fooocus_data:/content/data \ ghcr.io/lllyasviel/fooocus:latest VideoSOS Clone the repo # git clone https://github.com/timoncool/videosos # cd videosos Start VideoSOS in Docker # docker compose up -d Open in browser http://localhost:3000 Stop when done # docker compose down LocalAI - [Useful MinIO scripts](https://upods.net/1036-2/) - nextcloud_archive_files.sh #!/bin/bash set -o pipefail ############################################# # CONFIGURATION ############################################# NEXTCLOUD_DATA_DIR="/path/to/nextcloud/data" MINIO_ALIAS="myminio" MINIO_BUCKET="bucket_name" LOG_FILE="/path/to/minio.log" # DRY RUN (set to false to actually upload & delete) DRY_RUN=false # Disable MC color output to avoid ANSI codes export MC_COLOR=off mkdir -p "$(dirname "$LOG_FILE")" touch "$LOG_FILE" ############################################# # SANITIZATION FUNCTIONS ############################################# sanitize_string() { printf "%s" "$1" | tr -d - [Setting up a NAS on a Raspberry Pi 5 that boots from NVME](https://upods.net/setting-up-a-nas-on-a-raspberry-pi-5-that-boots-from-nvme/) - # curl https://download.argon40.com/argonneo5.sh | bash # nano /boot/firmware/config.txt kernel=kernel8.img dtparam=nvme dtparam=pciex1_gen=3 usb_max_current_enable=1 # sudo apt update # sudo apt install snapd # sudo snap install snapd # sudo snap install nextcloud # sudo /snap/bin/nextcloud.occ config:system:set trusted_proxies 0 --value="127.0.0.1" # sudo /snap/bin/nextcloud.occ config:system:set trusted_domains 1 --value="yourdomain.com" # sudo /snap/bin/nextcloud.disable-https # sudo apt install caddy # sudo - [A Script for Backing Up Nextcloud to an FTP Server](https://upods.net/a-script-for-backing-up-nextcloud-to-an-ftp-server/) - #!/bin/bash # ==== CONFIGURATION ==== NEXTCLOUD_PATH="/var/www/html" DATA_PATH="/var/www/html/data" BACKUP_PATH="/var/backups/nextcloud" DB_USER="nextcloud" DB_PASS="dbpassword" DB_NAME="nextcloud" FTP_HOST="yourftphost.com" FTP_USER="yourftpuser" FTP_PASS="yourftppassword" FTP_DIR="/path/to/save/file" DATE=$(date +"%Y-%m-%d_%H-%M") ARCHIVE_NAME="nextcloud-backup-$DATE.tar.gz" MAX_LOCAL_BACKUPS=3 # ==== START BACKUP ==== echo "Starting streamed Nextcloud backup..." mkdir -p "$BACKUP_PATH" # Export database (small file) DB_DUMP="/tmp/db_$DATE.sql" mysqldump --no-tablespaces -u "$DB_USER" -p"$DB_PASS" "$DB_NAME" > "$DB_DUMP" # === Stream tar directly to FTP === echo - [Setting Up Radicale and Infcloud in Debian 13 (Trixie)](https://upods.net/setting-up-radicale-and-infcloud-in-debian-13-trixie/) - # apt update # apt install git python3-pip python3-venv # useradd -r -m -d /var/lib/radicale -s /bin/bash radicale # mkdir /etc/radicale # nano /etc/radicale/radicale.conf [server] # Bind to all IP addresses (0.0.0.0) instead of just localhost hosts = 0.0.0.0:5232 [auth] type = htpasswd htpasswd_filename = /etc/radicale/users htpasswd_encryption = bcrypt [storage] filesystem_folder = /var/lib/radicale/collections [web] type - [Install Nextcloud on a Raspberry Pi 5 using Snap](https://upods.net/install-nextcloud-on-a-raspberry-pi-5-using-snap/) - This article assumes that you have all of your files in the /volume1 folder. In order to be able to access these files from within Nextcloud's External Storage app, you will need to add the following line in /etc/fstab: /volume1 /mnt/volume1 none bind Also, until Redis packages are made to take advantage of the larger - [Setting Up Webmin/Fail2ban/Freeswitch in Debian](https://upods.net/setting-up-webmin-fail2ban-freeswitch-in-debian/) - Webmin Setup The simplest and best way to get Webmin is to use automatic webmin-setup-repo.sh script to configure repositories on your RHEL or Debian derivative systems. It can be done in two easy steps: $curl -o webmin-setup-repo.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh sudo sh webmin-setup-repo.sh This script will automatically setup our repository and install our GPG keys on your - [Setting Up a Syncthing System Service](https://upods.net/setting-up-a-syncthing-system-service/) - Create the user who should run the service, or choose an existing one.(Skip if your distribution package already installs these files, see above.) From git location copy the syncthing@.service file into the load path of the system instance. On Debian 12, the path of the file is '/usr/lib/systemd/system'. I also added the following lines to - [Booting the Pi from a GPT partitioned USB Disk](https://upods.net/booting-the-pi-from-a-gpt-partitioned-usb-disk/) - *IMPORTANT UPDATE* The original instructions listed below were causing my system to randomly go into read-only mode. Use the following instructions instead: Download usb-boot.zip and extract the file named mbr2gpt Make the file mbr2gpt executable and run it from a system that didn't boot off of the disk that you are about to convert. For - [Setting Up IMAPdump in Debian](https://upods.net/setting-up-imapdump-in-debian/) - IMAPdump, requires OpenSSL to be installed. Install it using the following command: $ sudo apt install openssl The IO::Socket::SSL Perl module is also required. First, install using the following command: $ sudo perl -MCPAN -e shell Then enter the following command from within the cpan shell: cpan[1]> install IO::Socket::SSL Now IMAPdump should run without errors. - [How to Install Proxmox on the Raspberry Pi](https://upods.net/how-to-install-proxmox-on-the-raspberry-pi/) - Preparing your Raspberry Pi for Proxmox 1. Our first task before installing Proxmox onto the Raspberry Pi is to update the package list cache and upgrade any out-of-date packages. You can perform both tasks by using the following two commands within the terminal. $ sudo apt update $ sudo apt upgrade 2. Your next step - [Using a Raspberry Pi as a Thin Client for Proxmox VMs](https://upods.net/using-a-raspberry-pi-as-a-thin-client-for-proxmox-vms/) - Virtual Desktop Infrastructure (VDI) is quite a buzz-word now in enterprise computing, and it’s something I’d like to experiment more with in my homelab. Essentially, it’s a new way to describe old school terminal servers, but with modern features and marketing. The primary difference is that VDI normally implies that each ‘seat’ is a virtual - [Adding external storage in Nextcloud fails with “wrong password”](https://upods.net/adding-external-storage-in-nextcloud-fails-with-wrong-password/) - If you are having trouble with adding external storage mounts in Nextcloud, you can do this: $ sudo -u www-data php occ files_external:list You can see the bad external mounts and delete it with: $ sudo -u www-data php occ files_external:delete X Then, you can re-create good ones by using this command: $ sudo -u - [Setting Up Nextcloud in a Docker Container](https://upods.net/setting-up-nextcloud-in-a-docker-container/) - Use the following to set up Nextcloud in a Docker Container: version: '3.9' services: mariadb: image: mariadb:latest container_name: Nextcloud-DB security_opt: - no-new-privileges:true command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF environment: - PUID=1000 - PGID=1000 - MYSQL_ROOT_PASSWORD=[PASSWORD] - MYSQL_PASSWORD=[PASSWORD] - MYSQL_DATABASE=nextcloud - MYSQL_USER=nextcloud - TZ=America/Los_Angeles volumes: - /volume1/docker/nextcloud/mariadb:/config restart: on-failure:5 redis: image: redis:latest container_name: Nextcloud-REDIS hostname: nextcloudredis healthcheck: test: - [Change Boot Order to USB Raspberry Pi 5 (w/NVME)](https://upods.net/change-boot-order-to-usb-raspberry-pi-5-w-nvme/) - I have my raspberry pi 5 hooked up to an nvme via pcie. When I pull up raspi-config the only options are to boot nvme first or sd first. However I need an option to boot usb first followed by nvme. The case I'm using doesn't provide access to the micro sd card slot. I've - [Setting Up Webmin in a Docker Container](https://upods.net/setting-up-webmin-in-a-docker-container/) - In Portainer, create a new container and give it a name and use debian:latest for the image. Map the following ports: FTP tcp port 21 Samba tcp ports 139 & 445 NFS tcp/udp port 2049 TFTP udp port 69 Webmin tcp port 10000 In the Advanced Container Settings under Commands and Logging add the command: - [How To Build a NAS Using a Raspberry Pi 5 and a Radxa Penta SATA Hat](https://upods.net/how-to-build-a-nas-using-a-raspberry-pi-5-and-a-radxa-penta-sata-hat/) - Required Items: A 3D printer to print the case Raspberry Pi 5 (8GB preferred) Radxa Penta SATA Hat 2.5" Hard Drive or SSD NF-A8 Noctua Fan 12V 5A Power Adapter Minimum 8GB MicroSD Card Build Instructions: Begin by downloading the 3D print files here and print the Pi NAS case. Using the Raspberry Pi Imager, - [How to Install and Configure FusionPBX](https://upods.net/how-to-install-and-configure-fusionpbx/) - Start with a fresh install of Debian Linux. Then run the following commands as root to install Fusion PBX: # apt update # apt install libflite1 flite-dev # wget -O - https://raw.githubusercontent.com/fusionpbx/fusionpbx-install.sh/master/debian/pre-install.sh | sh; # cd /usr/src/fusionpbx-install.sh/debian && ./install.sh Once the install finishes, make note of the password and reboot the system. Then log in - [Setting Up Tvheadend in a Docker Container](https://upods.net/setting-up-tvheadend-in-a-docker-container/) - Create a new container using the image located at: lscr.io/linuxserver/tvheadend:latest Now add volumes for the Tvheadend config files, recordings, and time zone environment variables: /volume1/docker/tvheadend:/config:rw /volume1/recordings:/recordings:rw /etc/timezone:/etc/timezone:ro /etc/localtime:/etc/localtime:ro Last, you need to change the network to "Host" mode in order for the HDHomerun tuner(s) to work. Source https://hub.docker.com/r/linuxserver/tvheadend - [Setting Up Syncthing in a Docker Container](https://upods.net/setting-up-syncthing-in-a-docker-container/) - Use the following to set up Syncthing in a Docker Container: --- services: syncthing: image: lscr.io/linuxserver/syncthing:latest container_name: syncthing hostname: syncthing #optional environment: - PUID=1000 - PGID=1000 - TZ=America/Los_Angeles volumes: - /volume1/docker/syncthing:/config - /volume1/path/to/folder1:/folder1 - /volume1/path/to/folder2:/folder2 ports: - 8384:8384 - 22000:22000/tcp - 22000:22000/udp - 21027:21027/udp restart: unless-stopped Source https://hub.docker.com/r/linuxserver/syncthing - [How to Install Nextcloud on a Synology the Easy Way](https://upods.net/how-to-install-nextcloud-on-a-synology-the-easy-way/) - Begin by installing a package called "Container Manager". This should have created a new folder in your drive volume called 'docker'. Create a new folder within this folder called "nextcloud". Then create 7 new folders inside the nextcloud folder called "config", "db", "custom_apps", "themes", "html", "redis", and "data". Now right click on the nextcloud folder - [How to create a 3-in-1 bootable usb drive on Linux](https://upods.net/how-to-create-a-3-in-1-bootable-usb-drive-on-linux/) - A usb drive with only 1 partition to load grub2 on usb-bootable machines with Legacy BIOS, 64bit UEFI or 32bit UEFI. Note: due to the maximum size of a file inside an EFI system partition, files (such as ISO disk images) of 4 GiB or larger must be placed on another partition. That second partition - [Network Booting Raspbian Lite to a Raspberry Pi 4 from a Synology NAS](https://upods.net/network-booting-raspbian-lite-to-raspberry-pi-from-synology-nas/) - Work Environment NAS: Synology DS216+II with DSM 6.1.7-15284 Netgear WNDR3700v2 Router Running Gargoyle Firmware version 1.10.0 or DD-WRT v3.0-r40559 std (08/06/19) Raspberry Pi Before you begin If you have a battery backup unit then enable UPS. To boot a Raspberry Pi 4 using PXE, there are a few steps required, starting with updating that bootloader - [Optimal Virtualmin Template Settings](https://upods.net/optimal-virtualmin-template-settings/) - Create a file in /etc/skel/public_html/index.html with the following: Under Construction html { height:100%; } body { color: #fff; margin: 0; font-family: "Montserrat", sans-serif; font-style: normal; font-size: 14px; line-height: 22px; height: 100%; background-color: #fff; } h1 { margin-top: 20px; font-size: 50px; opacity: - [How to install Virtualmin on a Raspberry pi 4](https://upods.net/how-to-install-virtualmin-on-a-raspberry-pi-4/) - You can install Virtualmin in Raspberry Pi with just a simple modification on to the install script. I have my Raspberry Pi 4 installed with Pi OS Bookworm and it is based on Debian Linux 12 using the install script. What you need to do is 1. wget http://software.virtualmin.com/gpl/scripts/install.sh 2. sudo nano install.sh 3. Find - [How to Use CloudFront to do WordPress Page Caching](https://upods.net/how-to-use-cloudfront-to-do-wordpress-page-caching/) - Previously, we looked at WordPress page caching using a content delivery network (CDN). This is an essential tool for speeding up a WordPress site at a global scale. That said, it’s still not commonly used by a lot of WordPress hosts. With Ymir, you get a CloudFront (Amazon’s CDN) distribution set up to do page - [Building a TV Server on a Raspberry Pi](https://upods.net/building-a-tv-server-on-a-raspberry-pi/) - Before you begin: You will need to donate $20 to http://mc2xml.awardspace.info to get a version of the software that will run on your Synology if it uses an ARM processor and won’t run the standard x86 version that you can download from the site. The DS216+II in this tutorial has an Intel x86 / x64 - [How to Set Inotify Limit PERMANENTLY on a Synology Diskstation](https://upods.net/how-to-set-inotify-limit-permanently-on-a-synology-diskstation/) - Go to Control Panel -> Task Scheduler. Create a New Task -> Triggered Task -> User-defined script. In General Settings tab: give it a name (e.g. “Syncthing Sysctl Inotify Fix”) and Event = Boot-up. In the Task Settings tab: enter this in the Run Command box: sh -c '(sleep 90 && echo 204800 > /proc/sys/fs/inotify/max_user_watches)&' - [How To Resize a Cloud Server File System](https://upods.net/how-to-resize-a-cloud-server-file-system/) - This guide explains how to expand the file system on a Vultr cloud server instance. If you have upgraded your cloud server to a plan with a larger disk or need to expand a partition while preserving data, follow these steps. A cloud server instance is sometimes called a Virtual Private Server or VPS. This - [How to solve delete file “Operation not permitted” on Linux](https://upods.net/how-to-solve-delete-file-operation-not-permitted-on-linux/) - Sometimes it is necessary to prevent all users including root from deleting a file. This is often done by changing the file attributes on a Linux file system. The tool used to change file attributes in Linux and other Unix systems is chattr and the tool used to view the newly set attributes is lsattr. - [Raspberry Pi PXE Boot – Network booting a Pi 4 without an SD card](https://upods.net/raspberry-pi-pxe-boot-network-booting-a-pi-4-without-an-sd-card/) - Install Raspbian on an SD card and install needed tools Let’s start configuring your client system for netboot. This is the Raspberry Pi that will eventually boot without a micro SD card installed. Download PiOS Lite. For this tutorial I used the Bullseye release. Copy the Bullseye image onto an SD card. I suggest using - [How to Prevent Kernel Updates on Raspberry Pi OS](https://upods.net/how-to-prevent-kernel-updates-on-raspberry-pi-os/) - $ sudo apt-mark hold libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc libraspberrypi0 $ sudo apt-mark hold raspberrypi-bootloader raspberrypi-kernel raspberrypi-kernel-headers Reference https://www.raspberrypi.org/forums/viewtopic.php?p=1701547#p1701547 - [How To Install Nextcloud On A Synology NAS](https://upods.net/how-to-install-nextcloud-on-a-synology-nas/) - This post should tell you everything you need to know to install Nextcloud instance on your Synology NAS without using Docker. I previously published a post on how to setup Pi-Hole on a Synology and since then a number of people have asked for a guide on how to install Nextcloud on a Synology. After - [How to Install Webmin+Nginx+Nextcloud+Syncthing on a Raspberry Pi 4](https://upods.net/how-to-install-webmin-nginx-nextcloud-syncthing-on-a-raspberry-pi-4/) - Flash Pi OS Lite to a micro SD card. Install Webmin If you like to install and update Webmin via APT, edit the /etc/apt/sources.list file on your system and add the line: deb https://download.webmin.com/download/repository sarge contrib You should also fetch and install the Webmin GPG key with which the repository is signed, with the commands: - [NAT and VOIP](https://upods.net/nat-and-voip/) - What is NAT? NAT (Network Address Translation) is a technology most commonly used by firewalls and routers to allow multiple devices on a LAN with ‘private’ IP addresses to share a single public IP address. A private IP address is an address, which can only be addressed from within the LAN, but not from the - [Use Instaloader to Regularly Download Photo's from Specific Instagram Users](https://upods.net/use-instaloader-to-regularly-download-photos-from-specific-instagram-users/) - First, create a folder in your Pictures folder called 'Instaloader'. $ mkdir ~/Pictures/Instaloader Next create a file inside that folder. $ nano ~/Pictures/Instaloader/instaloader.sh Add the following to the file (replacing user's with Instagram profile names) and save: #!/bin/bash cd ~/Pictures/Instaloader ~/.local/bin/instaloader --fast-update user1 user2 user3 Give the file execute permissions and run it. $ sudo - [How to Flash Lineage OS on an LG V20 Phone](https://upods.net/how-to-flash-lineage-os-on-an-lg-v20-phone/) - This method will, when completed, will provide you with root and an unlocked bootloader, with fastboot available. It is a somewhat involved process, but the majority of the process has been simplified as much as possible. WARNING!!!!This replaces your current bootloader with a debug bootloader. If you attempt to lock this bootloader you may brick - [Building Asterisk 13 + FreePBX 13 on the SheevaPlug](https://upods.net/building-asterisk-13-freepbx-13-on-the-sheevaplug/) - Building Asterisk 13 + FreePBX 13 on the SheevaPlug In this tutorial you can read how to configure your very own open source PBX server on a SheevaPlug. If you just purchased a new SheevaPlug, there are steps that you need to take to make it boot from an SD card. Setting up a new - [How to get a Ledger Nano S Hardware Wallet to work with Electrum for Linux](https://upods.net/how-to-get-a-ledger-nano-s-hardware-wallet-to-work-with-electrum/) - Create a file in your home directory called add-udev-rules.sh and add the following: #!/bin/bash cat < /etc/udev/rules.d/20-hw1.rules # HW.1 / Nano SUBSYSTEMS=="usb", ATTRS{idVendor}=="2581", ATTRS{idProduct}=="1b7c|2b7c|3b7c|4b7c", TAG+="uaccess", TAG+="udev-acl" # Blue SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0000|0000|0001|0002|0003|0004|0005|0006|0007|0008|0009|000a|000b|000c|000d|000e|000f|0010|0011|0012|0013|0014|0015|0016|0017|0018|0019|001a|001b|001c|001d|001e|001f", TAG+="uaccess", TAG+="udev-acl" # Nano S SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0001|1000|1001|1002|1003|1004|1005|1006|1007|1008|1009|100a|100b|100c|100d|100e|100f|1010|1011|1012|1013|1014|1015|1016|1017|1018|1019|101a|101b|101c|101d|101e|101f", TAG+="uaccess", TAG+="udev-acl" # Aramis SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0002|2000|2001|2002|2003|2004|2005|2006|2007|2008|2009|200a|200b|200c|200d|200e|200f|2010|2011|2012|2013|2014|2015|2016|2017|2018|2019|201a|201b|201c|201d|201e|201f", TAG+="uaccess", TAG+="udev-acl" # HW2 SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0003|3000|3001|3002|3003|3004|3005|3006|3007|3008|3009|300a|300b|300c|300d|300e|300f|3010|3011|3012|3013|3014|3015|3016|3017|3018|3019|301a|301b|301c|301d|301e|301f", TAG+="uaccess", TAG+="udev-acl" - [How to fix raspi-config “The splash screen is not installed so cannot be activated”](https://upods.net/how-to-fix-raspi-config-the-splash-screen-is-not-installed-so-cannot-be-activated/) - Problem: You want to enable the boot splash screen on your Raspberry Pi using raspi-config, but you see this error message: The splash screen is not installed so cannot be activated followed by There was an error running option B3 Splash Screen Solution: As you can find out from reading the raspi-config source code, it checks for - [How can I remove the GUI from Raspbian/Debian?](https://upods.net/how-can-i-remove-the-gui-from-raspbian-debian/) - $ sudo apt-get --purge remove "x11-*" This will remove all the packages that are under x11 which is the library with all the graphical packages. the option --purge allow you to delete all the config file related. $ sudo apt-get --purge autoremove autoremove removes all the unused packages. There are a lot of unused packages - [How do I enable restricted codecs to play DVD's?](https://upods.net/how-do-i-enable-restricted-codecs-to-play-dvds/) - DVD support cannot be provided by default in Ubuntu due to legal and technical restrictions. Most commercial DVDs are encrypted and so require the use of decryption software in order to play them. Use Fluendo to legally play DVDs You can buy a commercial DVD decoder that can handle copy protection from Fluendo. It works - [How to Setup a minimal Virtualmin LEMP Stack in CentOS 7](https://upods.net/how-to-setup-a-minimal-virtualmin-lemp-stack-in-centos-7/) - # yum install nano get # nano /etc/selinux/config (and change it to disabled) # reboot # wget http://software.virtualmin.com/gpl/scripts/install.sh # sh install.sh -m -b LEMP # yum remove php* rh-php72* # yum install rh-php73 rh-php73-php-fpm rh-php73-php-cgi rh-php73-php-mysqlnd rh-php73-php-imap rh-php73-php-curl rh-php73-php-gd rh-php73-php-xmlrpc rh-php73-php-xsl rh-php73-php-mbstring rh-php73-php-zip rh-php73-php-cli rh-php73-php-dom rh-php73-php-pdo rh-php73-php-soap rh-php73-php-json rh-php73-php-xml rh-php73-php-pear rh-php73-php-bcmath rh-php73-php-pecl-apcu rh-php73-php-pecl-apcu-devel rh-php73-php-intl -y - [Virtualmin Server Configuration on Vultr VS](https://upods.net/host-server-configuration-on-vultr-vs/) - Initial Configuration In your Vultr Control Panel, set up a Ubuntu or Debian Server instance and SSH into it. Then add a repository that will provide your server with multiple PHP versions and update. If you need to you can change the hostname in /etc/hostname and FQDN in /etc/hosts. For CentOS Install Change selinux to - [Debian Squeeze on a SheevaPlug](https://upods.net/debian-squeeze-on-a-sheevaplug/) - Setup The process is fairly straight forward, but there are some requirements: A TFTP server with some specific files. These should all be in the root of the TFTP directory. The latest version of the SheevaPlug U-Boot binary. The latest version of the Debian installer image (uImage and uInitrd). The latest version of the Linux - [Getting Nextcloud to work in Virtualmin with Nginx](https://upods.net/getting-nextcloud-to-work-in-virtualmin-with-nginx/) - First, copy this file into your web root directory and access it from your browser. Then, just replace your server block with the following right before you create an admin user and set up the database (replace [X.X.X.X], [mydomain], and [port] with your own info): server_name nextcloud.[mydomain].com www.nextcloud.[mydomain].com; listen X.X.X.X; listen X.X.X.X:443 ssl http2; ssl_certificate - [How to Change the WordPress Database Prefix to Improve Security](https://upods.net/how-to-change-the-wordpress-database-prefix-to-improve-security/) - WordPress Database is like a brain for your entire WordPress site because every single information is stored in there thus making it hacker’s favorite target. Spammers and hackers run automated codes for SQL injections. Well, unfortunately many people forget to change the database prefix while they install WordPress. This makes it easier for hackers to - [Spreading a Data Project over Multiple Discs in Linux](https://upods.net/spreading-a-data-project-over-multiple-discs-in-linux/) - After spending hours trying to find software in Linux that can span a large directory over multiple discs without having to create an archive set, I finally came across this small Python script that will do the job. How to Use Put the script(s) in your "~/bin/". mkdir work/ cd work mkdir in/ mkdir out/ - [Raspberry Pi as Eye-Fi Server](https://upods.net/raspberry-pi-as-eye-fi-server/) - February 26, 2016 Raspberry Pi as Eye-Fi Server At the time of this writing, there still isn't an eyefiserver package in the stable Debian repository. Sure, I could have enabled the testing repository and added the package that way, but since the installation only consists of adding a few files in certain locations, I'll document - [Building a TV Server on a Synology NAS](https://upods.net/building-a-tv-server-on-a-synology-nas/) - 1. Work Environment NAS: Synology DS213 with DSM 4.2-­â€3211 OS for Cross Compiling: CentOS 6.3 Before you begin: Enable SSH. If you have a battery backup unit then enable UPS. Enable guest account. Enable Web Station (for channel icons). Create Windows Share folders (temp, recordings, documents, pictures, music, & videos) You will need to donate - [Building a TV Server in a CHROOT Environment on a Synology NAS](https://upods.net/building-a-tv-server-in-a-chroot-environment-on-a-synology-nas/) - 1. Work Environment NAS: Synology DS213 with DSM 4.2-­â€3211 OS for Cross Compiling: CentOS 6.3 Before you begin: Enable SSH. If you have a battery backup unit then enable UPS. Enable guest account. Enable Web Station (for channel icons). Create Windows Share folders (temp, recordings, documents, pictures, music, & videos) You will need to donate - [Upgrading SheevaPlug's U-Boot](https://upods.net/upgrading-sheevaplugs-u-boot/) - Upgrading SheevaPlug's U-Boot This page describes how to install a new version of U-Boot on your SheevaPlug. U-Boot is the boot loader used on the SheevaPlug. Version 3.4.19 integrates SD card support and improves support for FAT32 USB partitions (although USB support in general is still a bit flaky). Version 3.4.23 fixes a minor problem - [Synology NAS as an Eye-Fi server](https://upods.net/synology-nas-as-an-eye-fi-server/) - Synology NAS as Eye-Fi server In theory, the a digital camera, an Eye-Fi wireless SD card, and a Synology NAS running Photo Station, should be a terrific combination for quickly putting snapshots online without giving up control over the image files (like you would with flickr, 500px, and friends). One would only need to put - [Asterisk & FreePBX Faxing Solution with IAXModem + Hylafax + AvantFax](https://upods.net/asterisk-freepbx-faxing-solution-with-iaxmodem-hylafax-avantfax/) - This guide attempts to walk you through installing a faxing solution on top of Asterisk that has FreePBX as it’s frontend GUI/dialplan generator. So for it to work, you need to be 1) Using Debian (this is a Debian guide btw) 2) Have a working Asterisk 3) Running FreePBX 2.7 or higher (don’t need that - [How to Install Oracle Java JRE on Ubuntu Linux](https://upods.net/how-to-install-oracle-java-jre-on-ubuntu-linux/) - How to Install Oracle Java JRE on Ubuntu Linux This tutorial will cover the installation of 32-bit and 64-bit Oracle Java 7 (currently version number 1.8.0_5) JRE on 32-bit and 64-bit Ubuntu operating systems. These instructions will also work on Debian and Linux Mint. This article is intended for those who only want to install - [How to bypass WPA (Windows Activation) on Windows XP](https://upods.net/how-to-bypass-wpa-windows-activation-on-windows-xp/) - How to bypass WPA (Windows Activation) on Windows XP Tested on Windows XP Professional SP2 and Windows Server 2003 R2. First, click "Run..." on your start menu, type "regedit" and press enter. The Registry Editor opens up, and you are presented with a long list of keys on the left. Browse through the list to - [Improve how Nginx Handles Wordpress](https://upods.net/improve-how-nginx-handles-wordpress/) - This is still a work in progress, but adding the following lines to your nginx.conf file should improve the way that Wordpress functions on your Nginx server. Add these lines to your http block: client_max_body_size 512M; fastcgi_buffers 8 16k; fastcgi_buffer_size 32k; fastcgi_connect_timeout 300; fastcgi_send_timeout 300; fastcgi_read_timeout 300; add_header Strict-Transport-Security "max-age=15768000; includeSubDomains" always; Add these lines - [Fix: WordPress Memory Exhausted Error – Increase PHP Memory](https://upods.net/fix-wordpress-memory-exhausted-error-increase-php-memory/) - Are you seeing an allowed memory size exhausted error in WordPress? This is one of the most common WordPress errors, and you can easily fix it by increasing the php memory limit in WordPress. In this article, we will show you how to fix WordPress memory exhausted error by increasing PHP memory. What is WordPress - [PHP-FPM settings tutorial. max_servers, min_servers, etc.](https://upods.net/php-fpm-settings-tutorial-max_servers-min_servers-etc/) - The other day, I was looking around for articles and tips on how to fine tune PHP FPM’s www.conf settings. To my frustration, the official documentation didn’t give any recommendations and there weren’t a whole lot of tutorials on the subject. After wading through various discussions and blog posts, I managed to piece together the - [How to Build a Custom Desktop with Ubuntu Server](https://upods.net/how-to-build-a-custom-desktop-with-ubuntu-server/) - Download Ubuntu Server and install it. If you have a proprietary graphics card, then add the following PPA: $ sudo add-apt-repository ppa:oibaf/graphics-drivers If you want to install the latest version of the Cinnamon Desktop Environment, then add the following PPA: $ sudo add-apt-repository ppa:embrosyn/cinnamon If you want to install the latest version of Kodi Media - [Help, I’ve been blocked from my PBX!](https://upods.net/help-ive-been-blocked-from-my-pbx/) - [HOW TO] Help, I’ve been blocked from my PBX! Note: This post assumes you’re running FreePBX Distro 13 or higher If your FreePBX instance has suddenly become unreachable, chances are you’ve been blocked by one of the included network security mechanisms in FreePBX. The good news is that it’s working! The bad news is now - [Network Booting LibreElec to Raspberry Pi's from a Synology NAS](https://upods.net/network-booting-libreelec-raspberry-pis-synology-nas/) - Work Environment NAS: Synology DS216+II with DSM 6.1.7-15284 Netgear WNDR3700v2 Router Running Gargoyle Firmware version 1.10.0 or DD-WRT v3.0-r40559 std (08/06/19) Raspberry Pi's Before you begin Enable SSH on the NAS. If you have a battery backup unit then enable UPS. Download LibreElec image files for all architectures of Raspberry Pi's on the network (i.e. - [Setting Up HP Color LaserJet MFP M281fdw in Linux](https://upods.net/setting-hp-color-laserjet-mfp-m281fdw-linux/) - sudo apt-get install hplip-gui Duplicate the hp_color_laserjet_mfp_m277dw section in /usr/share/hplip/data/models/models.dat Rename the section for hp_color_laserjet_mfp_m277dw to hp_colorlaserjet _mfp_m278-m281 (notice the missing "_" in "colorlaserjet") Change Model1 to HP Color LaserJet MFP M281fdw sudo hp-plugin -i sudo hp-setup - [Building a TV Server on a Synology NAS (Updated)](https://upods.net/building-tv-server-synology-nas-updated/) - Work Environment NAS: Synology DS216+II with DSM 6.1.7-15284 Before you begin: Enable SSH. If you have a battery backup unit then enable UPS. You will need to donate $20 to http://mc2xml.awardspace.info to get a version of the software that will run on your Synology if it uses an ARM processor and won’t run the standard - [Setting Up MythTV on an Odroid C2](https://upods.net/setting-mythtv-odroid-c2/) - passwd root apt-get update apt-get upgrade apt-get dist-upgrade apt autoremove reboot apt-get install nano mariadb-server apache2 open-iscsi nano /etc/apt/sources.list.d/webmin.list deb http://download.webmin.com/download/repository sarge contrib deb http://download.webmin.com/download/repository sarge contrib wget http://www.webmin.com/jcameron-key.asc apt-key add jcameron-key.asc apt-get update apt-get install webmin (Set Time Zone in Webmin) nano /etc/mysql/mariadb.conf.d/50-server.cnf bind-address = 10.0.1.10 service mysql start nano /etc/iscsi/iscsid.conf node.startup = automatic - [Launchpad Configuration](https://upods.net/launchpad-configuration/) - Import your PGP Keys Install dput, dh-make, devscripts, & config-package-dev packages. Open /etc/dput.cf file and change Launchpad section to: [testppa] fqdn = ppa.launchpad.net method = ftp incoming = ~[LaunchpadID]/testppa/ubuntu login = anonymous allow_unsigned_uploads = 0 The following are the commands used to build source and upload to Launchpad. - [Moving/Copying your PGP Keys](https://upods.net/movingcopying-pgp-keys/) - Once you're using PGP, you may want be able to sign email from more than location, or you may switch computers. There's a few ways to accomplish this. Copy All GnuPG Data Your first choice is to copy all of your GnuPG data. This is a lot more data than just your key, but is - [Configuring Syncthing in Windows, Linux, and on a Synology NAS](https://upods.net/configuring-syncthing-in-windows-linux-and-on-a-synology-nas/) - Syncthing is a useful open source tool to keep all of your files in sync over multiple computers. It works like Dropbox, but it's a peer-to-peer system instead of having a central repository to host all of your files. Windows Set Up Download the windows client from the Syncthing website. Copy the EXE file to - [Configuring Syncevolution to Sync via CalDAV/CardDAV](https://upods.net/configuring-syncevolution-to-sync-via-caldavcarddav/) - Open up a terminal window and enter the following replacing {hosturl}, {emailaddress}, and {password} with your own credentials: $ syncevolution --configure --template webdav syncURL=https://{hosturl}:2080/ username={emailaddress} password={password} target-config@webdav $ syncevolution --print-databases syncURL=https://{hosturl}:2080/ username={emailaddress} password={password} The above command will show you the database URL's. Since my addressbook wasn't syncing the correct database, I then entered: $ syncevolution - [Setting Up Odroid C2 with Iceweasel and Flash](https://upods.net/setting-up-odroid-c2-with-iceweasel-and-flash/) - Setting Up Odroid C2 with Iceweasel and Flash Download the latest Odrobian Vanilla image for the Odroid C2 here. If you are running Linux, uncompress the image using the unxz command. Flash the image to a microSD card using the dd command. Insert the SD card into the slot on the Odroid C2 and boot - [Setting Up MythTV in Debian 8 (or Armbian Jessie)](https://upods.net/setting-up-mythtv-in-debian-8/) - Boot Debian 8 Network Install CD (or Armbian Jessie image. If running Armbian with a USB harddrive, now would be a good time to run 'nand-sata-install' to boot off the HDD.) Select "Install". Create "myth" user. Choose separate "home" partition. When prompted for software packages to install, unselect everything except "SSH Server" and "Standard System - [Asterisk 10 (1.10) SMS (messaging or SIP Messaging) in action](https://upods.net/asterisk-10-1-10-sms-messaging-or-sip-messaging-in-action/) - [UPDATE: WORKS FLAWLESSLY WITH ASTERISK 11 TOO…On Asterisk 11, you can choose XMPP as well as the protocol, right now its just SIP:, imagine the possibilities. Also fixed the issue when failed message] [ANOTHER UPDATE FOR Offline message - We all know when devices are offline, messages cannot be sent and it will be discarded - [Installing Pianobar on Raspberry Pi](https://upods.net/installing-pianobar-on-raspberry-pi/) - sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade # install dependencies sudo apt-get install git libavcodec-dev libavformat-dev libavfilter-dev libcurl4-gnutls-dev libao-dev libmad0-dev libfaad-dev libjson0-dev libgcrypt11-dev # install pianobar manually from source git clone https://github.com/PromyLOPh/pianobar.git cd pianobar make && sudo make install sudo cp pianobar /usr/bin # Make sure audio is routed to the headphone jack - [Setting Up MythTV on a Wandboard](https://upods.net/setting-up-mythtv-on-a-wandboard/) - Setting Up MythTV on a Wandboard Download Robert C. Nelson's Netinstall utility. This will allow you to boot off a Micro SD and run the Debian Installer. git clone https://github.com/RobertCNelson/netinstall cd netinstall sudo ./mk_mmc.sh --mmc /dev/sdX --dtb wandboard-quad-revc1 --distro wheezy --firmware --use-beta-kernel Install MythTV and iSCSI Initiator. # apt-get install sudo mythtv open-iscsi MythTV password - [Voip.ms FreePBX Settings](https://upods.net/voip-ms-freepbx-settings/) - PEER Details canreinvite=nonat nat=yes context=from-trunk host=losangeles.voip.ms secret=****** type=peer username=100000 (Your Voip.ms Account Number) disallow=all allow=ulaw&g729 fromuser=100000 (Your Voip.ms Account Number) trustrpid=yes sendrpid=yes insecure=port,invite qualify=yes Register String 100000:******@losangeles.voip.ms:5060 (or port 5080) - [Restore IPKG after DSM upgrade on Synology](https://upods.net/restore-ipkg-after-dsm-upgrade-on-synology/) - Restore IPKG after DSM upgrade on Synology This Tutorial guides you through the steps needed to restore IPKG and the /opt/ folder after updating the DSM-Version. 1.) Restart the NAS Restart (reboot) the NAS using the graphical interface from DSM after upgrading the DSM-version (DSM 4.2 -> DSM 4.3). 2.) Restore symbolic link /opt While - [Configure postfix with Gmail via Webmin](https://upods.net/configure-postfix-with-gmail-via-webmin-2/) - Configure postfix with Gmail via Webmin If you like to install and update Webmin via APT, edit the /etc/apt/sources.list file on your system and add the lines : deb http://download.webmin.com/download/repository sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib You should also fetch and install a GPG key with which the repository is signed, with the commands : - [Howto install Oracle (Sun) Java JRE for Linux Mint](https://upods.net/howto-install-oracle-sun-java-jre-for-linux-mint/) - Howto install Oracle (Sun) Java JRE for Linux Mint In this tutorial you can read how to configure java and the java browser plugin. 1. Open up the Terminal (Applications > Accessories > Terminal). 2. Copy/Paste or type the following line of code into Terminal and then press enter: 3. First remove every openjdk package - [Automount a Guest CIFS Share](https://upods.net/automount-a-guest-cifs-share/) - CIFS installation sudo apt-get install cifs-utils On older systems: sudo apt-get install smbfs Mounting unprotected (guest) network folders First, let's create the mount directory. You will need a separate directory for each mount. sudo mkdir /media/windowsshare Then edit your /etc/fstab file (with root privileges) to add this line: //servername/sharename /media/windowsshare cifs guest,uid=1000,iocharset=utf8 0 0 Where - [Repairing MythTV database](https://upods.net/repairing-mythtv-database/) - Try using these following commands: mysqlcheck --repair -u mythtv -pmythtv mythconverg and mysqlcheck --check -u mythtv -pmythtv mythconverg - [Securing Mythweb with Apache](https://upods.net/securing-mythweb-with-apache/) - Securing Mythweb with Apache This method is slightly more efficient than the .htaccess method, but is complicated by the fact that you must restart Apache and mis-configuring the Apache configuration file will keep Apache from restarting. Apache password file We will start with creating an Apache password file. I put this in /etc/httpd/conf, as I - [Configuring Your Gargoyle Router to Load Files From Another Machine](https://upods.net/configuring-your-gargoyle-router-to-load-files-from-another-machine/) - If you are looking to configure your Gargoyle router to load the files from another machine (remote boot), then telnet into your router and update dnsmasq.conf to read: dhcp-boot=PXEClient/pxelinux.0,random.host.name,192.168.1.xx. where 'random.host.name' is the TFTP server host name and '192.168.1.xx' is the IP address of the same TFTP server. References: http://blog.steve.org.uk/my_linksys_router_now_runs_linux_and_almost_provides_pxe_.html - [How To Rename Network Interfaces in Debian 6.0](https://upods.net/how-to-rename-network-interfaces-in-debian-6-0/) - Edit the following file and save: nano /etc/udev/rules.d/70-persistent-net.rules - [A Simple Dropbox Replacement](https://upods.net/a-simple-dropbox-replacement/) - Here's how to make your very own personal Dropbox replacement 1) Install the same version of 'unison' both on the server and client. Install 'inotify-tools' on the client. Create a folder on the client that you would like to use for syncing. 2) Install 'openssh-server' on the server. Create a user on the server with - [Change SQL Passwords in FreePBX Step by Step](https://upods.net/change-sql-passwords-in-freepbx-step-by-step/) - How to Change MySQL passwords: Follow each step in order ! Step 1) mysql -u root –p [ENTER] Step 2) Enter password: passw0rd [ENTER] Welcome to the MySQL monitor. Commands end with ; or g. Your MySQL connection id is 3743 to server version: 5.0.22 Type 'help;' or 'h' for help. Type 'c' to clear - [Configure postfix with Gmail via Webmin](https://upods.net/configure-postfix-with-gmail-via-webmin/) - Configure postfix with Gmail via Webmin This assumes the user has webmin installed and understands how to log in and use it. (Usually bring it up in a browser at https://localhost:10000 ) Make sure that postfix is installed. In Webmin this is done by going to “System”, “Software Packages” then clicking on “Package from APT” and - [Using Sun (Oracle) Java in Fedora 14](https://upods.net/using-sun-oracle-java-in-fedora-14/) - The standard installation of Fedora should install OpenJDK (based off of Sun Java). However if not, it can be installed using YUM: [Chris@Chris ~]$ sudo yum install java-1.6.0-openjdk java-1.6.0-openjdk-plugin With OpenJDK installed, Java application and Web applets should automatically work. Unfortunately some applets may not run properly and the OpenJDK might have some limitations. Majority - [Setting Up Sudo in Fedora 14](https://upods.net/setting-up-sudo-in-fedora-14/) - Fedora, like all other Linux distributions, has a root user and has individual users. The root is the "superuser", somewhat similar to "Administrator" in Windows. Use the personal account you created at First Boot for daily use. You should use 'root' only for administration/configuration. To run as 'root' use su or sudo commands. However sudo ## Pages - [Contact Us](https://upods.net/contact-us/) ## Categories - [Uncategorized](https://upods.net/category/uncategorized/) - [Linux Resources](https://upods.net/category/linux-resources/)