In this tutorial, we will guide you through the process of installing Pasty, a web-based clipboard management tool, on Debian Latest.
Before we begin, you will need the following:
sudo apt-get update
sudo apt-get install -y git
git clone https://github.com/lus/pasty.git
sudo apt-get install -y python3-pip python3-psycopg2 libpq-dev postgresql postgresql-client
cd pasty
sudo pip3 install -r requirements.txt
sudo su postgres
psql
CREATE USER pasty WITH PASSWORD 'password';
CREATE DATABASE pasty_db OWNER pasty;
\q
exit
pasty/settings.py
file to include your database credentials. Change the following lines:DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'pasty_db',
'USER': 'pasty',
'PASSWORD': 'password',
}
}
python3 manage.py migrate
python3 manage.py createsuperuser
python3 manage.py runserver
If everything is successful, you should see output similar to the following:
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
You can now access Pasty by navigating to http://127.0.0.1:8000/
in your web browser.
Congratulations! You have successfully installed Pasty on Debian Latest. Pasty makes it easy to manage your clipboard history and share clipboard contents between devices.
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!