Creating a webserver: Difference between revisions
From Leechfinger
Jump to navigationJump to search
No edit summary |
|||
Line 17: | Line 17: | ||
# systemctl status sshd.service | # systemctl status sshd.service | ||
● ssh.service - OpenBSD Secure Shell server | ● ssh.service - OpenBSD Secure Shell server | ||
# df -h | grep sda | |||
/dev/sda2 60T 1.8G 57T 1% / | /dev/sda2 60T 1.8G 57T 1% / | ||
/dev/sda1 512M 5.9M 506M 2% /boot/efi | |||
</syntaxhighlight> | </syntaxhighlight> | ||
== Get colors in .bashrc for root == | == Get colors in .bashrc for root == | ||
Edit /root/.bashrc and un-comment two lines. | Edit /root/.bashrc and un-comment two lines. |
Revision as of 19:13, 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
Get colors in .bashrc for root
Edit /root/.bashrc and un-comment two lines.
export LS_OPTIONS='--color=auto'
alias ls='ls $LS_OPTIONS'