Initial Server Setup

These guides cover important configuration steps that you should take when creating and configuring a new server. These steps will increase your server's security and usability, and guarantee a solid foundation to build upon. Choose your preferred Linux distribution to get started, or check out "Automated" section to learn how to use [Ansible](https://www.ansible.com) to automate the process.

Automated

Bash

Automating Initial Server Setup with Ubuntu 18.04

Learn Automating Initial Server Setup with Ubuntu 18.04

CentOS

8

Initial Server Setup with CentOS

Learn Initial Server Setup with CentOS
7

Initial Server Setup with CentOS 7

Learn Initial Server Setup with CentOS 7
6

Initial Server Setup with CentOS 6

Learn Initial Server Setup with CentOS 6

Debian

11

Initial Server Setup with Debian 11

Learn Initial Server Setup with Debian 11
10

Initial Server Setup with Debian 10

Learn Initial Server Setup with Debian 10
9

Initial Server Setup with Debian 9

Learn Initial Server Setup with Debian 9
8

Initial Server Setup with Debian 8

Learn Initial Server Setup with Debian 8

Rocky Linux

9

Initial Server Setup with Rocky Linux 9

Learn Initial Server Setup with Rocky Linux 9
8

Initial Server Setup with Rocky Linux 8

Learn Initial Server Setup with Rocky Linux 8

Ubuntu

22.04

Initial Server Setup with Ubuntu

Learn Initial Server Setup with Ubuntu
20.04

Initial Server Setup with Ubuntu 20.04

Learn Initial Server Setup with Ubuntu 20.04
18.04

Initial Server Setup with Ubuntu 18.04

Learn Initial Server Setup with Ubuntu 18.04
16.04

Initial Server Setup with Ubuntu 16.04

Learn Initial Server Setup with Ubuntu 16.04
14.04

Initial Server Setup with Ubuntu 14.04

Learn Initial Server Setup with Ubuntu 14.04
12.04

Initial Server Setup with Ubuntu 12.04

Learn Initial Server Setup with Ubuntu 12.04

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.