This guide is for installing bliss on a fresh CentOS 7 server. Bliss is a wonderful piece of software that I have personally been using since mid-2012, and has made my life so much easier. Bliss, developed by Dan Gravell, is a java-based application to assist in managing your music files. Bliss will automatically find, download, and embed (if you want), album artwork based on size criteria. Bliss can also help you manage getting your tags in order, by correctly setting tags such as genre, year, case rules (album name and track names), track number digit length, and more. Overall, bliss is a fantastic piece of software that I've included into my music workflow.
It's worth noting that bliss comes with 100 fixes for free, but additional fixes will cost you. For £30, you can get unlimited fixes (which is what I have). For a smaller music library, you can buy packs of 500 fixes for £10. Is it worth it? Most certainly!
For simplicity sake, I will be installing as root, running as root, disabling SELinux, and disabling the firewall (Firewalld). Obviously, it is not recommended to do this in a production environment, so tweak to your needs.
***View my Installing CentOS 7 guide.
Let's Get Started!
0.) Disable SELinux and Disable FirewallD:
systemctl disable firewalld.service sed -i /etc/selinux/config -r -e 's/^SELINUX=.*/SELINUX=disabled/g' systemctl reboot
Do you have java already? Let's check:
bliss requires that you have Java 1.6, or later. If you have Java installed, you should see something like:
java version "1.7.0_45" OpenJDK Runtime Environment (rhel-18.104.22.168.el6-x86_64 u45-b15) OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
If not, let's install OpenJDK 1.7.0 by running:
yum -y install java-1.7.0-openjdk
We will also need wget, if you don't already have it.
yum -y install wget
Now lets create a directory to install bliss into, and download bliss (note: there is no way to download the latest version automatically, so I will periodically update this guide when a newer version is released. Bliss has a really easy upgrade function built into the app, so no worries there):
mkdir -p /apps/bliss && cd ~ wget http://www.blisshq.com/downloads/bliss-install-20150522.jar
2.) Install bliss:
java -jar bliss-install-20150522.jar -console
- Press 1 to accept License Agreement (after reading it, of course!)
- Input install directory: /apps/bliss
- Press 1 to start the install
3.) Create Startup Script with Systemd:
vi /usr/lib/systemd/system/bliss.service --- # # Systemd unit file for bliss # [Unit] Description=bliss album artwork finder After=syslog.target network.target [Service] Type=simple ExecStart=/apps/bliss/bin/bliss.sh SuccessExitStatus=143 [Install] WantedBy=multi-user.target ---
4.) Enable on Startup
systemctl enable bliss.service
rm -rf ~/bliss-install-*.jar systemctl reboot
Pretty easy install, and seems to work great on CentOS 7. Browse to http://(bliss_IP):3220 to view bliss. Bliss does not have any sort of authentication system, so it's recommended to only allow access on your local network, and not over the internet!
Hope you enjoyed, and please contact me if you have any feedback!