💽Transfer your Subplebbit to a Server / Windows

- Open windows PowerShell. PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management. We will be using this to trasnsfer files from your Windows computer to your server.

- Run your SSH command to enter your server In order to transfer your subplebbit to your server, you will use the "ssh" command to enter the server from your PC through PowerShell, then install and start plebbit cli. The IP address 11.111.111.11 is just an example, you will need to use your own specifically. SSH stands for Secure Shell. It is a cryptographic network protocol used for operating network services securely over an unsecured network.

- Next we will install the Plebbit-CLI: You need to install vc-redist first. After you install vc-redist, download the installer of plebbit and next your way to the end. vc-redist: - https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170 Plebbit Client: - https://github.com/plebbit/plebbit-cli/releases/latest/download/plebbit_installer_win32_x64.exe - Install both of these.

- Next you will need to run the Plebbit CLI: In the instance of PowerShell that you have open that has been connected to your server with the "ssh" command, run the command "Plebbit Daemon" After you run the "Plebbit Daemon" command it will display several rows of information related to your subplebbits. Save the location of your subplebbit data path somewhere, you'll need it to transfer your subplebbit folder to to your servers. Example: "C:\Users\New Owner P C\AppData\Local\plebbit\Data"

If this directory cannot be found manually browsing your file system, copy and paste the directory into your navigation bar

- Now we will install the Plebbit-CLI onto your server remotely. Go back to the the PowerShell window that you used the "ssh" command to access your server with. Run the command "Plebbit Daemon" in your powershell window. Plebbit Daemon If this gives you an error and does not work, run this command echo 'export PATH="$PATH":~/.local/bin' >> ~/.bashrc && source ~/.bashrc If running the Plebbit Daemon command didn't work before and you have run the "echo" command, run "Plebbit Daemon" again now. - Next you will be using the "spc" command in a new powershell window to transfer your documents to the server. scp - r Your\PC\Plebbit\Directory Yourservername@11.111.111.11:/root/.local/share/plebbit Your\PC\Plebbit\Directory: Where your plebbit files are stored in your PC. Yourservername: The name of the server you are transferring the files to. 11.111.111.11: Your servers IP address. Example: scp -r C:\Users\New Owner P C\AppData\Local\plebbit\Data root@11.11.111.111:/root/.local/share/plebbit Thats it!

Last updated