Your best source of information and news about vista , hardware and winvista on the internet La migliore fonte di informazioni e notizie su Vista, hardware e winvista su Internet

Vista ARTICLES Vista ARTICOLI TOP 50 TOP 50 Spyware Virus Virus Spyware Vista SOFT Vista SOFT Vista HELP Vista AIUTO

Setting Up Apache in Ubuntu Impostazione di Apache in Ubuntu


From a technical perspective, you could say that a web server is just a special kind of file server: all it does is offer files that are stored in a dedicated directory structure. Da un punto di vista tecnico, si potrebbe dire che un server web è solo uno speciale tipo di file server: Tutto ciò che fa è offrire i file che vengono memorizzati in un apposito struttura di directory. The root of this structure is called the document root, and the file format that offers the files is HTML, the hypertext markup language. La radice di questa struttura è chiamato il documento di root, e il formato di file che offre il file HTML, il Hypertext Markup Language. But a web server can provide more than just HTML files. Ma un server web in grado di fornire non solo i file HTML. In fact, the web server can serve just about anything, as long as it is specified in the HTML file. In realtà, il server web può solo servire a niente, finché è specificato nel file HTML. Therefore, a web server is a very good source for streaming audio and video, accessing databases, displaying animations, showing photos, and much more. Pertanto, un server web è una buona fonte per lo streaming audio e video, accesso a banche dati, la visualizzazione delle animazioni, mostrando foto e molto altro ancora.

Apart from the web server where the content is stored, the client also has to use a specific protocol to access this content as well, and this protocol is HTTP (the hypertext transfer protocol). Oltre al server web il cui contenuto è memorizzato, il cliente ha anche per l'utilizzo di un protocollo specifico per accedere a questo anche i contenuti, e questo è il protocollo HTTP (Hypertext Transfer Protocol). Typically, a client uses a web browser to generate HTTP commands that retrieve content, in the form of HTML and other files, from a web server. Tipicamente, un client utilizza un browser web per generare HTTP comandi che recuperare il contenuto, sotto forma di codice HTML e altri file, da un server web.

You’ll likely encounter two different versions of Apache web server. È probabile incontrare due diverse versioni di Apache web server. The most recent version is 2.x, and this is the one installed by default on Ubuntu Server. La più recente versione 2.x è, e questo è quello installato di default su Ubuntu Server. You may, however, encounter environments that still use the earlier 1.3. È possibile, tuttavia, incontrano ambienti che ancora utilizzare il precedente 1.3. This often happens if, for instance, custom scripts have been developed for use with 1.3, and those scripts aren’t compatible with 2.x. Questo spesso succede se, per esempio, script personalizzati sono stati sviluppati per l'uso con 1.3, e questi script non sono compatibili con 2.x.


Apache Components Apache Componenti
Apache is a modular web server, which means that the core server (whose role is essentially to serve up HTML documents) can be extended using a variety of optional modules. Apache è un server web modulare, il che significa che il nucleo del server (il cui ruolo è essenzialmente di servire fino documenti HTML) può essere estesa utilizzando una varietà di moduli opzionali. For example, the libapache2-mod-php5 module allows your Apache web server to work with scripts written in PHP 5. Ad esempio, il libapache2-mod-php5 modulo consente il tuo server web Apache a lavorare con gli script scritto in PHP 5. Likewise, many other modules are available for Apache. Allo stesso modo, molti altri sono disponibili i moduli per Apache. To give you an initial impression, I’ll list some of the most useful modules: Per darvi una prima impressione, mi elenco alcuni dei più utili moduli:

• libapache2-mod-auth-mysqld: This module tells Apache how to handle user authentication against a MySQL database. • libapache2-mod-auth-mysqld: Questo modulo di Apache racconta come gestire l'autenticazione degli utenti nei confronti di un database MySQL.

• libapache2-mod-auth-pam: This module instructs Apache how to authenticate users, using the Linux PAM mechanism. • libapache2-mod-auth-pam: Questo modulo incarica di Apache come per l'autenticazione degli utenti, utilizzando il meccanismo di Linux PAM.

• libapache-mod-frontpage: This module instructs Apache how to handle web pages using Microsoft FrontPage extensions. • libapache-mod-FrontPage: Questo modulo di Apache come incarica di gestire le pagine web utilizzando le estensioni di Microsoft FrontPage.

