# Modify DocumentRoot & directory to run Cops instead of default web page ![]() SetHandler application/x-httpd-php-source # Modify to add index.php after index.html ![]() # install & configure a web server, using apache in this example $config = '/media/library/' /* must end in trailing slash! */ Php composer.phar install -no-dev -optimize-autoloaderĬp config_ config_local.php Php composer.phar global require "fxp/composer-asset-plugin:~1.1" In this example, I'm using apache, but use whatever server you like the most.Ĭode: pkg install -y php74-gd php74-sqlite3 php74-json php74-intl php74-xml php74-zip php74-mbstring php74-phar php74-filter php74-openssl php74-zlib php74-xmlwriter php74-pdo_sqlite php74-ctype php74-dom git wget You can visit it immediately after it starts up by going to You could run it as root to avoid having to create a user & make sure everything is accessible to it, but don't.ĬOPS does not include a web server, so we need to install one of those as well. This is probably the simplest install, there is already a package for calibre, which includes calibre server.Ĭalibre includes its own web server and starts up on port 8080. # Note that if this user doesn't have rights to read/write every file & folder in the libary, calibre-server will explode # The easiest way to is give it the same uid as the owner of the library ![]() # Add a calibre user, needs read/write on all files & folders in the library
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |