Skip to content
Bots!
Bots!
  • About
    • Myself
    • আমার দোয়া
  • Bookmarks
    • Bookmarks
    • My OCI Bookmarks
    • Useful Proxmox Commands & Links
    • Learning Nano
    • Useful Sites
    • Useful Virtualbox Command
    • Useful MySQL Command
    • Useful Linux Command
    • BTT-CAS
  • Resources
    • Webinar on Cloud Adoption for Project Managers
  • Photos
  • Videos
  • Downloads
Bots!

Install PSiTransfer on Debian 8 A Simple Open Source Self-hosted File Sharing Solution

Rumi, April 30, 2017

PSiTransfer, which is a simple and open source file sharing utility. Using PSiTransfer, we can either share our files locally or globally. Unlike transfer.sh, it is not a website. It is actually a self-hosted file sharing platform. You can deploy it on home system to share files over local area network. Or, you can deploy it on a VPS or Cloud, so that you can access or share your files from anywhere, using any Internet-enabled device. Since, it comes with built-in web server, you don’t need to deploy any other extra software. All you need is a web browser to access or share your stuffs.

Features:

Concerning about features, we can list the following:

  • Upload single or multiple files at once
  • Upload very big files
  • Resume upload or download
  • Set an expire-time for your upload bucket
  • One-time downloads
  • Password protected download list
  • Free and Open Source

More yet to come. In this brief guide, I will show you how to deploy a local file sharing solution using PSiTransfer in Unix-like operating systems.

Installing PSiTransfer

PSiTransfer requires Node >=7.4 or later version in order to function properly. To install Nodejs on your Linux box, refer the following section.

Install Nodejs from NodeSource

Even though, nodejs is available in the default repositories, it might be bit outdated. To use the most recent version, install the latest version from NodeSource as shown below.

On Debian, Ubuntu distributions:

For Nodejs 7.x:

curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -

Then, install Node.js using command:

sudo apt-get install nodejs npm

* if errors appear, you may simply discard ‘npm’ as it might be bundled with nodejs.

Install build tools (Optional)

To compile and install native addons from npm repository, you may also need to install build tools. To install build tools on Debian, Ubuntu distributions, run the following command:

sudo apt-get install -y build-essential

Once Nodejs, installed, go to PSiTransfer download page, and download the latest version:

wget https://github.com/psi-4ward/psitransfer/releases/download/1.0.0-rc.1/psitransfer-1.0.0-rc.1.tar.gz

Extract it using command:

tar zxvf psitransfer-1.0.0-rc.1.tar.gz

It will extract all contents in a folder called psitransfer-1.0.0-rc.1 in your current working directory. Go to the folder (assuming it is extracted to /root directory):

cd psitransfer-1.0.0-rc.1

And, Install PSiTransfer using command:

NODE_ENV=production npm install

Finally, run the following command to start PSiTransfer:

npm start

Sample output:

psitransfer@1.0.0 start /root/psitransfer-1.0.0-rc.1
> NODE_ENV=production node app.js
PsiTransfer listening on http://0.0.0.0:3000

Allow port no 3000 via your firewall or router in order to access the PSiTransfer dashboard from a remote system.

Open your web browser and navigate to http://IP-address:3000 or http://domain-name:3000

It is installed. 

Now configure this application Run in Background:

There are several ways to do this, you can either use nohup, or append & at the end of command – personally, I’ve found forever to do the job perfectly fine. Assuming you already have npm installed, if not, just do-

apt-get install npm

Then install forever

npm install forever --global

Now you can run it like this

forever start app.js

And it will take care of everything even if you leave your terminal or SSH session.

Src:

https://codingweb.io/run-nodejs-application-background/ 
https://www.ostechnix.com/install-node-js-linux/
https://www.ostechnix.com/psitransfer-simple-open-source-self-hosted-file-sharing-solution/

Administrations Configurations (Linux) DebianFile TransferNodejsPSITransfer

Post navigation

Previous post
Next post

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Myself…

Hi, I am Hasan T. Emdad Rumi, an IT Project Manager & Consultant, Virtualization & Cloud Savvyfrom Dhaka, Bangladesh. I have prior experience in managing numerous local and international projects in the area of Telco VAS & NMC, National Data Center & PKI Naitonal Root and CA Infrastructure. Also engaged with several Offshore Software Development Team.

Worked with Orascom Telecom-Banglalink, Network Elites as VAS partner, BTRC, BTT (Turkey) , Mango Teleservices Limited and Access to Informaiton (A2I-UNDP)

Currently working at Oracle Corporation as Principal Technology Solution and Cloud Architect.

You can reach me [h.t.emdad at gmail.com] and I will be delighted to exchange my views.

Tags

Apache Bind Cacti CentOS CentOS 6 CentOS 7 Debain Debian Debian 10 Debian 11 Debian 12 DKIM Docker endian icinga iptables Jitsi LAMP Letsencrypt Linux Munin MySQL Nagios Nextcloud NFS nginx pfsense php Postfix powerdns Proxmox RDP squid SSH SSL Ubuntu Ubuntu 16 Ubuntu 18 Ubuntu 20 Varnish virtualbox vpn Webmin XCP-NG zimbra

Topics

Recent Posts

  • Install Jitsi on Ubuntu 22.04 / 22.10 April 30, 2025
  • Key Lessons in life April 26, 2025
  • Create Proxmox Backup Server (PBS) on Debian 12 April 19, 2025
  • Add Physical Drive in Proxmox VM Guest April 19, 2025
  • Mount a drive permanently with fstab in Linux April 16, 2025
  • Proxmox 1:1 NAT routing March 30, 2025
  • Installation steps of WSL – Windows Subsystem for Linux March 8, 2025
  • Enabling Nested Virtualization In Proxmox March 8, 2025
  • How to Modify/Change console/SSH login banner for Proxmox Virtual Environment (Proxmox VE / PVE) March 3, 2025
  • Install Proxmox Backup Server on Debian 12 February 12, 2025

Archives

Top Posts & Pages

  • Install Jitsi on Ubuntu 22.04 / 22.10
©2025 Bots! | WordPress Theme by SuperbThemes