{"id":15767,"date":"2024-06-25T20:54:59","date_gmt":"2024-06-25T17:24:59","guid":{"rendered":"https:\/\/www.itpiran.net\/blog\/?p=15767"},"modified":"2024-06-25T20:54:59","modified_gmt":"2024-06-25T17:24:59","slug":"initial-server-setup-with-debian-10","status":"publish","type":"post","link":"https:\/\/www.itpiran.net\/blog\/en\/tutorials\/initial-server-setup-with-debian-10\/","title":{"rendered":"Initial server setup with Debian 10"},"content":{"rendered":"<h2 id=\"%d9%85%d9%82%d8%af%d9%85%d9%87\">Introduction<\/h2>\n<p>When you first create a new Debian 10 server, there are a few configuration steps you should perform early on as part of the initial setup. This will increase the security and usability of your server and give you a solid foundation for what comes next.<\/p>\n<p>In this tutorial, we will learn how to log in to our server as the root user, create a new user with administrative privileges, and set up a basic firewall.<\/p>\n<h2 id=\"%d9%85%d8%b1%d8%ad%d9%84%d9%87-1-%d8%a8%d9%87-%d8%b9%d9%86%d9%88%d8%a7%d9%86-root-%d9%88%d8%a7%d8%b1%d8%af-%d8%b4%d9%88%db%8c%d8%af\">Step 1 \u2013 Log in as Root<\/h2>\n<p>To log in to your server, you will need to know the public IP address of your server. You will also need the password or, if you have installed an SSH key for authentication, the private key for the root user account. If you have not logged in to your server before, you may want to follow our guide on how to connect to your Droplet with SSH, which covers this process in detail.<\/p>\n<p>If you are not already connected to your server, go ahead and log in as the root user using the following command (replace the highlighted part of the command with your server&#039;s public IP address):<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>ssh root@your_server_ip<\/code><\/pre>\n<\/div>\n<p>Accept the host credentials warning if it appears. If you are using password authentication, enter your root password to log in. If you are using an SSH key that is protected by a passphrase, you may be prompted to enter the passphrase the first time you use the key in any session. If this is the first time you are logging in to the server with a password, you may be prompted to change the root password.<\/p>\n<h5 id=\"%d8%af%d8%b1%d8%a8%d8%a7%d8%b1%d9%87-root\">About root<\/h5>\n<p>The root user is an administrative user in a Linux environment that has very broad privileges. You are discouraged from using the root account regularly because of its elevated privileges. This is because part of the inherent power of the root account is the ability to make very destructive changes, even accidentally.<\/p>\n<p>The next step is to set up an alternate account with less influence for everyday tasks. Later, we&#039;ll explain how to get more privileges for when you need them.<\/p>\n<h2 id=\"%d9%85%d8%b1%d8%ad%d9%84%d9%87-2-%d8%a7%db%8c%d8%ac%d8%a7%d8%af-%db%8c%da%a9-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1-%d8%ac%d8%af%db%8c%d8%af\">Step 2 \u2013 Create a new user<\/h2>\n<p>Once you are logged in as root, we are ready to add a new user account that we will use to log in from now on.<\/p>\n<p>This example creates a new user named sammy, but you should replace it with the username you like:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>adduser sammy<\/code><\/pre>\n<\/div>\n<p>You will be asked a few questions, starting with the account password.<\/p>\n<p>Enter a strong password and, if desired, fill in any additional information you want. This is not required and you can just hit ENTER in any field you want to skip.<\/p>\n<p>Next, we&#039;ll set up this new user with administrator privileges.<\/p>\n<h2 id=\"%d9%85%d8%b1%d8%ad%d9%84%d9%87-3-%d8%a7%d8%b9%d8%b7%d8%a7%db%8c-%d8%a7%d9%85%d8%aa%db%8c%d8%a7%d8%b2%d8%a7%d8%aa-%d8%a7%d8%af%d8%a7%d8%b1%db%8c\">Step 3 \u2013 Granting Administrative Privileges<\/h2>\n<p>We have now created a new user account with regular account privileges. However, we may sometimes need to perform administrative tasks with it.<\/p>\n<p>To avoid having to log out of our regular user and log back in as the main account, we can set up superuser or root privileges for our regular account. This allows the regular user to run commands with administrative privileges by prefixing the command with the word sudo.<\/p>\n<p>To add these privileges to our new user, we need to add the new user to the sudo group. By default, in Debian 10, users who belong to the sudo group are allowed to use the sudo command.<\/p>\n<p>As root, run this command to add your new user to the sudo group (replace the highlighted word with your new user):<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>usermod -aG sudo sammy<\/code><\/pre>\n<\/div>\n<p>Now, when you are logged in as your regular user, you can type sudo before the commands to run the command with superuser privileges.<\/p>\n<h2 id=\"%d9%85%d8%b1%d8%ad%d9%84%d9%87-4-%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2%db%8c-%db%8c%da%a9-%d9%81%d8%a7%db%8c%d8%b1%d9%88%d8%a7%d9%84-%d8%a7%d8%b3%d8%a7%d8%b3%db%8c\">Step 4 \u2013 Set up a basic firewall<\/h2>\n<p>Debian servers can use firewalls to ensure that only certain connections to certain services are allowed. In this guide, we will install and use the UFW firewall to help set up firewall policies and manage exceptions.<\/p>\n<p>We can use the apt package manager to install UFW. Refresh the local directory to retrieve the latest information about the available packages and then install the UFW firewall software by typing:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>apt update\r\napt install ufw<\/code><\/pre>\n<\/div>\n<p>Firewall profiles allow UFW to manage named sets of firewall rules for installed applications. Profiles for some common software come with UFW by default, and packages can register additional profiles with UFW during the installation process. OpenSSH, the service that allows us to connect to our server now, has a firewall profile that we can use.<\/p>\n<p>You list all available application profiles by typing:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\">ufw app list<\/pre>\n<\/div>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Output\r\nAvailable applications:\r\n. . .\r\nOpenSSH\r\n. . .<\/code><\/pre>\n<\/div>\n<p>We need to make sure that the firewall allows SSH connections so that we can log in again next time. We can allow these connections by typing:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>ufw allow OpenSSH<\/code><\/pre>\n<\/div>\n<p>After that, we can enable the firewall by typing:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>ufw enable<\/code><\/pre>\n<\/div>\n<p>Type y and press ENTER to continue. You can see that SSH connections are still allowed by typing:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>ufw status<\/code><\/pre>\n<\/div>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Output\r\nStatus: active\r\nTo Action From\r\n-- ------ ----\r\nOpenSSH ALLOW Anywhere\r\nOpenSSH (v6) ALLOW Anywhere (v6)<\/code><\/pre>\n<\/div>\n<\/div>\n<p>Since the firewall currently blocks all connections except SSH, if you install and configure additional services, you will need to adjust the firewall settings to allow acceptable traffic in. You can learn some common UFW operations in our essential UFW guide.<\/p>\n<h2 id=\"%d9%85%d8%b1%d8%ad%d9%84%d9%87-5-%d9%81%d8%b9%d8%a7%d9%84-%da%a9%d8%b1%d8%af%d9%86-%d8%af%d8%b3%d8%aa%d8%b1%d8%b3%db%8c-%d8%ae%d8%a7%d8%b1%d8%ac%db%8c-%d8%a8%d8%b1%d8%a7%db%8c-%da%a9%d8%a7\">Step 5 \u2013 Enable external access for your regular user<\/h2>\n<p>Now that we have a regular user for daily use, we need to make sure we can SSH directly into the account.<\/p>\n<p>The process for configuring SSH access for your new user depends on whether your server&#039;s root account uses a password or SSH keys for authentication.<\/p>\n<h5 id=\"%d8%a7%da%af%d8%b1-%d8%ad%d8%b3%d8%a7%d8%a8-%d8%b1%db%8c%d8%b4%d9%87-%d8%a7%d8%b2-%d8%a7%d8%ad%d8%b1%d8%a7%d8%b2-%d9%87%d9%88%db%8c%d8%aa-%d8%b1%d9%85%d8%b2-%d8%b9%d8%a8%d9%88%d8%b1-%d8%a7%d8%b3%d8%aa\">If the root account uses password authentication<\/h5>\n<p>If you logged in to your main account using a password, password authentication is enabled for SSH. You can SSH into your new account by opening a new terminal session and using SSH with your new username:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>ssh sammy@your_server_ip<\/code><\/pre>\n<\/div>\n<\/div>\n<p>After entering your regular user password, you will be logged in. Remember, if you need to run a command with administrative privileges, type sudo before it, as follows:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>sudo command_to_run<\/code><\/pre>\n<\/div>\n<p>When using sudo for the first time in any session (and periodically thereafter), you will be prompted to enter your regular user password.<\/p>\n<p>To increase the security of your server, we highly recommend setting up SSH keys instead of using password authentication. Follow our guide on setting up SSH keys on Debian 10 to learn how to configure key-based authentication.<\/p>\n<h5 id=\"%d8%a7%da%af%d8%b1-%d8%ad%d8%b3%d8%a7%d8%a8-%d8%b1%db%8c%d8%b4%d9%87-%d8%a7%d8%b2-%d8%a7%d8%ad%d8%b1%d8%a7%d8%b2-%d9%87%d9%88%db%8c%d8%aa-%da%a9%d9%84%db%8c%d8%af-ssh-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7\">If the root account uses SSH key authentication<\/h5>\n<p>If you are logged in to your main account using SSH keys, password authentication is disabled for SSH. You will need to add a copy of your local public key to the new user&#039;s ~\/.ssh\/authorized_keys file to successfully log in.<\/p>\n<p>Since your public key is already in the root account&#039;s ~\/.ssh\/authorized_keys file on the server, we can copy that file and directory structure to our new user account in our current session with the cp command. After that, we can set the ownership of the files using the chown command.<\/p>\n<p>Make sure to change the highlighted parts of the command below to match your regular username:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>cp -r ~\/.ssh \/home\/sammy\r\nchown -R sammy:sammy \/home\/sammy\/.ssh<\/code><\/pre>\n<\/div>\n<p>The cp -r command copies the entire directory to the new user&#039;s home directory, and the chown -R command changes the owner of that directory (and everything inside it) to the specified username: group name (Debian creates a group with the same name. Your username by default).<\/p>\n<p>Now, open a new terminal session and log in via SSH with your new username:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>ssh sammy@your_server_ip<\/code><\/pre>\n<\/div>\n<p>You should log in to the new account without using a password. Remember, if you need to run a command with administrative privileges, type sudo before it, as follows:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>sudo command_to_run<\/code><\/pre>\n<\/div>\n<p>When using sudo for the first time in any session (and periodically thereafter), you will be prompted to enter your regular user password.<\/p>\n<h2 id=\"%d9%86%d8%aa%db%8c%d8%ac%d9%87\">Result<\/h2>\n<p>At this point, you have a solid foundation for your server. You can now install any software you need on your server.<\/p>","protected":false},"excerpt":{"rendered":"Introduction When you first create a new Debian 10 server, there are a few configuration steps\u2026","protected":false},"author":1,"featured_media":15769,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"\u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0633\u0631\u0648\u0631 \u0628\u0627 Debian 10","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"","_yoast_wpseo_canonical":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_opengraph-image":"","_yoast_wpseo_twitter-description":"","_yoast_wpseo_twitter-image":"","_yoast_wpseo_focuskeywords":"","_yoast_wpseo_primary_category":"193","footnotes":""},"categories":[193],"tags":[406],"class_list":{"0":"post-15767","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tutorials","8":"tag-debian"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0633\u0631\u0648\u0631 \u0628\u0627 Debian 10 - \u0628\u0644\u0627\u06af ITPiran<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.itpiran.net\/blog\/en\/tutorials\/initial-server-setup-with-debian-10\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0633\u0631\u0648\u0631 \u0628\u0627 Debian 10 - \u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"og:description\" content=\"\u0645\u0642\u062f\u0645\u0647 \u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0627\u0648\u0644\u06cc\u0646 \u0628\u0627\u0631 \u06cc\u06a9 \u0633\u0631\u0648\u0631 Debian 10 \u062c\u062f\u06cc\u062f \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0686\u0646\u062f \u0645\u0631\u062d\u0644\u0647 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0648\u062c\u0648\u062f&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.itpiran.net\/blog\/en\/tutorials\/initial-server-setup-with-debian-10\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-25T17:24:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.itpiran.net\/2024\/06\/25203914\/deb10.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1793\" \/>\n\t<meta property=\"og:image:height\" content=\"1110\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/initial-server-setup-with-debian-10\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/initial-server-setup-with-debian-10\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\"},\"headline\":\"\u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0633\u0631\u0648\u0631 \u0628\u0627 Debian 10\",\"datePublished\":\"2024-06-25T17:24:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/initial-server-setup-with-debian-10\\\/\"},\"wordCount\":72,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/initial-server-setup-with-debian-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/06\\\/25203914\\\/deb10.jpg\",\"keywords\":[\"Debian\"],\"articleSection\":[\"\u0622\u0645\u0648\u0632\u0634\u06cc\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/initial-server-setup-with-debian-10\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/initial-server-setup-with-debian-10\\\/\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/initial-server-setup-with-debian-10\\\/\",\"name\":\"\u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0633\u0631\u0648\u0631 \u0628\u0627 Debian 10 - \u0628\u0644\u0627\u06af ITPiran\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/initial-server-setup-with-debian-10\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/initial-server-setup-with-debian-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/06\\\/25203914\\\/deb10.jpg\",\"datePublished\":\"2024-06-25T17:24:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/initial-server-setup-with-debian-10\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/initial-server-setup-with-debian-10\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/initial-server-setup-with-debian-10\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/06\\\/25203914\\\/deb10.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/06\\\/25203914\\\/deb10.jpg\",\"width\":1793,\"height\":1110},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/initial-server-setup-with-debian-10\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0622\u0645\u0648\u0632\u0634\u06cc\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/category\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0633\u0631\u0648\u0631 \u0628\u0627 Debian 10\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"name\":\"\u0628\u0644\u0627\u06af ITPiran\",\"description\":\"\u0627\u062e\u0628\u0627\u0631 \u0648 \u0645\u0642\u0627\u0644\u0627\u062a \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\",\"name\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"alternateName\":\"ITPIran Blog\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"width\":512,\"height\":512,\"caption\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\",\"name\":\"admin\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/en\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Initial Server Setup with Debian 10 - ITPiran Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.itpiran.net\/blog\/en\/tutorials\/initial-server-setup-with-debian-10\/","og_locale":"en_US","og_type":"article","og_title":"\u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0633\u0631\u0648\u0631 \u0628\u0627 Debian 10 - \u0628\u0644\u0627\u06af ITPiran","og_description":"\u0645\u0642\u062f\u0645\u0647 \u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0627\u0648\u0644\u06cc\u0646 \u0628\u0627\u0631 \u06cc\u06a9 \u0633\u0631\u0648\u0631 Debian 10 \u062c\u062f\u06cc\u062f \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0686\u0646\u062f \u0645\u0631\u062d\u0644\u0647 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0648\u062c\u0648\u062f&hellip;","og_url":"https:\/\/www.itpiran.net\/blog\/en\/tutorials\/initial-server-setup-with-debian-10\/","og_site_name":"\u0628\u0644\u0627\u06af ITPiran","article_published_time":"2024-06-25T17:24:59+00:00","og_image":[{"width":1793,"height":1110,"url":"https:\/\/cdn.itpiran.net\/2024\/06\/25203914\/deb10.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/initial-server-setup-with-debian-10\/#article","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/initial-server-setup-with-debian-10\/"},"author":{"name":"admin","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81"},"headline":"\u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0633\u0631\u0648\u0631 \u0628\u0627 Debian 10","datePublished":"2024-06-25T17:24:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/initial-server-setup-with-debian-10\/"},"wordCount":72,"commentCount":0,"publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/initial-server-setup-with-debian-10\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/06\/25203914\/deb10.jpg","keywords":["Debian"],"articleSection":["\u0622\u0645\u0648\u0632\u0634\u06cc"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/initial-server-setup-with-debian-10\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/initial-server-setup-with-debian-10\/","url":"https:\/\/www.itpiran.net\/blog\/tutorials\/initial-server-setup-with-debian-10\/","name":"Initial Server Setup with Debian 10 - ITPiran Blog","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/initial-server-setup-with-debian-10\/#primaryimage"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/initial-server-setup-with-debian-10\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/06\/25203914\/deb10.jpg","datePublished":"2024-06-25T17:24:59+00:00","breadcrumb":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/initial-server-setup-with-debian-10\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/initial-server-setup-with-debian-10\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/initial-server-setup-with-debian-10\/#primaryimage","url":"https:\/\/cdn.itpiran.net\/2024\/06\/25203914\/deb10.jpg","contentUrl":"https:\/\/cdn.itpiran.net\/2024\/06\/25203914\/deb10.jpg","width":1793,"height":1110},{"@type":"BreadcrumbList","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/initial-server-setup-with-debian-10\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.itpiran.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0622\u0645\u0648\u0632\u0634\u06cc","item":"https:\/\/www.itpiran.net\/blog\/category\/tutorials\/"},{"@type":"ListItem","position":3,"name":"\u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0633\u0631\u0648\u0631 \u0628\u0627 Debian 10"}]},{"@type":"WebSite","@id":"https:\/\/www.itpiran.net\/blog\/#website","url":"https:\/\/www.itpiran.net\/blog\/","name":"ITPiran Blog","description":"Iranian Sustainable Trade News and Articles","publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.itpiran.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.itpiran.net\/blog\/#organization","name":"Sustainable Iranian Business Blog","alternateName":"ITPIran Blog","url":"https:\/\/www.itpiran.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","contentUrl":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","width":512,"height":512,"caption":"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81","name":"admin","url":"https:\/\/www.itpiran.net\/blog\/en\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/posts\/15767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/comments?post=15767"}],"version-history":[{"count":1,"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/posts\/15767\/revisions"}],"predecessor-version":[{"id":15768,"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/posts\/15767\/revisions\/15768"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/media\/15769"}],"wp:attachment":[{"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/media?parent=15767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/categories?post=15767"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/tags?post=15767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}