VOOZH about

URL: https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu?comment=207325

⇱ Initial Server Setup with Ubuntu | DigitalOcean


Initial Server Setup with Ubuntu

Updated on January 6, 2026

By Anish Singh Walia

Sr Technical Content Strategist and Team Lead

Not using Ubuntu 22.04?
Choose a different version or distribution.
Ubuntu 22.04
πŸ‘ Initial Server Setup with Ubuntu

Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.

Learn more about our products

Tutorial Series: Getting Started With Cloud Computing

This curriculum introduces open-source cloud computing to a general audience along with the skills necessary to deploy applications and websites securely to the cloud.

About the author

πŸ‘ Anish Singh Walia
Anish Singh Walia
Author
Sr Technical Content Strategist and Team Lead
See author profile

I help Businesses scale with AI x SEO x (authentic) Content that revives traffic and keeps leads flowing | 3,000,000+ Average monthly readers on Medium | Sr Technical Writer(Team Lead) @ DigitalOcean | Ex-Cloud Consultant @ AMEX | Ex-Site Reliability Engineer(DevOps)@Nutanix

Still looking for an answer?

Was this helpful?

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

I have made a bash script to automate the setup process, hopefully this will be useful to someone else.

I had to restart the server for Step 3 to take effect.

Hey @jamonation, there is a typo on the page:

Tthe firewall is currently blocking all connections except for SSH.

I absolutely love these types of articles! Thank you for taking the time to write the article and to keep the inform update to date.

how can one find β€˜your_server_ip’?

Step 4: OpenSSH is not available in Ubuntu on WSL (Windows subsystem for Linux) I am using Ubuntu 22 on WSL on Win 11.

This comment has been deleted

I am new to Django and have tried deploying my first project here in Digital Ocean. I followed this article for the steps and my website behaved as expected but when I integrated nginx setup, the static files are not showing up.

My settings.py has this:

STATIC_ROOT = os.path.join(BASE_DIR,'static')
STATIC_URL = '/static/'
STATICFILES_DIRS = [
 os.path.join(BASE_DIR, 'digitalnotebook/static')
]

My /etc/nginx/sites-available/digital_project has this:

server {
 listen 80;
 server_name xxx.xxx.xxx.xxx;
 location = /favicon.ico { access_log off; log_not_found off; }
 location /static/ {
 root /home/djangoadmin/pyapps/digitalnotebook_project;
 }
 location /media/ {
 root /home/djangoadmin/pyapps/digitalnotebook_project;
 }
 location / {
 include proxy_params;
 proxy_pass http://unix:/run/gunicorn.sock;
 }
}

my static folders (css, js,img) are in this path: /home/djangoadmin/pyapps/digitalnotebook_project/static/

I read all the comments that you have here and tried a few (i.e granting permission) but to no avail. I hope someone can help me get this project finally working.

Excellent guide and what a well designed and functioning site UI/UX 5 *****

πŸ‘ Creative Commons
This work is licensed under a Creative Commons Attribution-NonCommercial- ShareAlike 4.0 International License.
  • Deploy on DigitalOcean

    Click below to sign up for DigitalOcean's virtual machines, Databases, and AIML products.

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 AI-native businesses

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.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Β© 2026 DigitalOcean, LLC.Sitemap.
Dark mode is coming soon.