In this tutorial Install Mylar Ubuntu. We are going to install Mylar via the command line. On a computer with Ubuntu. To download comic books.
You have to take into account that this project is not very active. So like, for example, the program SickRage or CouchPotato. This fixes bugs less quickly. But there is currently no other alternative to automatically downloading comic books.
Chances are that git, is already installed. But just to be sure, execute the above command.
sudo apt-get install git-core
Now install Python and Cherrypy. If that hasn’t been done yet.
sudo apt-get install python python-cherrypy git -y
We will now download the beta version. Go to the “.\Mylar” folder Note, the dot! This ensures that the folder is hidden.
sudo git clone https://github.com/evilhero/mylar -b development /./Mylar
Now put the rights on the Mylar folder.
sudo chown username:username -R ./Mylar
Now we are going to start Mylar.
python /opt/Mylar/Mylar.py -d
You can now access Mylar viahttp://your.ip.addres:8090.
Autostart Mylar Ubuntu
It is very useful if Mylar is started, while starting Ubuntu. So we are going to do that now.
Create startup script. Note !, change the username!
sudo nano /etc/default/mylar
Press no on Ctrl + X, then Ykey, and then Enter.
Copy the startup script to the right place.
sudo cp ./Mylar/init-scripts/ubuntu.init.d /etc/init.d/mylar
Now the file rights
sudo chmod +x /etc/init.d/mylar
Update the default values of Mylar.
sudo update-rc.d mylar defaults
You can now start Mylar with the following.
sudo service mylar start
You can restart Mylar with the following.
sudo service mylar restart
mylar service stop
You are now done with the startup script. Mylar will now be started automatically when the computer is restarted.
You are now done installing the Mylar Ubuntu tutorial.