Password Pusher is a tool that allows you to transfer passwords or other sensitive information securely between two parties. This tutorial will guide you through the installation process of Password Pusher on Ubuntu Server Latest.
Before proceeding with the installation of Password Pusher, you will need the following:
Before installing Password Pusher, make sure that all the system packages are up to date. To update OS packages, run the following command:
sudo apt update && sudo apt upgrade
Password Pusher is a Ruby on Rails application that requires several tools and dependencies to work. To install the necessary tools and dependencies, run the following command:
sudo apt install git build-essential libmysqlclient-dev nodejs ruby-mini-test ruby-rack ruby-bundler ruby-dev
After installing the required tools and dependencies, you need to clone the Password Pusher repository. To do this, run the following command:
git clone https://github.com/pglombardo/PasswordPusher.git
Once you have cloned the Password Pusher repository, navigate to the project directory and install Ruby gems using the bundler tool. To do this, run the following commands:
cd PasswordPusher
sudo bundler install
Password Pusher requires a database to save and retrieve the generated passwords. For this tutorial, we will use MySQL as the database.
To create a new database, log in to your MySQL server and run the following command:
CREATE DATABASE password_pusher;
Next, create a new user and grant permissions to access the Password Pusher database. To do this, log in to your MySQL server and run the following commands:
CREATE USER 'passwordpusher'@'localhost' IDENTIFIED BY 'passwordpusher_password';
GRANT ALL PRIVILEGES ON password_pusher.* TO 'passwordpusher'@'localhost';
FLUSH PRIVILEGES;
Navigate to the config directory of the Password Pusher project and edit the database.yml
file as follows:
sudo nano config/database.yml
Update the file with the following settings:
default: &default
adapter: mysql2
encoding: utf8
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
username: passwordpusher
password: passwordpusher_password
host: localhost
development:
<<: *default
database: password_pusher_development
test:
<<: *default
database: password_pusher_test
production:
<<: *default
database: password_pusher_production
username: passwordpusher_production
password: <%= ENV['PASSWORDPUSHER_DATABASE_PASSWORD'] %>
Before starting the Password Pusher application, you need to create the necessary database tables and run migrations. To do this, run the following command:
sudo bundle exec rake db:create db:migrate RAILS_ENV=production
After completing all the previous steps, you're ready to start the Password Pusher application. To do this, run the following command:
sudo bundle exec rails server -e production
At this point, you should have a working installation of Password Pusher on Ubuntu Server Latest. You can now access the application by navigating to the server's IP address or domain name in a web browser.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!