Creating a webserver

From Leechfinger
Jump to navigationJump to search

Purpose

This document highlights our steps in building a very simple low end Webserver.

Hardware

We chose Dell for our build. Just a few key configuration items:

  • PowerEdge R250 Server
  • Intel Xeon E-2378G 2.8GHz, 16M Cache, 8C/16T, Turbo (80W), 3200 MT/s
  • PERC H755 Adapter, Low Profile
  • 4 3.5" 22 TB SATA drives
  • 128 GIG RAM
  • Broadcom 5719 Quad Port 1GbE BASE-T Adapter
  • Enterprise Drac

Installing Debian

Please refer to installing Debian articles.

Post install

  • Make sure sshd is running and proper space is showing for your drives.
# systemctl status sshd.service 
 ssh.service - OpenBSD Secure Shell server
# df -h | grep sda
/dev/sda2        60T  1.8G   57T   1% /
/dev/sda1       512M  5.9M  506M   2% /boot/efi

Get colors in .bashrc for root

Edit /root/.bashrc and un-comment two lines.

export LS_OPTIONS='--color=auto'
alias ls='ls $LS_OPTIONS'