Skip to content

Instantly share code, notes, and snippets.

View sr-tamim's full-sized avatar
👨‍💼
Open to work

Saifur Rahman Tamim sr-tamim

👨‍💼
Open to work
View GitHub Profile
@sr-tamim
sr-tamim / Linux-server-setup-script.md
Last active March 30, 2025 11:31
A bash script which automates the initial setup process for a new Linux server

Linux Server Setup Script

This script automates the initial setup process for a new Linux server, focusing on basic security and maintenance tasks. It is designed to save time and ensure consistency when configuring multiple servers.

Why Use This Script?

Manually setting up a Linux server can be time-consuming and prone to errors. This script automates the essential steps, ensuring that your server is configured securely and efficiently. It covers:

  1. Updating and upgrading system packages
  2. Creating a new user and granting sudo privileges

linux-server

Initial Linux Server Setup Guide

This guide covers the initial setup process for a new Linux server, focusing on basic security and maintenance tasks.

For those interested in automating this setup process, please refer to the Linux Server Setup Script.

1. Update and Upgrade System Packages (Must-Do)

@sr-tamim
sr-tamim / Deploy_ASP.NET_MVC_to_server.md
Last active September 27, 2023 11:37
How to deploy ASP.NET MVC to server

Here's an elaboration of each step with necessary commands and sub-steps for updating and redeploying your ASP.NET MVC application on the server after making changes to the code on GitHub:

  1. Pull Latest Code from GitHub:
    • Open Git Bash or your preferred Git client on your local development machine.
    • Navigate to the directory where you want to clone the GitHub repository or where you have already cloned the repository.
    • Use the following command to pull the latest changes from GitHub:
      git pull origin master
      

This command fetches and merges the latest changes from the master branch of your GitHub repository to your local working directory.