# SOME DESCRIPTIVE TITLE. # Copyright (C) Kovid Goyal # This file is distributed under the same license as the calibre package. # # Translators: # Anders Jonsson , 2022 # Jonatan Nyberg, 2026 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017,2020 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2020 # Jonatan Nyberg, 2026 # Jonatan Nyberg, 2016-2017,2021-2026 # Jonatan Nyberg, 2018-2021 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017-2018 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017 # Jonatan Nyberg, 2026 # Merarom , 2014,2017 msgid "" msgstr "" "Project-Id-Version: calibre\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-09-16 15:05+0000\n" "PO-Revision-Date: 2014-06-17 08:36+0000\n" "Last-Translator: Merarom , 2014,2017\n" "Language-Team: Swedish (http://app.transifex.com/calibre/calibre/language/sv/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sv\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../../../__w/calibre/calibre/manual/server.rst:2 msgid "The calibre Content server" msgstr "calibre-innehållsservern" #: ../../../__w/calibre/calibre/manual/server.rst:4 msgid "" "The calibre :guilabel:`Content server` allows you to access your calibre " "libraries and read books directly in a browser on your favorite mobile phone" " or tablet device. As a result, you do not need to install any dedicated " "book reading/management apps on your phone. Just use the browser. The server" " downloads and stores the book you are reading in an off-line cache so that " "you can read it even when there is no internet connection." msgstr "Calibres :guilabel:`innehållsserver` låter dig komma åt dina calibre-bibliotek och läsa böcker direkt i en webbläsare på mobiltelefonen eller surfplattan. Du behöver därför inte installera särskilda appar för att läsa och hantera böcker. Använd bara webbläsaren. Servern hämtar och lagrar boken du läser i en lokal cache så att du kan läsa den även utan internetanslutning." #: ../../../__w/calibre/calibre/manual/server.rst:13 msgid "Contents" msgstr "Innehåll" #: ../../../__w/calibre/calibre/manual/server.rst:15 msgid "" "To start the server, click the :guilabel:`Connect/share` button and choose " ":guilabel:`Start Content server`. You might get a message from your " "computer's firewall or anti-virus program asking if it is OK to allow access" " to ``calibre.exe``. Click the ``Allow`` or ``OK`` button. Then open a " "browser (preferably Chrome or Firefox) in your computer and type in the " "following address:" msgstr "För att starta servern klickar du på knappen :guilabel:`Anslut/dela` och väljer :guilabel:`Starta innehållsserver`. Det kan hända att du får ett meddelande från datorns brandvägg eller antivirusprogram om det är OK att tillåta tillgång till ``calibre.exe``. Klicka på knappen ``Tillåt`` eller ``OK``. Öppna sedan en webbläsare (helst Chrome eller Firefox) i din dator och skriv in följande adress:" #: ../../../__w/calibre/calibre/manual/server.rst:22 msgid "http://127.0.0.1:8080" msgstr "http://127.0.0.1:8080" #: ../../../__w/calibre/calibre/manual/server.rst:24 msgid "" "This will open a page in the browser showing you your calibre libraries, " "click on any one and browse the books in it. Click on a book, and it will " "show you all the metadata about the book, along with buttons to " ":guilabel:`Read` and :guilabel:`Download` the book. Click the " ":guilabel:`Read` button to start reading the book." msgstr "Detta öppnar en sida i webbläsaren som visar dina calibre-bibliotek, klicka på ett och bläddra bland böckerna i det. Klicka på en bok så kommer den att visa dig all metadata om boken, tillsammans med knappar för att :guilabel:`Läsa` och :guilabel:`Hämta` boken. Klicka på knappen :guilabel:`Läsa` för att börja läsa boken." #: ../../../__w/calibre/calibre/manual/server.rst:30 msgid "" "The address used above ``http://127.0.0.1:8080`` will only work on the " "computer that is running calibre. To access the server from other " "computers/phones/tablets/etc. you will need to do a little more work, as " "described in the next section." msgstr "Adressen som används ovan ``http://127.0.0.1:8080`` fungerar bara på datorn som kör calibre. För att komma åt servern från andra datorer/telefoner/surfplattor/etc. kommer du att behöva göra lite mer arbete, som beskrivs i nästa avsnitt." #: ../../../__w/calibre/calibre/manual/server.rst:37 msgid "Accessing the Content server from other devices" msgstr "Åtkomst till innehållsservern från andra enheter" #: ../../../__w/calibre/calibre/manual/server.rst:39 msgid "" "There are two types of remote device access that you will typically need. " "The first, simpler kind is from within your home network. If you are running" " calibre on a computer on your home network and you have also connected your" " other devices to the same home network, then you should be easily able to " "access the server on those devices." msgstr "Det finns två typer av fjärråtkomst som du normalt behöver. Den första, enklare sorten är från ditt hemnätverk. Om du kör calibre på en dator i ditt hemnätverk och du också har anslutit dina andra enheter till samma hemnätverk, borde du enkelt kunna komma åt servern på de här enheterna." #: ../../../__w/calibre/calibre/manual/server.rst:46 msgid "Accessing the server from devices on your home network" msgstr "Åtkomst till servern från enheter i ditt hemnätverk" #: ../../../__w/calibre/calibre/manual/server.rst:48 msgid "" "After starting the server in calibre as described above, click the " ":guilabel:`Connect/share` button again. Instead of the :guilabel:`Start " "Content server` action, you should see a :guilabel:`Stop Content server` " "action instead. To the right of this action will be listed an IP address and" " port number. These look like a bunch of numbers separated by periods. For " "example::" msgstr "När du har startat servern enligt beskrivningen ovan klickar du på knappen :guilabel:`Anslut/dela` igen. I stället för :guilabel:`Starta innehållsserver` ska du nu se :guilabel:`Stoppa innehållsservern`. Till höger om åtgärden visas en IP-adress och ett portnummer. IP-adressen består av tal åtskilda av punkter. Till exempel::" #: ../../../__w/calibre/calibre/manual/server.rst:57 msgid "" "These numbers tell you what address to use to connect to the server in your " "devices. Following the example above, the address becomes::" msgstr "Dessa siffror berättar vilken adress som ska användas för att ansluta till servern på dina enheter. Efter exemplet ovan blir adressen::" #: ../../../__w/calibre/calibre/manual/server.rst:62 msgid "" "The first part of the address is always ``http://`` the next part is the IP " "address, which is the numbers before the comma and finally we have the port " "number which must be added to the IP address with a colon (``:``). If you " "are lucky, that should be all you need and you will be looking at the " "calibre libraries on your device. If not, read on." msgstr "Den första delen av adressen är alltid ``http://``. Därefter kommer IP-adressen, som består av siffrorna före kommatecknet. Sist kommer portnumret, som läggs till efter IP-adressen med ett kolon (``:``). Om du har tur är detta allt som behövs för att visa calibre-biblioteken på enheten. Fortsätt annars läsa." #: ../../../__w/calibre/calibre/manual/server.rst:70 msgid "Trouble-shooting the home network connection" msgstr "Problemlösning av hemnätverksanslutningen" #: ../../../__w/calibre/calibre/manual/server.rst:72 msgid "" "If you are unable to access the server from your device, try the following " "steps:" msgstr "Om du inte kan komma åt servern från din enhet kan du försöka med följande steg:" #: ../../../__w/calibre/calibre/manual/server.rst:75 msgid "" "Check that the server is running by opening the address " "``http://127.0.0.1:8080`` in a browser running on the same computer as the " "server." msgstr "Kontrollera att servern körs genom att öppna adressen ``http://127.0.0.1:8080`` i en webbläsare som körs på samma dator som servern." #: ../../../__w/calibre/calibre/manual/server.rst:79 msgid "" "Check that your firewall/anti-virus is allowing connections to your computer" " on the port ``8080`` and to the calibre program. The easiest way to " "eliminate the firewall/anti-virus as the source of problems is to " "temporarily turn them both off and then try connecting. You should first " "disconnect from the internet, before turning off the firewall, to keep your " "computer safe." msgstr "Kontrollera att din brandvägg/antivirusprogram tillåter anslutningar till din dator på porten ``8080`` och till calibre-programmet. Det enklaste sättet att eliminera brandväggen/antivirusprogrammet som källan till problem är att tillfälligt stänga av dem och sedan försöka ansluta. Du bör först koppla från internet, innan du slår av brandväggen, för att hålla datorn säker." #: ../../../__w/calibre/calibre/manual/server.rst:86 msgid "" "Check that your device and computer are on the same network. This means they" " should both be connected to the same wireless router. In particular neither" " should be using a cellular or ISP provided direct-WiFi connection." msgstr "Kontrollera att enheten och datorn finns i samma nätverk. Båda ska vara anslutna till samma trådlösa router. Ingen av dem ska använda en mobilanslutning eller en direkt Wi-Fi-anslutning som internetleverantören tillhandahåller." #: ../../../__w/calibre/calibre/manual/server.rst:90 msgid "" "If you have non-standard networking setup, it might be that the IP address " "shown on the :guilabel:`Connect/share` menu is incorrect. In such a case you" " will have to figure out what the correct IP address to use is, yourself. " "Unfortunately, given the infinite diversity of network configurations " "possible, it is not possible to give you a roadmap for doing so." msgstr "Om ditt nätverk har en ovanlig konfiguration kan IP-adressen i menyn :guilabel:`Anslut/dela` vara felaktig. I så fall måste du själv ta reda på vilken IP-adress som ska användas. Eftersom nätverk kan konfigureras på så många olika sätt går det inte att ge allmängiltiga anvisningar för detta." #: ../../../__w/calibre/calibre/manual/server.rst:97 msgid "" "If you have set up a username and password, first try it without that to see" " if it is causing issues. Some e-ink devices have browsers that do not " "handle authentication. You can sometimes workaround this by including the " "username and password in the URL, for example: " "``http://username:password@192.168.1.2:8080``." msgstr "Om du har konfigurerat ett användarnamn och lösenord, försök först utan det för att se om det orsakar problem. Vissa e-bläckenheter har webbläsare som inte hanterar autentisering. Du kan ibland lösa detta genom att inkludera användarnamnet och lösenordet i URL:en, till exempel: ``http://username:password@192.168.1.2:8080``." #: ../../../__w/calibre/calibre/manual/server.rst:103 msgid "" "If you are stuck, you can always ask for help in the `calibre user forums`_." msgstr "Om du har fastnat kan du alltid be om hjälp i `calibres användarforum `_." #: ../../../__w/calibre/calibre/manual/server.rst:107 msgid "Accessing the server from anywhere on the internet" msgstr "Åtkomst till servern från var som helst på internet" #: ../../../__w/calibre/calibre/manual/server.rst:111 msgid "" "Before doing this you should turn on username/password protection in the " "server, otherwise anyone in the world will be able to access your books. Go " "to :guilabel:`Preferences->Sharing->Sharing over the net` and enable the " "option to :guilabel:`Require username and password to access the content " "server`." msgstr "Innan du gör det bör du skydda servern med användarnamn och lösenord. Annars kan vem som helst på internet komma åt dina böcker. Gå till :guilabel:`Inställningar->Delning->Dela via nätet` och aktivera :guilabel:`Kräv användarnamn och lösenord för åtkomst till innehållsservern`." #: ../../../__w/calibre/calibre/manual/server.rst:117 msgid "" "While the particular details on setting up internet access vary depending on" " the network configuration and type of computer you are using, the basic " "schema is as follows." msgstr "De exakta stegen för att konfigurera internetåtkomst varierar beroende på nätverk och dator, men grundprincipen är följande." #: ../../../__w/calibre/calibre/manual/server.rst:121 msgid "" "Find out the external IP address of the computer you are going to run the " "server on. You can do that by visiting the site `What is my IP address " "`_ in a browser running on the computer." msgstr "Ta reda på den externa IP-adressen för den dator du ska köra servern på. Du kan göra det genom att besöka webbplatsen `What is my IP address `_ med en webbläsare som körs på datorn." #: ../../../__w/calibre/calibre/manual/server.rst:125 msgid "" "If the computer is behind a router, enable port forwarding on the router to " "forward the port ``8080`` (or whatever port you choose to run the calibre " "Content server on) to the computer." msgstr "Om datorn finns bakom en router aktiverar du portvidarebefordran i routern och vidarebefordrar port ``8080`` – eller den port som calibres innehållsserver använder – till datorn." #: ../../../__w/calibre/calibre/manual/server.rst:129 msgid "" "Make sure the calibre server is allowed through any firewalls/anti-virus " "programs on your computer." msgstr "Kontrollera att calibre-servern tillåts genom datorns brandväggar och antivirusprogram." #: ../../../__w/calibre/calibre/manual/server.rst:132 msgid "" "Now you should be able to access the server on any internet-connected device" " using the IP address you found in the first step. For example, if the IP " "address you found was ``123.123.123.123`` and the port you are using for the" " calibre server is ``8080``, the address to use on your device becomes: " "``http://123.123.123.123:8080``." msgstr "Nu bör du kunna komma åt servern på vilken internetansluten enhet som helst med hjälp av den IP-adress du hittade i det första steget. Till exempel om den IP-adressen du hittade var ``123.123.123.123`` och porten du använder för calibre-servern är ``8080``, blir adressen som används på din enhet: ``http://123.123.123.123:8080``." #: ../../../__w/calibre/calibre/manual/server.rst:138 msgid "" "Optionally, use a service like `no-ip `_ to setup" " an easy to remember address to use instead of the IP address you found in " "the first step." msgstr "Alternativt kan du använda en tjänst som `no-ip `_ för att ställa in en adress som är lätt att komma ihåg att använda i stället för den IP-adress som du hittade i det första steget." #: ../../../__w/calibre/calibre/manual/server.rst:146 msgid "" "For maximum security, you should also enable HTTPS on the Content server. " "You can either do so directly in the server by providing the path to the " "HTTPS certificate to use in the advanced configuration options for the " "server, or you can set up a reverse proxy as described below, to use an " "existing HTTPS setup." msgstr "För maximal säkerhet bör du även aktivera HTTPS på innehållsservern. Du kan antingen göra det direkt i servern genom att ange sökvägen till HTTPS-certifikatet som ska användas i de avancerade konfigurationsalternativen för servern, eller så kan du konfigurera en omvänd proxy enligt beskrivningen nedan för att använda en befintlig HTTPS-konfiguration." #: ../../../__w/calibre/calibre/manual/server.rst:154 msgid "The server interface" msgstr "Servergränssnittet" #: ../../../__w/calibre/calibre/manual/server.rst:156 msgid "" "The server interface is a simplified version of the main calibre interface, " "optimised for use with touch screens. The home screen shows you books you " "are currently reading as well as allowing you to choose a calibre library " "you want to browse. The server in calibre gives you access to all your " "libraries, not just a single one, as before." msgstr "Servergränssnittet är en förenklad version av calibres huvudgränssnitt, optimerat för användning med pekskärmar. Hemskärmen visar böcker du läser för närvarande och låter dig välja ett calibre-bibliotek du vill bläddra bland. Servern i calibre ger dig tillgång till alla dina bibliotek, inte bara ett enda, som tidigare." #: ../../../__w/calibre/calibre/manual/server.rst:163 msgid "The book list" msgstr "Boklistan" #: ../../../__w/calibre/calibre/manual/server.rst:165 msgid "" "The server book list is a simple grid of covers. Tap on a cover to see the " "detailed metadata for a book, or to read the book. If you prefer a more " "detailed list, you can change the default view by clicking the three " "vertical dots in the top right corner." msgstr "Serverns boklista är ett enkelt rutnät av omslag. Tryck på ett omslag för att se detaljerade metadata för en bok eller för att läsa boken. Om du föredrar en mer detaljerad lista kan du ändra standardvyn genom att klicka på de tre vertikala punkterna i övre högra hörnet." #: ../../../__w/calibre/calibre/manual/server.rst:170 msgid "" "Sorting and searching of the book list should be familiar to calibre users. " "They can be accessed by clicking their icons in the top right area. They " "both work exactly the same as in the main calibre program. The search page " "even allows you to construct search queries by clicking on " "authors/tags/etc., just as you can using the Tag browser in the main " "program." msgstr "Sortering och sökning i boklistan bör kännas välbekanta för calibre-användare. Du når funktionerna genom att klicka på deras ikoner högst upp till höger. Båda fungerar på samma sätt som i calibres huvudprogram. På söksidan kan du dessutom skapa sökfrågor genom att klicka på författare, taggar med mera, precis som i taggbläddraren i huvudprogrammet." #: ../../../__w/calibre/calibre/manual/server.rst:176 msgid "" "A much loved feature of the main program, :guilabel:`Virtual libraries` is " "present in the server interface as well. Click the three vertical dots in " "the top right corner to choose a Virtual library." msgstr "En mycket älskad funktion i huvudprogrammet, :guilabel:`virtuella bibliotek` finns också i servergränssnittet. Klicka på de tre vertikala prickarna i det övre högra hörnet för att välja ett virtuellt bibliotek." #: ../../../__w/calibre/calibre/manual/server.rst:181 msgid "The book viewer" msgstr "Bokvisaren" #: ../../../__w/calibre/calibre/manual/server.rst:183 msgid "" "You can read any book in your calibre library by simply tapping on it and " "then tapping the :guilabel:`Read` button. The book viewer is very simple to " "operate. You can both tap and swipe to turn pages. Swiping up/down skips " "between chapters. Tapping the top quarter of the screen gets you the " "detailed controls and viewer preferences." msgstr "Du kan läsa vilken bok som helst i ditt calibre-bibliotek genom att helt enkelt trycka på den och sedan trycka på :guilabel:`Läsa`-knappen. Bokvisaren är mycket enkel att använda. Du kan både trycka och svepa för att vända sidor. Genom att svepa upp/ned hoppar du mellan kapitel. Genom att trycka på den övre fjärdedelen av skärmen får du detaljerade kontroller och visarinställningar." #: ../../../__w/calibre/calibre/manual/server.rst:189 msgid "" "If you leave the Content server running, you can even open the same book on " "multiple devices and it will remember your last read position. If it does " "not you can force a sync by tapping in the top quarter and choosing " ":guilabel:`Sync`." msgstr "Om du låter innehållsservern vara igång kan du öppna samma bok på flera enheter, och servern kommer ihåg din senaste läsposition. Om den inte gör det kan du tvinga fram en synkronisering genom att trycka på den översta fjärdedelen av skärmen och välja :guilabel:`Synkronisera`." #: ../../../__w/calibre/calibre/manual/server.rst:195 msgid "Browser support" msgstr "Webbläsarstöd" #: ../../../__w/calibre/calibre/manual/server.rst:197 msgid "" "The new calibre server makes lots of use of advanced HTML 5 and CSS 3 " "features. As such it requires an up-to-date browser to use. It has been " "tested on Android Chrome and iOS Safari as well as Chrome and Firefox on the" " desktop." msgstr "Servern använder avancerade funktioner i HTML 5 och CSS 3 och kräver därför en modern webbläsare. Den har testats med Chrome på Android, Safari på iOS samt Chrome och Firefox på datorer." #: ../../../__w/calibre/calibre/manual/server.rst:201 msgid "" "The server is careful to use functionality that has either been already " "standardised or is on the standards track. As such if it does not currently " "work with your favorite browser, it probably will once that browser has " "caught up." msgstr "Servern använder funktioner som redan har standardiserats eller håller på att standardiseras. Om den inte fungerar i din favoritwebbläsare i dag kommer den därför sannolikt att fungera när webbläsaren har hunnit ikapp." #: ../../../__w/calibre/calibre/manual/server.rst:206 msgid "" "If you are using a particularly old or limited browser or you don't like to " "run JavaScript, you can use the *mobile* view, by simply adding ``/mobile`` " "to the server address." msgstr "Om du använder en särskilt gammal eller begränsad webbläsare eller om du inte gillar att köra JavaScript kan du använda *mobil*-vyn genom att helt enkelt lägga till ``/mobile`` i serveradressen." #: ../../../__w/calibre/calibre/manual/server.rst:211 msgid "" "On iOS, Apple allows only a single browser engine, so Firefox, Chrome and " "Safari are all actually the same browser under the hood. The new server " "interface requires iOS 10.3.2 or newer. On Android, the server has been " "tested with Chrome version 58 and newer." msgstr "På iOS tillåter Apple endast en enda webbläsarmotor, så Firefox, Chrome och Safari är alla faktiskt samma webbläsare under huven. Det nya servergränssnittet kräver iOS 10.3.2 eller nyare. På Android har servern testats med Chrome-version 58 och nyare." #: ../../../__w/calibre/calibre/manual/server.rst:217 msgid "Enabling offline support" msgstr "Aktivera stöd för offlineläge" #: ../../../__w/calibre/calibre/manual/server.rst:219 msgid "" "The server has full support for offline mode, you can open a book and once " "it is loaded, continue reading it offline. However, typical browsers require" " the use of HTTPS connections to enable offline mode (service workers). So " ":ref:`setup HTTPS support ` as described above. Scroll to the" " bottom of the home page and you will see a message about the status of " "offline mode." msgstr "Servern har fullt stöd för offlineläge. Du kan öppna en bok och fortsätta läsa den utan anslutning när den har lästs in. Vanliga webbläsare kräver dock HTTPS för att aktivera offlineläget via service workers. :ref:`Konfigurera därför HTTPS-stöd ` enligt beskrivningen ovan. Längst ned på startsidan visas offlinelägets status." #: ../../../__w/calibre/calibre/manual/server.rst:226 msgid "" "Alternately, you can open a book and keep the browser tab open. As long as " "the tab stays open you can continue reading the book, even when offline." msgstr "Alternativt kan du öppna en bok och låta webbläsarfliken vara öppen. Så länge fliken är öppen kan du fortsätta läsa boken, även när du är i frånkopplat läge." #: ../../../__w/calibre/calibre/manual/server.rst:230 msgid "Managing user accounts from the command-line only" msgstr "Hantera användarkonton endast från kommandoraden" #: ../../../__w/calibre/calibre/manual/server.rst:232 msgid "" "The calibre program has a nice section in :guilabel:`Preferences` to allow " "you to manage user accounts for the server. However, if you want to run the " "standalone server and cannot run the main calibre program on the same " "computer/user account, you can also manage users using just the command-" "line." msgstr "calibre har ett avsnitt i :guilabel:`Inställningar` där du kan hantera serverns användarkonton. Om du kör den fristående servern och inte kan köra calibres huvudprogram på samma dator eller användarkonto kan du även hantera användarna enbart från kommandoraden." #: ../../../__w/calibre/calibre/manual/server.rst:237 msgid "" "You can manage user accounts using the ``--manage-users`` option to the " "standalone ``calibre-server`` program. Suppose you want to store the user " "database in the folder ``/srv/calibre``, then you create it by running::" msgstr "Du kan hantera användarkonton med flaggan ``--manage-users`` till det fristående programmet ``calibre-server``. Antag att du vill lagra användardatabasen i mappen ``/srv/calibre``, då skapar du den genom att köra::" #: ../../../__w/calibre/calibre/manual/server.rst:244 msgid "" "Just follow the prompts to create user accounts, set their permissions, etc." " Once you are done, you can run the server as::" msgstr "Följ bara anvisningarna för att skapa användarkonton, ange deras behörigheter etc. När du är klar kan du köra servern som::" #: ../../../__w/calibre/calibre/manual/server.rst:249 msgid "It will use the user accounts you created in the previous step." msgstr "Servern använder de användarkonton du skapade i föregående steg." #: ../../../__w/calibre/calibre/manual/server.rst:253 msgid "Integrating the calibre Content server into other servers" msgstr "Integrera calibre-innehållsservern med andra servrar" #: ../../../__w/calibre/calibre/manual/server.rst:255 msgid "" "Here, we will show you how to integrate the calibre Content server into " "another server. The most common reason for this is to make use of SSL or to " "serve the calibre library as part of a larger site. The basic technique is " "to run the calibre server and set up a reverse proxy to it from the main " "server." msgstr "Här visar vi hur calibres innehållsserver kan integreras med en annan server. Vanliga skäl är att använda SSL eller göra calibre-biblioteket till en del av en större webbplats. Grundmetoden är att köra calibre-servern och konfigurera huvudservern som omvänd proxy." #: ../../../__w/calibre/calibre/manual/server.rst:260 msgid "" "A reverse proxy is when your normal server accepts incoming requests and " "passes them onto the calibre server. It then reads the response from the " "calibre server and forwards it to the client. This means that you can simply" " run the calibre server as normal without trying to integrate it closely " "with your main server." msgstr "En omvänd proxy innebär att den vanliga servern tar emot förfrågningar och skickar dem vidare till calibre-servern. Den läser sedan svaret och vidarebefordrar det till klienten. Därmed kan calibre-servern köras som vanligt utan någon tät integration med huvudservern." #: ../../../__w/calibre/calibre/manual/server.rst:267 msgid "Using a full virtual host" msgstr "Använda en fullständig virtuell värd" #: ../../../__w/calibre/calibre/manual/server.rst:269 msgid "" "The simplest configuration is to dedicate a full virtual host to the calibre" " server. In this case, run the calibre server as::" msgstr "Den enklaste konfigurationen är att ägna en fullständig virtuell värd till calibre-servern. Kör i så fall calibre-servern som::" #: ../../../__w/calibre/calibre/manual/server.rst:274 msgid "" "Now setup the virtual host in your main server, for example, for nginx::" msgstr "Ställ nu in den virtuella värden på din huvudserver, till exempel för nginx::" #: ../../../__w/calibre/calibre/manual/server.rst:289 msgid "Or, for Apache::" msgstr "Eller för Apache::" #: ../../../__w/calibre/calibre/manual/server.rst:304 msgid "Using a URL prefix" msgstr "Använda ett URL-prefix" #: ../../../__w/calibre/calibre/manual/server.rst:306 msgid "" "If you do not want to dedicate a full virtual host to calibre, you can have " "it use a URL prefix. Start the calibre server as::" msgstr "Om du inte vill ägna en fullständig virtuell värd till calibre kan du låta den använda ett URL-prefix. Starta calibre-servern som::" #: ../../../__w/calibre/calibre/manual/server.rst:311 msgid "" "The key parameter here is ``--url-prefix /calibre``. This causes the Content" " server to serve all URLs prefixed by ``/calibre``. To see this in action, " "visit ``http://localhost:8080/calibre`` in your browser. You should see the " "normal Content server website, but now it will run under ``/calibre``." msgstr "Nyckelparametern är ``--url-prefix /calibre``. Den gör att innehållsservern betjänar alla URL:er med prefixet ``/calibre``. Besök ``http://localhost:8080/calibre`` i webbläsaren för att prova. Den vanliga webbplatsen för innehållsservern visas nu under ``/calibre``." #: ../../../__w/calibre/calibre/manual/server.rst:313 msgid "With nginx, the required configuration is::" msgstr "För nginx krävs följande konfiguration::" #: ../../../__w/calibre/calibre/manual/server.rst:330 msgid "" "For Apache, first enable the proxy modules in Apache, by adding the " "following to :file:`httpd.conf`::" msgstr "För Apache, aktivera först proxymodulerna i Apache genom att lägga till följande i :file:`httpd.conf`::" #: ../../../__w/calibre/calibre/manual/server.rst:335 msgid "" "The exact technique for enabling the proxy modules will vary depending on " "your Apache installation. Once you have the proxy modules enabled, add the " "following rules to :file:`httpd.conf` (or if you are using virtual hosts to " "the conf file for the virtual host in question)::" msgstr "Den exakta tekniken för att aktivera proxymoduler varierar beroende på din Apache-installation. När du aktiverar proxymodulerna, lägg till följande regler i :file:`httpd.conf` (eller om du använder virtuella värdar till conf-filen för den virtuella värden i fråga)::" #: ../../../__w/calibre/calibre/manual/server.rst:342 msgid "" "That's all, you will now be able to access the calibre Content server under " "the ``/calibre`` URL in your main server. The above rules pass all requests " "under ``/calibre`` to the calibre server running on port 8080 and thanks to " "the ``--url-prefix`` option above, the calibre server handles them " "transparently." msgstr "Nu kan calibres innehållsserver nås via URL:en ``/calibre`` på huvudservern. Reglerna ovan skickar alla förfrågningar under ``/calibre`` till calibre-servern på port 8080. Tack vare alternativet ``--url-prefix`` hanterar calibre-servern dem utan ytterligare anpassning." #: ../../../__w/calibre/calibre/manual/server.rst:347 msgid "" "When using a reverse proxy, you should tell the calibre Content server to " "only listen on localhost, by using ``--listen-on 127.0.0.1``. That way, the " "server will only listen for connections coming from the same computer, i.e. " "from the reverse proxy." msgstr "När du använder en omvänd proxy bör calibres innehållsserver endast lyssna på localhost. Använd ``--listen-on 127.0.0.1``. Servern tar då bara emot anslutningar från samma dator, det vill säga från den omvända proxyn." #: ../../../__w/calibre/calibre/manual/server.rst:354 msgid "" "If you have set up SSL for your main server, you should tell the calibre " "server to use basic authentication instead of digest authentication, as it " "is faster. To do so, pass the ``--auth-mode=basic`` option to ``calibre-" "server``." msgstr "Om du har konfigurerat SSL för din huvudserver bör du ange att calibre-servern ska använda grundläggande autentisering i stället för digest-autentisering, eftersom det är snabbare. För att göra det, skicka flaggan ``--auth-mode=basic`` till ``calibre-server``." #: ../../../__w/calibre/calibre/manual/server.rst:363 msgid "Creating a service for the calibre server on a modern Linux system" msgstr "Skapa en tjänst för calibre-servern på ett modernt Linux-system" #: ../../../__w/calibre/calibre/manual/server.rst:365 msgid "" "You can easily create a service to run calibre at boot on a modern (`systemd" " `_) based Linux system." " Just create the file ``/etc/systemd/system/calibre-server.service`` with " "the contents shown below::" msgstr "Du kan enkelt skapa en tjänst som startar calibre vid uppstart i ett modernt Linux-system som använder `systemd `_. Skapa filen ``/etc/systemd/system/calibre-server.service`` med följande innehåll::" #: ../../../__w/calibre/calibre/manual/server.rst:384 msgid "" "Change ``mylinuxuser`` and ``mylinuxgroup`` to whatever user and group you " "want the server to run as. This should be the same user and group that own " "the files in the calibre library folder. Note that it is generally not a " "good idea to run the server as root. Also change the path to the calibre " "library folder to suit your system. You can add multiple libraries if " "needed. See the help for the ``calibre-server`` command." msgstr "Ändra ``mylinuxuser`` och ``mylinuxgroup`` till vilken användare och grupp du vill att servern ska köras som. Detta bör vara samma användare och grupp som äger filerna i biblioteksmappen för calibre. Observera att det i allmänhet inte är en bra idé att köra servern som root. Ändra också sökvägen till biblioteksmappen för calibre så att den passar ditt system. Du kan lägga till flera bibliotek om det behövs. Se hjälpen för kommandot ``calibre-server``." #: ../../../__w/calibre/calibre/manual/server.rst:391 msgid "Now run::" msgstr "Kör nu::" #: ../../../__w/calibre/calibre/manual/server.rst:395 msgid "to start the server. Check its status with::" msgstr "för att starta servern. Kontrollera dess status med::" #: ../../../__w/calibre/calibre/manual/server.rst:399 msgid "To make it start at boot, run::" msgstr "För att den ska starta vid uppstart, kör::" #: ../../../__w/calibre/calibre/manual/server.rst:405 msgid "" "The calibre server *does not* need a running X server, but it does need the " "X libraries installed as some components it uses link against them." msgstr "calibre-servern *behöver inte* en X-server som körs, men X-biblioteken måste vara installerade eftersom vissa komponenter som servern använder är länkade mot dem." #: ../../../__w/calibre/calibre/manual/server.rst:410 msgid "" "The calibre server also supports systemd socket activation, so you can use " "that, if needed, as well." msgstr "calibre-servern stöder också systemd-socketaktivering, så du kan också använda det om det behövs."