Flux rss
 

Introduction to setting up an intranet

Status of this document

This document explaining how to set up an intranet on a machine running Linux has been made possible through a partnership with www.tldp.org/, whose webmaster (Michel Maudet) is the author of the original document.

What is an intranet?

An intranet is a set of Internet services (such as a web server) which exists within a local area network, meaning that it can only be accessed from stations on a local network and cannot be seen from the outside. It involves using Internet client-server standards (with the TCP/IP protocols), such as using web browsers, to create an internal information system within an organisation or business.

For more information, see the article dedicated to the concept of an intranet.

This series of articles explains how to set up a Linux server (with the Mandrake distribution, although the procedure is the same for other distributions) which offers a multitude of services. The clients can be running any sort of operating system (typically Linux, Windows or MacOS).

The components

The machine on which Linux will be installed will offer the following services:

  • A domain name server (DNS) so that machines can be recognised with a name other than their IP address. In our scenario, we'll say that the IP address of the server is 192.168.1.1 and that we'll be assigning it the name tuxserver.
  • An email server so that the clients can send and receive e-mail. The most common email server is SendMail, but given how complicated it is to configure, we shall use Qmail. This will let us use SMTP (outgoing mail) and POP (incoming mail)
  • A Web server for providing our own website. The server used will be Apache (the most-used server in the world) running the language PHP, which lets dynamic pages be used.
  • A database server (DBMS) for administering a database. We will install MySQL, a free DBMS that can run on Linux.
  • A file server so that the intranet's users can access all shared files. We will use SAMBA, which has the advantage of being fully compatible with Microsoft networks.
  • An LDAP server providing a very powerful directory service.
  • A mailing list for authorising users to send email to all (or some) of the users on the intranet.

The server properties

Choosing Linux as the operating system for our server was not done by chance. Most Linux distributions are free, as is all the software that comes with them, while their Windows equivalents (Windows system + MS SQL database server + Microsoft Exchange) would cost over a thousand dollars (U.S.) or several hundred pounds (U.K.)

As far as hardware is concerned, a Pentium 133 is enough to serve about a hundred clients. Beyond that, you will need to invest in a more powerful machine, perhaps even a dedicated server. What's more, the server's memory resources vary depending on how it is being used. Here is a small chart summing up what configurations are needed for standard uses:

Type of server RAM Disk space
Traditional HTTP server >64 MB 9 GB
ASP/PHP/JSP Server >128 MB 9 GB
Application Server >256 MB 18 GB (+ RAID)
Streaming media server >512 MB 18 GB (+ RAID)

Michel Maudet

Last update on Thursday October 16, 2008 02:43:14 PM.

This document entitled « Introduction to setting up an intranet » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
Creating a local area network When you have several computers, it can be convenient to connect them to each other to create a local area network (LAN). Setting up such a network costs very little, contrary to what people may think. Here are a few advantages you could enjoy by... en.kioskea.net/configuration-reseau/creer-reseau-local.php3
Practical information - installing a VPN on XP Setting up a virtual private network allows you to connect remote computers in a secure fashion via an unreliable (Internet) connection, as if they were on the same LAN. This procedure is used by many companies in order to allow their users to... en.kioskea.net/pratique/vpn-xp.php3
Creating a LAN If you have several computers, it may be worthwhile to connect them in order to create a local area network (LAN). Setting up such a network is much less expensive than what you might think. Here are a few ways you might benefit from setting up a... en.kioskea.net/pratique/lan.php3
Creating manually your ADSL connectionCreating manually your ADSL connection. Go to the new network setup wizard. Setting up your connection: The interfaces of connection utility programs provided by most Internet Service Provider are sometimes hard to configure and to... en.kioskea.net/faq/sujet-554-creating-manually-your-adsl-connection
[Linux]Restarting the network interface using command lines[Linux]Restarting the network interface using command lines When setting up a network, specially if you need to verify that a DHCP server assigns IP addresses correctly, restarting the network interface using command lines rather than the... en.kioskea.net/faq/sujet-1141-linux-restarting-the-network-interface-using-command-lines
Rdiff-backup: making effective and incremental backupsrdiff-backup: making effective and incremental backups Intro: Installing rdiff-backup Making a Backup Listing available backups Deleting old backups Restoring files Miscellaneous options Setting up default backup... en.kioskea.net/faq/sujet-746-rdiff-backup-making-effective-and-incremental-backups
Unable to write network settings to deviceHello, I keep trying to set up a home network. I get all the way through the "setting up a wireless router and access point", but my computer will not copy to my flash drive. It comes up with the error: "Unable to write network settings to device"... en.kioskea.net/forum/affich-21006-unable-to-write-network-settings-to-device
-- Need Help With Wireless --Hello, Hello, Im having trouble setting up my computer and laptop to my wireless router which is the {Siemens Gigaset SE587 WLAN dsl} What happens is, i connect and load up my internet on the big computer, and that works fine, but when i connect to... en.kioskea.net/forum/affich-17257-need-help-with-wireless
MySQL Help, PHP and Database help (Solved)Hello, I am building a form/blog/personal site for a small company. I was wondering if someone could help me in setting up my database. i have thought of a few options but i am not quite sure what one is the best. each user have a person page, they... en.kioskea.net/forum/affich-21728-mysql-help-php-and-database-help
Download G9 Laser MouseTechnological revolution at Logitech, the mouse G9 Laser Mouse is a mouse that makes significant improvements in details such as storing personal profiles (up to 9) for not having to change the settings of speed, acceleration, resolution and functions... en.kioskea.net/telecharger/telecharger-1351-g9-laser-mouse
Japan firms step up mobile security after stabbing rampageFile photo shows a Japanese man talking on his mobile phone in Tokyo. Japanese mobile telephone content providers are setting up safeguards to protect young people amid shock after a disgruntled young man used his phone to document his plans for a... en.kioskea.net/actualites/japan-firms-step-up-mobile-security-after-stabbing-rampage-10504-actualite.php3
Google looking at Malaysian base: reportMalaysian Prime Minister Abdullah Ahmad Badawi talks during a session at the World Economic Forum in Davos, on January 25. US search-engine giant Google is interested in setting up a base in Malaysia, according to Badawi. US search-engine giant... en.kioskea.net/actualites/google-looking-at-malaysian-base-report-10028-actualite.php3
Amnesty "shocked" at jail for Moroccan royal Facebook 'joke'A court in Morocco has jailed a computer engineer for three years for joining the social networking site Facebook by setting up a false profile of Prince Moulay Rachid, seen here in 2007. Amnesty International said Saturday it was "shocked" by a... en.kioskea.net/actualites/amnesty-shocked-at-jail-for-moroccan-royal-facebook-joke-10151-actualite.php3
Creating an ad hoc WiFi network If you have two or more computers equipped with wireless adapters (WiFi cards), it is possible to easily connect them in a network by setting up a so-called "ad hoc" network, that is, a computer-to-computer network, without using an access point. If... en.kioskea.net/configuration-reseau/configurer-routeur-wifi.php3
Reliability - Backup Setting up a redundant architecture ensures that system data will be available but does not protect the data against user-introduced errors or against natural disasters such as fires, floods or even earthquakes. Therefore it is necessary to set up... en.kioskea.net/surete-fonctionnement/sauvegarde.php3
Creating an ad hoc WiFi network If you have two or more computers equipped with wireless adapters (WiFi cards), it is possible to easily connect them in a network by setting up a so-called "ad hoc" network, that is, a computer-to-computer network, without using an access point. If... en.kioskea.net/configuration-reseau/creer-reseau-wifi-ad-hoc.php3