• libapache2-mod-mono: This module tells Apache how to interpret ASP.NET code. • libapache2-mod-mono: Questo modulo di Apache racconta come interpretare il codice ASP.NET.

This is a short and incomplete list of all the modules you can use on the Apache web server: http://modules.apache.org currently lists more than 450 modules. Questo è un breve e incompleto elenco di tutti i moduli che si possono utilizzare sul server web Apache: http://modules.apache.org elenchi attualmente più di 450 moduli. It’s important that you determine exactly which modules you need for your server so that you can extend its functionality accordingly. E 'importante che lei determinare esattamente quali moduli di cui avete bisogno per il vostro server in modo che sia possibile estendere le sue funzionalità di conseguenza. Now, let’s move on to the configuration of the Apache web server itself. Ora passiamo alla configurazione del server web Apache stesso.


Starting, Stopping, and Testing the Apache Web Server Avviare, fermare e Test Apache Web Server
Like almost all other services you can use on Ubuntu Server, the Apache web server is not installed automatically. Come quasi tutti gli altri servizi è possibile utilizzare su Ubuntu Server, il server web Apache non viene installato automaticamente. The two packages that are available to install Apache are the apache package and the apache2 package. I due pacchetti che sono disponibili per l'installazione di Apache sono il pacchetto apache e apache2 pacchetto. At present, apache2 is the more common, and only in specific situations does it make sense to use the older apache package. Allo stato attuale, di apache2 è il più comune, e solo in situazioni particolari, non ha senso utilizzare il pacchetto apache anziani. To check if Apache has already been installed, use dpkg -l | grep apache. Per verificare se Apache è già stato installato, utilizzare dpkg-l | grep apache. If this command doesn’t show an Apache server, install it using apt-get install apache2. Se questo comando non mostrano un server Apache, installare utilizzando apt-get install apache2.

The most important part of the Apache web server is the HTTP daemon (httpd) process. La parte più importante del server web Apache è il demone HTTP (httpd) processo. This process is started from the script /etc/init.d/apache2; to run it from the command line, use /etc/init.d/apache2 start. Questo processo è iniziato da script / etc/init.d/apache2; di lanciarlo da linea di comando, l'uso / etc/init.d/apache2 start. If this command finishes without any errors, your web server is up and running, which you can check with the ps aux | grep apache command. Se questo comando termina senza errori, il vostro Web server è installato e funzionante, che è possibile controllare con la ps aux | grep apache comando. This command shows that different instances of the Apache web server are ready and waiting for incoming connections. Questo comando mostra che le diverse istanze del server web Apache sono pronti e in attesa di connessioni in ingresso.

After starting the Apache web server, you can test its availability in several ways. Dopo aver avviato il server web Apache, è possibile verificare la sua disponibilità in diversi modi. The best way, however, is to just try to connect, because, after being installed, a default web server is listening for incoming requests. Il modo migliore, tuttavia, è appena tenta di connettersi, perché, dopo essere stato installato, un server web di default è in ascolto per le richieste. So wait no longer: launch a browser and connect to HTTP port 80 on your local host. Allora non aspettare più a lungo: lanciare un browser e collegarsi alla porta HTTP 80 sul vostro host locale. It should show you a page, it doesn’t look very nice, but that’s only because you haven’t configured anything yet. Si dovrebbe vedere una pagina, non sembra molto bella, ma questo è solo perché non avete ancora configurato nulla.

Source of Information : Apress Beginning Ubuntu Server Administration From Novice To Professional Fonte delle informazioni: Apress Ubuntu inizio di amministrazione del server da debuttante al professionista Popularity: 1% Popularity: 1%


Written by magakos. Scritto da magakos. Read more great feeds at is source Per saperne di più grande al feed è fonte WEBSITE SITO WEB
no comments nessun commento . .
Read more articles on Per saperne di più articoli su Ubuntu Linux Ubuntu Linux and e otherSoftware otherSoftware . .

Related articles Articoli correlati

No comments Non ci sono commenti

There are still no comments on this article. Non ci sono ancora commenti su questo articolo.

Leave your comment... Lascia il tuo commento ...

If you want to leave your comment on this article, simply fill out the next form: Se si desidera lasciare il tuo commento su questo articolo, è sufficiente compilare il modulo successivo:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> . È possibile utilizzare questi tag XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i > <strike> <strong>.