Quote:
Originally posted by Yamabob217
Do I just connect these two boxes together with a hub between the two or do I need to set-up a LAN as well?
|
Two machines and a hub is a LAN (well, an embryo LAN anyway).
Quote:
Frogman, how did you go about configuring your connection between the two boxes?
|
Plugged it into the existing LAN
Once your webserver is set up, connect both machines to your hub and give them static IP addresses - you can set the webserver ip address during install (like in the post above, choose your addresses).
Add the webserver ip address and name to your workstations /etc/hosts file i.e:
Code:
127.0.0.1 localhost
ip.address.of.webserver webservername
this will let you type
http://webservername into your browser, rather than just the IP address.
Quote:
And of course, any other hazards or concerns to look out for would be greatly appreciated.
|
Nothing major, just remember the basics:
Ping to test connections
Install the Apache Manual as well, it's worth it.
Make sure that your webservers firewall allows connections on port 80/tcp.
You'll probably want to install OpenSSH and / or Webmin on the webserver if you're planning on running it without a monitor / keyboard.
OpenSSH will let you upload files to the server via secure ftp, webmin gives a gui interface for managment if you're not entirely happy with the command line.
Ensure the webserver is patched - download them using the workstation then sftp the patches across.
Once you can see something at
http://webservername, start transferring your files across (put them in /var/www).
You should chmod your folders in /var/www to 755, files to 644 - it's a good habit to get into.