Mount sFTP folder as local drive
As we grow, remote storage is something that we adventually get for ourselves or we get for work. You do have backups right? We are going to work in Linux, Ubuntu* as I already wrote an actical for with Windows version. Now we focus on Ubuntu Linux. This…
Robocopy Examples
Robocopy is a powerful, robust, and Windows-native command-line tool for copying files, folders, and even syncing directories — especially useful for backup, migration, or bulk copying. ✅ Robocopy Basics 🎯 Example: Copy a Folder and All Its Files ✅ Basic…
Rsync Command Examples
rsync is a powerful, efficient tool for copying files and directories — and it’s especially useful for transferring files between locations (like across different machines or storage systems) while preserving permissions, timestamps, and even handling…
How to restrict sftp user to read-only access
There are some times that one needs to setup a read-only user to your SSH/sFTP host. To do that lets first login via SSH to your vps/server. Once connected all we need to do is edit one file, the /etc/ssh/sshd_config ** Follow my initial setup here. Once…
Install Docker
Looking at Docker over the past year or so I decided to install Docker and play with it. However I had troubles finding a simple and correct way to install docker in Linux. So I really dug into this over the weekend and see if I can do this. After some…
Installing Deluge on Ubuntu Server
Source: https://www.linuxbabe.com/ubuntu/install-deluge-bittorrent-client-ubuntu-20-04 You can install Deluge BitTorrent daemon on a server and manage the program via the Deluge web interface (You control it in a web browser). Use the following commands…
Install rtorrent + rutorrent
ruTorrent is a web-based front-end for the powerful command line-based torrent client “rTorrent.” It allows you to create, upload, and manage all your torrent downloads in one place through a web interface (rather than using the rTorrent’s command-line…
Download-Streaming Server Setup
You have a new project that requires you to provide a way to distribute several large files or videos but you do not want to use the “free” services as they always have 27 ads on each page to get to your download file(s). However you have…
Load Balancing with Caddy
Source: https://www.linuxtrainingacademy.com/caddy-load-balancing-tutorial/ Understanding and Implementing Caddy Load Balancing We will be building a load balancer that will accept requests from clients, routes those requests to a web server for…
htaccess enable directory listing
To enable directory listing for a specific folder on a web server, you can create or edit an .htaccess file within that folder and add the directive Options +Indexes. This tells the server to display a list of files and subdirectories…
Replace a single string in a large number of files in Unix
If you have Perl installed on your system With Perl, you can make the replacement from the Unix command line prompt. At the prompt, enter: perl -pi -e 's/old_string/new_string/g' file_pattern Replace old_string with the string you want to…
How To Fix WordPress Asking For FTP Credentials
If you find that WordPress is continually asking for your FTP credentials when you’re trying to install an update, you’re not alone. The error usually looks something like this: Connection Information To perform the requested action, WordPress needs to…