1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-17 07:45:52 +01:00
verdaccio/website/translated_docs/it/iis-server.md
verdacciobot 26c9f496ee New Crowdin translations (#1012)
* New translations use-cases.md (Italian)
docs(website): new translations

* New translations use-cases.md (Italian)
docs(website): new translations

* New translations use-cases.md (Italian)
docs(website): new translations

* New translations use-cases.md (Italian)
docs(website): new translations

* New translations use-cases.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations use-cases.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations web.md (Italian)
docs(website): new translations

* New translations what-is-verdaccio.md (Italian)
docs(website): new translations

* New translations use-cases.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations ssl.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations ssl.md (Italian)
docs(website): new translations

* New translations ssl.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations ssl.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations auth.md (Italian)
docs(website): new translations

* New translations cli.md (Italian)
docs(website): new translations

* New translations ci.md (Italian)
docs(website): new translations

* New translations config.md (Italian)
docs(website): new translations

* New translations config.md (Chinese Simplified)
docs(website): new translations

* New translations web.md (Chinese Simplified)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations config.md (Chinese Simplified)
docs(website): new translations

* New translations contributing.md (Chinese Simplified)
docs(website): new translations

* New translations web.md (Chinese Simplified)
docs(website): new translations

* New translations contributing.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations contributing.md (Chinese Simplified)
docs(website): new translations

* New translations contributing.md (Chinese Simplified)
docs(website): new translations

* New translations install.md (Chinese Simplified)
docs(website): new translations

* New translations windows.md (Italian)
docs(website): new translations

* New translations install.md (Chinese Simplified)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations reverse-proxy.md (Italian)
docs(website): new translations

* New translations reverse-proxy.md (Italian)
docs(website): new translations

* New translations reverse-proxy.md (Italian)
docs(website): new translations

* New translations reverse-proxy.md (Italian)
docs(website): new translations

* New translations repositories.md (Italian)
docs(website): new translations

* New translations reverse-proxy.md (Italian)
docs(website): new translations

* New translations puppet.md (Italian)
docs(website): new translations

* New translations puppet.md (Italian)
docs(website): new translations

* New translations puppet.md (Italian)
docs(website): new translations

* New translations puppet.md (Italian)
docs(website): new translations

* New translations puppet.md (Italian)
docs(website): new translations

* New translations protect-your-dependencies.md (Italian)
docs(website): new translations

* New translations puppet.md (Italian)
docs(website): new translations

* New translations protect-your-dependencies.md (Italian)
docs(website): new translations

* New translations protect-your-dependencies.md (Italian)
docs(website): new translations

* New translations protect-your-dependencies.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations protect-your-dependencies.md (Italian)
docs(website): new translations

* New translations logo.md (Chinese Simplified)
docs(website): new translations

* New translations en.json (Chinese Simplified)
docs(website): new translations

* New translations logo.md (Chinese Simplified)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations reverse-proxy.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations uplinks.md (Italian)
docs(website): new translations

* New translations ssl.md (Italian)
docs(website): new translations

* New translations ssl.md (Italian)
docs(website): new translations

* New translations repositories.md (Italian)
docs(website): new translations

* New translations server.md (Italian)
docs(website): new translations

* New translations puppet.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations protect-your-dependencies.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations test.md (Italian)
docs(website): new translations

* New translations en.json (Arabic)
docs(website): new translations

* New translations ci.md (Italian)
docs(website): new translations

* New translations reverse-proxy.md (Italian)
docs(website): new translations

* New translations protect-your-dependencies.md (Italian)
docs(website): new translations

* New translations reverse-proxy.md (Korean)
docs(website): new translations

* New translations protect-your-dependencies.md (Korean)
docs(website): new translations

* New translations reverse-proxy.md (Polish)
docs(website): new translations

* New translations protect-your-dependencies.md (Polish)
docs(website): new translations

* New translations reverse-proxy.md (Vietnamese)
docs(website): new translations

* New translations protect-your-dependencies.md (Vietnamese)
docs(website): new translations

* New translations reverse-proxy.md (Hindi)
docs(website): new translations

* New translations protect-your-dependencies.md (Hindi)
docs(website): new translations

* New translations reverse-proxy.md (Portuguese)
docs(website): new translations

* New translations protect-your-dependencies.md (Portuguese)
docs(website): new translations

* New translations reverse-proxy.md (Russian)
docs(website): new translations

* New translations protect-your-dependencies.md (Russian)
docs(website): new translations

* New translations reverse-proxy.md (Spanish)
docs(website): new translations

* New translations protect-your-dependencies.md (Spanish)
docs(website): new translations

* New translations reverse-proxy.md (Arabic)
docs(website): new translations

* New translations protect-your-dependencies.md (Arabic)
docs(website): new translations

* New translations reverse-proxy.md (Chinese Simplified)
docs(website): new translations

* New translations protect-your-dependencies.md (Chinese Simplified)
docs(website): new translations

* New translations reverse-proxy.md (Portuguese, Brazilian)
docs(website): new translations

* New translations protect-your-dependencies.md (Portuguese, Brazilian)
docs(website): new translations

* New translations protect-your-dependencies.md (Japanese)
docs(website): new translations

* New translations reverse-proxy.md (Japanese)
docs(website): new translations

* New translations reverse-proxy.md (French)
docs(website): new translations

* New translations protect-your-dependencies.md (French)
docs(website): new translations

* New translations protect-your-dependencies.md (German)
docs(website): new translations

* New translations reverse-proxy.md (German)
docs(website): new translations

* New translations reverse-proxy.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations reverse-proxy.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations notifications.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations notifications.md (Italian)
docs(website): new translations

* New translations notifications.md (Italian)
docs(website): new translations

* New translations notifications.md (Italian)
docs(website): new translations

* New translations notifications.md (Italian)
docs(website): new translations

* New translations notifications.md (Italian)
docs(website): new translations

* New translations notifications.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations notifications.md (Italian)
docs(website): new translations

* New translations node-api.md (Italian)
docs(website): new translations

* New translations node-api.md (Italian)
docs(website): new translations

* New translations logo.md (Italian)
docs(website): new translations

* New translations logo.md (Italian)
docs(website): new translations

* New translations logo.md (Italian)
docs(website): new translations

* New translations logo.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations logger.md (Italian)
docs(website): new translations

* New translations logger.md (Italian)
docs(website): new translations

* New translations logger.md (Italian)
docs(website): new translations

* New translations kubernetes.md (Italian)
docs(website): new translations

* New translations kubernetes.md (Italian)
docs(website): new translations

* New translations kubernetes.md (Italian)
docs(website): new translations

* New translations kubernetes.md (Italian)
docs(website): new translations

* New translations kubernetes.md (Italian)
docs(website): new translations

* New translations install.md (Italian)
docs(website): new translations

* New translations kubernetes.md (Italian)
docs(website): new translations

* New translations install.md (Italian)
docs(website): new translations

* New translations notifications.md (Italian)
docs(website): new translations

* New translations packages.md (Italian)
docs(website): new translations

* New translations plugins.md (Italian)
docs(website): new translations

* New translations repositories.md (Italian)
docs(website): new translations

* New translations logger.md (Italian)
docs(website): new translations

* New translations notifications.md (Italian)
docs(website): new translations

* New translations logo.md (Italian)
docs(website): new translations

* New translations install.md (Italian)
docs(website): new translations

* New translations install.md (Italian)
docs(website): new translations

* New translations install.md (Italian)
docs(website): new translations

* New translations iis-server.md (Italian)
docs(website): new translations

* New translations iis-server.md (Italian)
docs(website): new translations

* New translations iis-server.md (Italian)
docs(website): new translations

* New translations iis-server.md (Italian)
docs(website): new translations

* New translations iis-server.md (Italian)
docs(website): new translations

* New translations iis-server.md (Italian)
docs(website): new translations

* New translations iis-server.md (Italian)
docs(website): new translations

* New translations iis-server.md (Italian)
docs(website): new translations

* New translations iis-server.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations iis-server.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations dev-plugins.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations iis-server.md (Italian)
docs(website): new translations

* New translations install.md (Italian)
docs(website): new translations

* New translations iis-server.md (Italian)
docs(website): new translations

* New translations docker.md (Italian)
docs(website): new translations

* New translations iis-server.md (Italian)
docs(website): new translations
2018-09-26 10:09:19 +02:00

4.7 KiB

id title
iss-server Installazione sul server IIS

Queste istruzioni sono state scritte per Windows Server 2012, IIS 8, Node.js 0.12.3, iisnode 0.2.16 e verdaccio 2.1.0.

  • Installare IIS e iisnode. Assicurarsi di installare i prerequisiti (Url Rewrite Module & node) come spiegato nelle istruzioni per iisnode.

  • Creare una nuova cartella in Explorer in cui si desidera ospitare verdaccio. Per esempio C:\verdaccio. Salvare in questa cartella package.json, start.js e web.config.

  • Creare un nuovo sito su Internet Information Services Manager. È possibile nominarlo come si preferisce. In queste istruzioni verrà chiamato verdaccio. Specificare il percorso in cui sono stati salvati i file ed il numero della porta.

  • Tornare indietro a Explorer e autorizzare l'utente che esegue il gruppo di applicazioni a poter modificare la cartella appena creata. Se si è nominato il nuovo sito verdaccio e non si è modificato il gruppo di applicazioni, allora questo sta funzionando grazie ad un'ApplicationPoolIdentity e si dovrebbe dare all'utente le autorizzazioni di poter modificare IIS AppPool\verdaccio, vedere le istruzioni in caso di aiuto. (Se si desidera è possibile restringere l'accesso successivamente, così che si abbiano solo le autorizzazioni per modificare su iisnode e verdaccio/storage)

  • Iniziare un prompt dei comandi ed eseguire quelli sottostanti per scaricare verdaccio:

    cd c:\verdaccio npm install

  • Assicurarsi di possedere una regola in entrata che accetti il traffico TCP alla porta in Windows Firewall

  • Con questo è tutto! Ora si può navigare nell'host e nella porta che sono stati specificati

