![]()
Sudo php composer-stable.phar global require "fxp/composer-asset-plugin:~1.1" ![]() To do this, we will be running the following commands on our Raspberry Pi. Calibre web on raspberry pi software#Now that we have cloned the COPS software into our eBooks directory we will need to make use of composer to grab all its dependencies and set up the software for use. If you would like to know more about COPS you can visit their website by going to the COPS GitHub page. ) after the git clone command as this makes it clone to the current directory and not create a new one. The first command makes a folder in your www folder to store the eBook library. Let’s clone the software from its Github page to our Raspberry Pi by running the following commands. COPS is the PHP software that we will be using as our library maintainer, and this serves your eBooks to any device that connects to it. With the PHP modules, we need now installed and NGINX restarted we can move onto setting up COPS ( Calibre OPDS (and HTML) PHP Server). Simply type the following command into the terminal on your Raspberry Pi to restart NGINX. With our new PHP packages installed we will first have to restart NGINX for it to load in the new modules. This issue can be worked around by adding a third-party PHP repository that contains these missing packages.ģ. On older versions of Raspberry Pi OS, you may run into an error indicating that APT did not find a package. Calibre web on raspberry pi install#sudo apt-get install git php7.4-gd php7.4-cli php7.4-sqlite3 php7.4-json php7.4-intl php7.4-xml php7.4-mbstring php7.4-zip Run the following command on your Raspberry Pi to install the extra packages. We will be assuming you have already installed PHP before you follow this guide. With our Raspberry Pi now up to date, we can now install the extra PHP packages that we need to run the COPS PHP software. Before we begin, let’s bring all our packages on Raspbian up to date by running the following command in the terminal. ![]() We will be using that as a base for our Raspberry Pi eBook server, due to its speed and memory efficiency.ġ. Recommendedīefore you begin this tutorial, please make sure that you have followed our “Setting up NGINX” guide and installed PHP. Equipment Listīelow are all the bits and pieces that I used for this Raspberry Pi eBook Server tutorial. You would find that this is a pretty handy tutorial if you wanted to the host an eBook on a server so you can access it anywhere in your house. It’s also a nice interface to sort your eBooks by author and other things. ![]() This software works as a fantastic middleman for your eBooks especially if you often share your eBooks among a wide number of devices. This software acts as a web interface on your Raspberry Pi where you can access all your eBooks either through its web interface or by downloading them directly from your Raspberry Pi to your devices. Calibre web on raspberry pi how to#In this project, we will be showing you how to set up your very own Raspberry Pi eBook server by utilizing the COPS ( Calibre OPDS (and HTML) PHP Server) software. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |