|
|
|
# Server installation
|
|
|
|
|
|
|
|
## DNS configuration
|
|
|
|
|
|
|
|
One domain and one subdomain must point to the IP address of a [dedicated server](server-requirements.md).
|
|
|
|
|
|
|
|
| FQDN | Record type | Address |
|
|
|
|
| -------------- | ----------- | ------- |
|
|
|
|
| [[DOMAIN]] | A | X.X.X.X |
|
|
|
|
| git.[[DOMAIN]] | A | X.X.X.X |
|
|
|
|
|
|
|
|
## Network configuration
|
|
|
|
|
|
|
|
### Inbound
|
|
|
|
|
|
|
|
| Port | Transport | Application |
|
|
|
|
| ---- | --------- | ---------------- |
|
|
|
|
| 22 | TCP | SSH |
|
|
|
|
| 80 | TCP, UDP | HTTP/(1.1, 2, 3) |
|
|
|
|
| 443 | TCP, UDP | HTTP/(1.1, 2, 3) |
|
|
|
|
| 521 | TCP | SSH |
|
|
|
|
|
|
|
|
### Outbound
|
|
|
|
|
|
|
|
| Port | Transport | Application |
|
|
|
|
| ---- | --------- | ----------- |
|
|
|
|
| 465 | TCP | SMTP |
|
|
|
|
|
|
|
|
### OS installation
|
|
|
|
|
|
|
|
Download and boot the ISO image `amd64` of [Debian](https://www.debian.org/distrib/netinst)
|
|
|
|
|
|
|
|
Select :
|
|
|
|
|
Refactor & Beautify & destruction commit
return early, remove else branches, reorder conditions and top-level functions, remove empty lines, remove unnecessary append(), fix typos, stop using testing package, remove dead code, fix mistakes in subjects, tests and solutions, remove disclaimers, reformat comments, simplify solutions, tests, add more instructions to subjects, remove obsolete files, etc.
Some of the reasons behind those modifications will be added to good-practices.en.md
Some of the exercises are now broken, they will have to be fixed, most of them have a "TODO:" comment.
5 years ago
|
|
|
- "Advanced options ..."
|
|
|
|
- "... Automated install"
|
|
|
|
|
|
|
|
The network is automatically configured with DHCP, you can also configure it manually.
|
|
|
|
|
|
|
|
At the prompt "Location of initial preconfiguration file:", enter the url :
|
|
|
|
|
|
|
|
```
|
|
|
|
raw.githubusercontent.com/01-edu/public/master/scripts/preseed.cfg
|
|
|
|
```
|
|
|
|
|
|
|
|
and select "Continue", let us know when the server's remote access is ready, we will configure it.
|