Shiori is a simple, open-source, and self-hosted bookmark management system that allows you to save and organize bookmarks. In this tutorial, we will guide you through the process of installing Shiori on Ubuntu Server Latest.
Before we begin, make sure you have basic knowledge of Ubuntu and command line interface.
Firstly, update your system package list and upgrade existing packages.
sudo apt-get update && sudo apt-get upgrade -y
After upgrading, install Git and SQLite:
sudo apt-get install git sqlite3 -y
Shiori is written in Go language, so we need to install it on our Ubuntu server.
Run the following command to download the latest Go version:
wget -c https://golang.org/dl/go1.17.linux-amd64.tar.gz
Extract the downloaded tarball into the /usr/local
directory:
sudo tar -C /usr/local -xzf go1.17.linux-amd64.tar.gz
Add the Go binary directory to the PATH environment variable by editing the ~/.profile
file:
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.profile
Reload the modified .profile
file:
source ~/.profile
Verify that the Go version is correctly installed by running the command:
go version
Clone the Shiori repository from GitHub:
git clone https://github.com/go-shiori/shiori.git
Go to the Shiori directory and build the binary:
cd shiori && make build
This will compile the Shiori binary and place it in the ./bin
directory.
To verify that Shiori is working, run the command:
./bin/shiori --version
The output should display the version number of Shiori.
Create a new SQLite database file by running the command:
sqlite3 shiori.db < schema.sql
Create a new configuration file shiori.cfg
in the same directory and add the following lines to it:
[Server]
Port = 8080
[Database]
Type = sqlite3
File = /your/full/path/to/shiori.db
Replace /your/full/path/to/shiori.db
with the path to the SQLite database file that you previously created.
Start the Shiori server by running the command:
./bin/shiori serve
This will start the Shiori server on the default port 8080.
Visit http://<your-server-ip>:8080
in your web browser to access the Shiori web interface.
In this tutorial, you have learned how to install Shiori bookmark management system on Ubuntu Server. You can now start using Shiori to save and organize your bookmarks.
To stop the Shiori server, press Ctrl-C
.
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!