Desideravo che verdaccio fosse il sito di default su IIS, quindi ho intrapreso le seguenti azioni:

  • Mi sono assicurato che il file .nmprc in c:\users{yourname} avesse il registro configurato su "registry=http://localhost/"
  • Ho arrestato il "Sito Web predefinito" e ho avviato esclusivamente il sito "verdaccio" su IIS
  • Ho stabilito le connessioni a "http", indirizzo ip "All Unassigned" sulla porta 80, ok qualsiasi avvertenza o prompt

Queste istruzioni sono basate su Host Sinopia in IIS on Windows. Ho dovuto fare un piccolo aggiustamento alla configurazione web come si può notare qui sotto, ma è possibile trovare l'originale dal link menzionato che funziona meglio

Verrà creato un file di configurazione predefinito c:\verdaccio\verdaccio\config.yaml

package.json

{
  "name": "iisnode-verdaccio",
  "version": "1.0.0",
  "description": "Hosts verdaccio in iisnode",
  "main": "start.js",
  "dependencies": {
    "verdaccio": "^2.1.0"
  }
}

start.js

process.argv.push('-l', 'unix:' + process.env.PORT);
require('./node_modules/verdaccio/src/lib/cli.js');

web.config

<configuration>
  <system.webServer>
    <modules>
        <remove name="WebDAVModule" />
    </modules>

    <!-- indicates that the start.js file is a node.js application
    to be handled by the iisnode module -->
    <handlers>
            <remove name="WebDAV" />
            <add name="iisnode" path="start.js" verb="*" modules="iisnode" resourceType="Unspecified" requireAccess="Execute" />
            <add name="WebDAV" path="*" verb="*" modules="WebDAVModule" resourceType="Unspecified" requireAccess="Execute" />
    </handlers>

    <rewrite>
      <rules>

        <!-- iisnode folder is where iisnode stores it's logs. These should
        never be rewritten -->
        <rule name="iisnode" stopProcessing="true">
          <match url="iisnode*" />
          <action type="None" />
        </rule>

        <!-- Rewrite all other urls in order for verdaccio to handle these -->
        <rule name="verdaccio">
          <match url="/*" />
          <action type="Rewrite" url="start.js" />
        </rule>
      </rules>
    </rewrite>

    <!-- exclude node_modules directory and subdirectories from serving
    by IIS since these are implementation details of node.js applications -->
    <security>
      <requestFiltering>
        <hiddenSegments>
          <add segment="node_modules" />
        </hiddenSegments>
      </requestFiltering>
    </security>

  </system.webServer>
</configuration>

Risoluzione dei problemi

  • L'interfaccia web non viene caricata quando è allocata su https dal momento che tenta di scaricare script su http.
    Assicurarsi di aver nominato correttamente url-prefix nella configurazione di verdaccio. Seguire la discussione.