Ubuntu: Wired LAN and Localhost Setup in School


In my school all 6 PCs ( ubuntu 10.04 desktop + LAMP + LAN Card ) + 5 NComputing Client in Single room Lab with one Router.

PC-1 ubuntu 10.04 32bit Act as desktop + server + NComputing X-series X550 1kit ref:http://www.ncomputing.com/products/xseries

PC-2 ubuntu 10.04 32bit
PC-3 ubuntu 10.04 32bit
PC-4 ubuntu 10.04 32bit
PC-5 ubuntu 10.04 32bit
PC-6 ubuntu 10.04 64bit

PC-7 NComputing Client (No CPU)
PC-8 NComputing Client (No CPU)
PC-9 NComputing Client (No CPU)
PC-10 NComputing Client (No CPU)
PC-11 NComputing Client (No CPU)

Query.1 I want to setup Wired LAN with static ip [start from PC-1].
Query.2 I want to setup LAMP server [PC-1 as server] with domain schoolname.
Query.3 All other PC [users] can access shared files, shared folders and http:// schoolname / from PC-1.
Query.4 All PC [users] can access shared internet using 3G Datacard on PC-1.



Some general observations :

  1. Ubuntu 10.04 is end-of-line. You should upgrade to 12.04 LTS at a minimum.
  2. NComputing clients use proprietary server software that AFAIK only runs on Microsoft operating systems.

Now for your questions. Basically, all you need is install Ubuntu server 12.04.3 LTS on your server (PC-1). It comes packed with everything you need. All you have to do is configure things.

For Q1, you might like to use DHCP configured to assign IPs based on client MAC Address, or avoid DHCP and just assign IPs manually on each client (not recommended if you plan to extend your network)

For Q2, you need to setup DNS and the LAMP stack that comes with 12.04

For Q3, just export the desired folders as NFS shares

For Q4, you need to configure PC-1 to act as a router gateway for your network.

For more information on how to set thing up, take a look at the official documentation. You can even download it in pdf format from the same link.

Edit in response to the comment: Since you have decided to do this by yourself, there is no easy way or workaround for it. You have to read and understand the documentation, then (design and) implement according to your specific needs. Having said that, it's not terribly difficult if you have some basic knowledge on networks and you're not afraid to type commands in a console.

  • How to install and configure Dynamic Host Configuration Protocol (DHCP)
  • How to install and configure Domain Name Service (DNS)
  • How to install and configure LAMP stack (Linux Apache Mysql PHP)

If you encounter any error or difficulty at any stage of the process, just take a look around the site. Chances are somebody else stumbled upon it before you. If you cannot find an answer, feel free to open a new question. Just don't forget to include any error messages that you encounter.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »