Creating a webserver: Difference between revisions
From Leechfinger
Jump to navigationJump to search
Line 21: | Line 21: | ||
/dev/sda1 512M 5.9M 506M 2% /boot/efi | /dev/sda1 512M 5.9M 506M 2% /boot/efi | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Now you can close the lid and slide back your KVM and go to your workstation for the rest of the configuration, unless you were doing all this from iDRAC to start with. In that case, you can close the console and ssh into your server. | |||
== Get colors in .bashrc for root == | == Get colors in .bashrc for root == |
Revision as of 19:15, 17 May 2024
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
Now you can close the lid and slide back your KVM and go to your workstation for the rest of the configuration, unless you were doing all this from iDRAC to start with. In that case, you can close the console and ssh into your server.
Get colors in .bashrc for root
Edit /root/.bashrc and un-comment two lines.
export LS_OPTIONS='--color=auto'
alias ls='ls $LS_OPTIONS'