{"id":2428,"date":"2024-05-27T10:58:12","date_gmt":"2024-05-27T07:28:12","guid":{"rendered":"https:\/\/hamravesh.com\/blog\/?p=2428"},"modified":"2024-05-27T10:58:13","modified_gmt":"2024-05-27T07:28:13","slug":"install-postgrsql-ubuntu","status":"publish","type":"post","link":"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/","title":{"rendered":"\u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 PostgreSQL \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 Ubuntu\u00a0"},"content":{"rendered":"\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0631\u0627\u0647\u0646\u0645\u0627 \u0646\u0634\u0627\u0646 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u06cc\u062f \u06a9\u0647 \u0686\u06af\u0648\u0646\u0647 \u0628\u0647\u200c\u0633\u0631\u0639\u062a \u067e\u0633\u062a\u06af\u0631\u0633 \u0631\u0627 \u0631\u0648\u06cc \u06cc\u06a9 \u0633\u0631\u0648\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f0.\u06f0\u06f4 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u0645. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0627\u0632 \u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633\u200c\u0627\u0633\u06a9\u06cc\u0648\u0627\u0644 \u06af\u0631\u0641\u062a\u0647 \u062a\u0627 \u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u0648 \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u062f\u0627\u062f\u0647 \u062c\u062f\u06cc\u062f \u0631\u0627 \u0645\u0631\u0648\u0631 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f.<\/p>\n\n\n\n<p>\u00ab\u067e\u0633\u062a\u06af\u0631\u0633\u200c\u0627\u0633\u200c\u06a9\u06cc\u0648\u0627\u0644\u00bb (PostgreSQL) \u06cc\u0627 \u00ab<a href=\"https:\/\/hamravesh.com\/blog\/what-is-postgresql\/\">\u067e\u0633\u062a\u06af\u0631\u0633<\/a>\u00bb (Postgres)\u060c \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0645\u062f\u06cc\u0631\u06cc\u062a \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u062f\u0627\u062f\u0647 \u0631\u0627\u0628\u0637\u0647\u200c\u0627\u06cc \u0627\u0633\u062a \u06a9\u0647 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc\u200c\u0627\u06cc \u0627\u0632 \u0632\u0628\u0627\u0646 \u06a9\u0648\u0626\u0631\u06cc \u00ab\u0627\u0633\u200c\u06a9\u06cc\u0648\u200c\u0627\u0644\u00bb (SQL) \u0645\u062d\u0633\u0648\u0628 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n\n\n\n<p> \u067e\u0633\u062a\u06af\u0631\u0633 \u0645\u0646\u0637\u0628\u0642 \u0628\u0627 \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f\u0647\u0627\u0633\u062a \u0648 \u062f\u0627\u0631\u0627\u06cc \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u067e\u06cc\u0634\u0631\u0641\u062a\u0647\u200c\u0627\u06cc \u0645\u062b\u0644 \u062a\u0631\u0627\u06a9\u0646\u0634\u200c\u0647\u0627\u06cc \u0645\u0639\u062a\u0628\u0631 \u0648 \u00ab\u0647\u0645\u0631\u0648\u0646\u062f\u06cc\u00bb (\u0627\u062c\u0631\u0627\u06cc \u0686\u0646\u062f \u0639\u0645\u0644 \u0647\u0645 \u0632\u0645\u0627\u0646 | Concurrency) \u0628\u062f\u0648\u0646 \u00ab\u0642\u0641\u0644 \u062e\u0648\u0627\u0646\u062f\u0646\u00bb (Read Lock) \u0627\u0633\u062a.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u067e\u06cc\u0634-\u0646\u06cc\u0627\u0632\u0647\u0627\u06cc-\u0646\u0635\u0628-\u067e\u0633\u062a\u06af\u0631\u0633-\u062f\u0631-\u0627\u0648\u0628\u0648\u0646\u062a\u0648-\u06f2\u06f0-\u06f0\u06f4\">\u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632\u0647\u0627\u06cc \u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f0.\u06f0\u06f4<\/h2>\n\n\n\n<p>\u0628\u0631\u0627\u06cc \u067e\u06cc\u0631\u0648\u06cc \u0627\u0632 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634\u060c \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc\u060c \u0646\u0635\u0628 \u0648 \u0627\u0646\u062c\u0627\u0645 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0627\u0648\u0644\u06cc\u0647 \u06cc\u06a9 \u0633\u0631\u0648\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f0.\u06f0\u06f4 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u0645\u0646\u0638\u0648\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646 \u0631\u0627\u0647\u0646\u0645\u0627 [<a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/initial-server-setup-with-ubuntu-20-04\">+<\/a>] \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u067e\u0633 \u0627\u0632 \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u0645\u0648\u0627\u0631\u062f \u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632\u060c \u0633\u0631\u0648\u0631 \u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u063a\u06cc\u0631 root \u0628\u0627 \u0645\u062c\u0648\u0632\u0647\u0627\u06cc sudo \u0648 \u06cc\u06a9 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u067e\u0627\u06cc\u0647\u200c\u0627\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u06af\u0627\u0645-\u0627\u0648\u0644-\u0646\u0635\u0628-\u067e\u0633\u062a\u06af\u0631\u0633-postgresql-\u0631\u0648\u06cc-\u0633\u0631\u0648\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0627\u0648\u0628\u0648\u0646\u062a\u0648-\u06f2\u06f0-\u06f0\u06f4\">\u06af\u0627\u0645 \u0627\u0648\u0644: \u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 PostgreSQL \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f0.\u06f0\u06f4<\/h2>\n\n\n\n<p>\u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633\u200c\u0627\u0633\u06a9\u06cc\u0648\u0627\u0644\u060c \u0627\u0628\u062a\u062f\u0627 \u0641\u0647\u0631\u0633\u062a \u0628\u0633\u062a\u0647\u200c\u0647\u0627\u06cc \u0645\u062d\u0644\u06cc \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0631\u0627 \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update<\/code><\/pre>\n\n\n\n<p>\u0633\u067e\u0633\u060c \u0628\u0633\u062a\u0647 \u067e\u0633\u062a\u06af\u0631\u0633 \u0631\u0627 \u0647\u0645\u0631\u0627\u0647 \u0628\u0627 \u0628\u0633\u062a\u0647 <code>\u200e-contrib\u200e<\/code> \u06a9\u0647 \u0628\u0631\u062e\u06cc \u0627\u0628\u0632\u0627\u0631\u0647\u0627 \u0648 \u0642\u0627\u0628\u0644\u06cc\u062a\u200c\u0647\u0627\u06cc \u0627\u0636\u0627\u0641\u06cc \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install postgresql postgresql-contrib<\/code><\/pre>\n\n\n\n<p>\u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u062d\u0627\u0635\u0644 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0633\u0631\u0648\u06cc\u0633 \u0627\u0633\u062a\u0627\u0631\u062a \u062e\u0648\u0631\u062f\u0647 \u0627\u0633\u062a:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl start postgresql.service<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u06af\u0627\u0645-\u062f\u0648\u0645-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-role\u0647\u0627-\u0648-\u062f\u06cc\u062a\u0627\u0628\u06cc\u0633-\u0647\u0627\u06cc-\u067e\u0633\u062a\u06af\u0631\u0633\">\u06af\u0627\u0645 \u062f\u0648\u0645: \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Role\u0647\u0627 \u0648 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633\u200c\u0647\u0627\u06cc \u067e\u0633\u062a\u06af\u0631\u0633<\/h2>\n\n\n\n<p>\u067e\u0633\u062a\u06af\u0631\u0633 (PostgreSQL) \u0628\u0647\u200c\u0637\u0648\u0631 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0627\u0632 \u0645\u0641\u0647\u0648\u0645\u06cc \u0628\u0647 \u0646\u0627\u0645 \u00abRole\u0647\u0627\u00bb (\u0646\u0642\u0634\u200c\u0647\u0627) \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0648 \u06a9\u0646\u062a\u0631\u0644 \u062f\u0633\u062a\u0631\u0633\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f. Role\u0647\u0627 \u062a\u0627 \u062d\u062f\u0648\u062f\u06cc \u0634\u0628\u06cc\u0647 \u0628\u0647 \u0647\u0645\u0627\u0646 \u0645\u0641\u0647\u0648\u0645 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0648 \u06af\u0631\u0648\u0647\u200c\u0647\u0627 \u062f\u0631 \u0633\u06cc\u0633\u062a\u0645\u200c\u0639\u0627\u0645\u0644\u200c\u0647\u0627\u06cc \u06cc\u0648\u0646\u06cc\u06a9\u0633 \u0647\u0633\u062a\u0646\u062f.<br><br>\u062f\u0631 \u0647\u0646\u06af\u0627\u0645 \u0646\u0635\u0628\u060c \u067e\u0633\u062a\u06af\u0631\u0633 \u0628\u0647 \u06af\u0648\u0646\u0647\u200c\u0627\u06cc \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0627\u0632 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u00abident\u00bb \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u062f. \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0639\u0646\u0627 \u06a9\u0647 Role\u0647\u0627\u06cc \u067e\u0633\u062a\u06af\u0631\u0633 \u0631\u0627 \u0628\u0627 \u062d\u0633\u0627\u0628\u200c\u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u06cc\u0648\u0646\u06cc\u06a9\u0633\/\u0644\u06cc\u0646\u0648\u06a9\u0633 \u0645\u0637\u0627\u0628\u0642\u062a \u0645\u06cc\u200c\u062f\u0647\u062f. \u0627\u06af\u0631 Role\u06cc \u062f\u0631 \u067e\u0633\u062a\u06af\u0631\u0633 \u0648\u062c\u0648\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f\u060c \u06cc\u06a9 \u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc \u06cc\u0648\u0646\u06cc\u06a9\u0633\/\u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0627 \u0647\u0645\u0627\u0646 \u0646\u0627\u0645 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0628\u0627 \u0622\u0646 Role \u0648\u0627\u0631\u062f (Sign In) \u0634\u0648\u062f.<\/p>\n\n\n\n<p>\u0647\u0646\u06af\u0627\u0645 \u0646\u0635\u0628\u060c \u06cc\u06a9 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0628\u0647 \u0646\u0627\u0645 \u067e\u0633\u062a\u06af\u0631\u0633 \u0627\u06cc\u062c\u0627\u062f \u0634\u062f \u06a9\u0647 \u0628\u0627 \u0646\u0642\u0634 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u067e\u0633\u062a\u06af\u0631\u0633 \u0645\u0631\u062a\u0628\u0637 \u0627\u0633\u062a. \u0686\u0646\u062f \u0631\u0648\u0634 \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u062d\u0633\u0627\u0628 \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u067e\u0633\u062a\u06af\u0631\u0633 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f. \u06cc\u06a9\u06cc \u0627\u0632 \u0631\u0648\u0634\u200c\u0647\u0627 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631\u060c \u0628\u0647 \u062d\u0633\u0627\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 \u062f\u0631 \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0645\u0646\u062a\u0642\u0644 \u0634\u0648\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -i -u postgres<\/code><\/pre>\n\n\n\n<p>\u0633\u067e\u0633 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0628\u0647 \u067e\u0631\u0627\u0645\u067e\u062a \u067e\u0633\u062a\u06af\u0631\u0633 \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>psql<\/code><\/pre>\n\n\n\n<p>\u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0634\u0645\u0627 \u0631\u0627 \u0628\u0647 \u067e\u0631\u0627\u0645\u067e\u062a \u067e\u0633\u062a\u06af\u0631\u0633 \u0648\u0627\u0631\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0627\u0632 \u0627\u06cc\u0646 \u067e\u0633 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0644\u0627\u0641\u0627\u0635\u0644\u0647 \u0628\u0627 \u0633\u06cc\u0633\u062a\u0645 \u0645\u062f\u06cc\u0631\u06cc\u062a \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u062a\u0639\u0627\u0645\u0644 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f. \u0628\u0631\u0627\u06cc \u062e\u0631\u0648\u062c \u0627\u0632 \u067e\u0631\u0627\u0645\u067e\u062a \u067e\u0633\u062a\u06af\u0631\u0633\u060c \u062f\u0633\u062a\u0648\u0631 <code>\\q<\/code> \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f. \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0634\u0645\u0627 \u0631\u0627 \u0628\u0647 \u067e\u0631\u0627\u0645\u067e\u062a \u0644\u06cc\u0646\u0648\u06a9\u0633 \u062d\u0633\u0627\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 \u0628\u0627\u0632 \u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f. \u0628\u0631\u0627\u06cc \u0628\u0627\u0632\u06af\u0634\u062a \u0628\u0647 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0645\u0639\u0645\u0648\u0644 \u062e\u0648\u062f\u060c \u062f\u0633\u062a\u0648\u0631 <code>exit<\/code> \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n\n<p>\u0631\u0648\u0634 \u062f\u06cc\u06af\u0631 \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u067e\u0631\u0627\u0645\u067e\u062a \u067e\u0633\u062a\u06af\u0631\u0633\u060c \u0627\u062c\u0631\u0627\u06cc \u0645\u0633\u062a\u0642\u06cc\u0645 \u062f\u0633\u062a\u0648\u0631 psql \u0628\u0627 \u062d\u0633\u0627\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0633\u0648\u062f\u0648 \u0627\u0633\u062a:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -u postgres psql<\/code><\/pre>\n\n\n\n<p>\u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0634\u0645\u0627 \u0631\u0627 \u0628\u062f\u0648\u0646 \u0645\u0631\u062d\u0644\u0647 \u0645\u06cc\u0627\u0646\u06cc \u0634\u0644 bash\u060c \u0645\u0633\u062a\u0642\u06cc\u0645\u0627\u064b \u0628\u0647 \u067e\u0633\u062a\u06af\u0631\u0633 \u0648\u0627\u0631\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f. \u062f\u0648\u0628\u0627\u0631\u0647\u060c \u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 <code>\\q<\/code> \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u062c\u0644\u0633\u0647 \u062a\u0639\u0627\u0645\u0644\u06cc \u067e\u0633\u062a\u06af\u0631\u0633 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"380\" src=\"https:\/\/blog.hamravesh.com\/blog\/wp-content\/uploads\/2024\/05\/Install-Postgresql-on-ubuntu-1024x380.png\" alt=\"\u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 PostgreSQL \u062f\u0631 \u0627\u0628\u0648\u0646\u062a\u0648 Ubuntu\u00a0\" class=\"wp-image-2743\" srcset=\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/05\/Install-Postgresql-on-ubuntu-1024x380.png 1024w, https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/05\/Install-Postgresql-on-ubuntu-300x111.png 300w, https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/05\/Install-Postgresql-on-ubuntu-768x285.png 768w, https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/05\/Install-Postgresql-on-ubuntu.png 1078w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u06af\u0627\u0645-\u0633\u0648\u0645-\u0627\u06cc\u062c\u0627\u062f-role-\u062c\u062f\u06cc\u062f\">\u06af\u0627\u0645 \u0633\u0648\u0645: \u0627\u06cc\u062c\u0627\u062f Role \u062c\u062f\u06cc\u062f<\/h2>\n\n\n\n<p>\u0627\u06af\u0631 \u0628\u0627 \u062d\u0633\u0627\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 \u0648\u0627\u0631\u062f \u0634\u062f\u0647\u200c\u0627\u06cc\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u06cc\u06a9 \u0646\u0642\u0634 \u062c\u062f\u06cc\u062f \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>createuser --interactive<\/code><\/pre>\n\n\n\n<p>\u0627\u06af\u0631 \u062a\u0631\u062c\u06cc\u062d \u0645\u06cc\u200c\u062f\u0647\u06cc\u062f \u0628\u062f\u0648\u0646 \u062a\u063a\u06cc\u06cc\u0631 \u062d\u0633\u0627\u0628\u060c \u0627\u0632 <code>sudo<\/code> \u0628\u0631\u0627\u06cc \u0647\u0631 \u062f\u0633\u062a\u0648\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f\u060c \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -u postgres createuser --interactive<\/code><\/pre>\n\n\n\n<p>\u062f\u0631 \u0647\u0631 \u0635\u0648\u0631\u062a\u060c \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0628\u0631\u062e\u06cc \u06af\u0632\u06cc\u0646\u0647\u200c\u0647\u0627 \u0631\u0627 \u0627\u0632 \u0634\u0645\u0627 \u0645\u06cc\u200c\u067e\u0631\u0633\u062f \u0648 \u0628\u0631 \u0627\u0633\u0627\u0633 \u067e\u0627\u0633\u062e\u200c\u0647\u0627\u06cc\u062a\u0627\u0646\u060c \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u067e\u0633\u062a\u06af\u0631\u0633 \u0645\u0646\u0627\u0633\u0628 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u0628\u0627 \u0645\u0634\u062e\u0635\u0627\u062a \u062f\u0644\u062e\u0648\u0627\u0647\u062a\u0627\u0646 \u0627\u062c\u0631\u0627 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u062e\u0631\u0648\u062c\u06cc:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Enter name of role to add: sammy\nShall the new role be a superuser? (y\/n) y<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u06af\u0627\u0645-\u0686\u0647\u0627\u0631\u0645-\u0633\u0627\u062e\u062a-\u062f\u06cc\u062a\u0627\u0628\u06cc\u0633-\u062c\u062f\u06cc\u062f\">\u06af\u0627\u0645 \u0686\u0647\u0627\u0631\u0645: \u0633\u0627\u062e\u062a \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u062c\u062f\u06cc\u062f<\/h2>\n\n\n\n<p>\u06cc\u06a9\u06cc \u062f\u06cc\u06af\u0631 \u0627\u0632 \u067e\u06cc\u0634 \u0641\u0631\u0636 \u0647\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u067e\u0633\u062a\u06af\u0631\u0633 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0647\u0631 Role\u06cc \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0648\u0631\u0648\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f\u060c \u0622\u0646 Role \u0628\u0647 \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u062f\u0627\u062f\u0647\u200c\u0627\u06cc \u0628\u0627 \u0647\u0645\u0627\u0646 \u0646\u0627\u0645 \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0628\u0647 \u0622\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f\u060c \u0645\u062a\u0635\u0644 \u062e\u0648\u0627\u0647\u062f \u0634\u062f. \u0627\u06cc\u0646 \u0628\u062f\u0627\u0646 \u0645\u0639\u0646\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0627\u06af\u0631 \u06a9\u0627\u0631\u0628\u0631\u06cc \u06a9\u0647 \u062f\u0631 \u0628\u062e\u0634 \u0642\u0628\u0644 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u06cc\u062f sammy \u0646\u0627\u0645 \u062f\u0627\u0631\u062f\u060c \u0628\u0647\u200c\u0637\u0648\u0631 \u067e\u06cc\u0634 \u0641\u0631\u0636 \u0622\u0646 Role \u0633\u0639\u06cc \u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f \u0628\u0647 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647\u200c\u0627\u06cc \u0628\u0647 \u0646\u0627\u0645 \u00absammy\u00bb \u0646\u06cc\u0632 \u0645\u062a\u0635\u0644 \u0634\u0648\u062f. \u0634\u0645\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0645\u0646\u0627\u0633\u0628 \u0631\u0627 \u0628\u0627 \u062f\u0633\u062a\u0648\u0631 <code>createdb<\/code> \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n\n<p>\u0627\u06af\u0631 \u0628\u0627 \u062d\u0633\u0627\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 \u0648\u0627\u0631\u062f \u0634\u062f\u0647\u200c\u0627\u06cc\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0633\u062a\u0648\u0631\u06cc \u0645\u0627\u0646\u0646\u062f \u0627\u06cc\u0646 \u0631\u0627 \u062a\u0627\u06cc\u067e \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>createdb sammy<\/code><\/pre>\n\n\n\n<p>\u0627\u06af\u0631 \u062a\u0631\u062c\u06cc\u062d \u0645\u06cc\u200c\u062f\u0647\u06cc\u062f \u0628\u062f\u0648\u0646 \u062a\u063a\u06cc\u06cc\u0631 \u062d\u0633\u0627\u0628\u060c \u0627\u0632 <code>sudo<\/code> \u0628\u0631\u0627\u06cc \u0647\u0631 \u062f\u0633\u062a\u0648\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0628\u0627\u06cc\u062f \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -u postgres createdb sammy<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u06af\u0627\u0645-\u067e\u0646\u062c\u0645-\u0628\u0627\u0632-\u06a9\u0631\u062f\u0646-\u067e\u0631\u0627\u0645\u067e\u062a-\u067e\u0633\u062a\u06af\u0631\u0633-\u0628\u0627-role-\u062c\u062f\u06cc\u062f\">\u06af\u0627\u0645 \u067e\u0646\u062c\u0645: \u0628\u0627\u0632 \u06a9\u0631\u062f\u0646 \u067e\u0631\u0627\u0645\u067e\u062a \u067e\u0633\u062a\u06af\u0631\u0633 \u0628\u0627 Role \u062c\u062f\u06cc\u062f<\/h2>\n\n\n\n<p>\u0628\u0631\u0627\u06cc \u0648\u0631\u0648\u062f \u0628\u0627 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 ident\u060c \u0628\u0647 \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0627 \u0647\u0645\u0627\u0646 \u0646\u0627\u0645 Role \u0648 \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u062f\u0627\u062f\u0647 \u067e\u0633\u062a\u06af\u0631\u0633 \u062e\u0648\u062f \u0646\u06cc\u0627\u0632 \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0627\u0634\u062a. \u0627\u06af\u0631 \u06a9\u0627\u0631\u0628\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0645\u0637\u0627\u0628\u0642\u06cc \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0646\u062f\u0627\u0631\u06cc\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0627 \u062f\u0633\u062a\u0648\u0631 <code>adduser<\/code> \u0622\u0646 \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f. \u0628\u0627\u06cc\u062f \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0627\u0632 \u062d\u0633\u0627\u0628 \u063a\u06cc\u0631 root\u200c \u0628\u0627 \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u0633\u0648\u062f\u0648 (\u06cc\u0639\u0646\u06cc \u0628\u062f\u0648\u0646 \u0648\u0631\u0648\u062f \u0628\u0647 \u062d\u0633\u0627\u0628 \u067e\u0633\u062a\u06af\u0631\u0633) \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo adduser sammy<\/code><\/pre>\n\n\n\n<p>\u067e\u0633 \u0627\u0632 \u0627\u06cc\u0646\u06a9\u0647 \u0627\u06cc\u0646 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc \u062c\u062f\u06cc\u062f \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0627\u0646\u062c\u0627\u0645 \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0628\u0647 \u0622\u0646 \u0633\u0648\u0626\u06cc\u0686 \u06a9\u0646\u06cc\u062f \u0648 \u0628\u0647 \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u062f\u0627\u062f\u0647 \u0645\u062a\u0635\u0644 \u0634\u0648\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -i -u sammy\npsql<\/code><\/pre>\n\n\n\n<p>\u06cc\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u062f\u0631 \u06cc\u06a9 \u062e\u0637 \u0627\u06cc\u0646\u06af\u0648\u0646\u0647 \u0627\u0646\u062c\u0627\u0645 \u062f\u0627\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -u sammy psql<\/code><\/pre>\n\n\n\n<p>\u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0628\u0627 \u0641\u0631\u0636 \u0627\u06cc\u0646\u06a9\u0647 \u062a\u0645\u0627\u0645 \u0627\u062c\u0632\u0627 \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0634\u062f\u0647 \u0628\u0627\u0634\u0646\u062f\u060c \u0634\u0645\u0627 \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0644\u0627\u06af\u06cc\u0646 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0627\u06af\u0631 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0627\u0631\u0628\u0631 \u0634\u0645\u0627 \u0628\u0647 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u062f\u06cc\u06af\u0631\u06cc \u0645\u062a\u0635\u0644 \u0634\u0648\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>psql -d postgres<\/code><\/pre>\n\n\n\n<p>\u067e\u0633 \u0627\u0632 \u0644\u0627\u06af\u06cc\u0646 \u0634\u062f\u0646\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 <code>\\conninfo<\/code> \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0627\u062a\u0635\u0627\u0644 \u0641\u0639\u0644\u06cc \u062e\u0648\u062f \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f. \u062e\u0631\u0648\u062c\u06cc:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>You are connected to database \"sammy\" as user \"sammy\" via socket in \"\/var\/run\/postgresql\" at port \"5432\".<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u062c\u0645\u0639-\u0628\u0646\u062f\u06cc\">\u062c\u0645\u0639\u200c\u0628\u0646\u062f\u06cc<\/h2>\n\n\n\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628\u060c \u0646\u062d\u0648\u0647 \u0646\u0635\u0628 \u0648 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0633\u0631\u06cc\u0639 PostgreSQL \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f0.\u06f0\u06f4\u060c \u0627\u0632 \u062c\u0645\u0644\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u0648 \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u062f\u0627\u062f\u0647 \u062c\u062f\u06cc\u062f \u0622\u0645\u0648\u0632\u0634 \u062f\u0627\u062f\u0647 \u0634\u062f. \u067e\u0633\u062a\u06af\u0631\u0633 \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0645\u062f\u06cc\u0631\u06cc\u062a \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u062f\u0627\u062f\u0647 \u0631\u0627\u0628\u0637\u0647\u200c\u0627\u06cc \u0627\u0633\u062a \u06a9\u0647 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0627\u0632 \u0632\u0628\u0627\u0646 \u067e\u0631\u0633\u200c\u0648\u062c\u0648\u06cc SQL \u0631\u0627 \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc\u200c\u062f\u0647\u062f. \u0627\u06cc\u0646 \u0633\u06cc\u0633\u062a\u0645 \u062f\u0627\u0631\u0627\u06cc \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u067e\u06cc\u0634\u0631\u0641\u062a\u0647\u200c\u0627\u06cc \u0645\u0627\u0646\u0646\u062f \u062a\u0631\u0627\u06a9\u0646\u0634\u200c\u0647\u0627\u06cc \u0642\u0627\u0628\u0644 \u0627\u0639\u062a\u0645\u0627\u062f \u0648 \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u0628\u062f\u0648\u0646 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0642\u0641\u0644 \u062e\u0648\u0627\u0646\u062f\u0646 \u0627\u0633\u062a. \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u067e\u0633\u062a\u06af\u0631\u0633\u060c \u0627\u0628\u062a\u062f\u0627 \u0628\u0627\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0646\u0635\u0628 \u0648 \u0633\u067e\u0633 \u0628\u0627 \u0627\u06cc\u062c\u0627\u062f \u00ab\u0646\u0642\u0634\u200c\u0647\u0627\u00bb (Role) \u0648 \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u062f\u0627\u062f\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0647 \u0622\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u062f\u0631 \u0627\u06cc\u0646 \u0631\u0627\u0647\u0646\u0645\u0627 \u0646\u0634\u0627\u0646 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u06cc\u062f \u06a9\u0647 \u0686\u06af\u0648\u0646\u0647 \u0628\u0647\u200c\u0633\u0631\u0639\u062a \u067e\u0633\u062a\u06af\u0631\u0633 \u0631\u0627 \u0631\u0648\u06cc \u06cc\u06a9 \u0633\u0631\u0648\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06f2\u06f0.\u06f0\u06f4 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u0645. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0627\u0632 \u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633\u200c\u0627\u0633\u06a9\u06cc\u0648\u0627\u0644 \u06af\u0631\u0641\u062a\u0647 \u062a\u0627 \u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u0648 \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u062f\u0627\u062f\u0647 \u062c\u062f\u06cc\u062f \u0631\u0627 \u0645\u0631\u0648\u0631 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f. \u00ab\u067e\u0633\u062a\u06af\u0631\u0633\u200c\u0627\u0633\u200c\u06a9\u06cc\u0648\u0627\u0644\u00bb (PostgreSQL) \u06cc\u0627 \u00ab\u067e\u0633\u062a\u06af\u0631\u0633\u00bb (Postgres)\u060c \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0645\u062f\u06cc\u0631\u06cc\u062a \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u062f\u0627\u062f\u0647 \u0631\u0627\u0628\u0637\u0647\u200c\u0627\u06cc \u0627\u0633\u062a \u06a9\u0647 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc\u200c\u0627\u06cc \u0627\u0632 \u0632\u0628\u0627\u0646 \u06a9\u0648\u0626\u0631\u06cc \u00ab\u0627\u0633\u200c\u06a9\u06cc\u0648\u200c\u0627\u0644\u00bb (SQL) \u0645\u062d\u0633\u0648\u0628 [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":2916,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64,1,58],"tags":[],"coauthors":[],"class_list":["post-2428","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database","category-articles","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.2 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>\u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 PostgreSQL \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 Ubuntu\u00a0 - \u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634<\/title>\n<meta name=\"description\" content=\"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0633\u0631\u06cc\u0639 \u067e\u0633\u062a\u06af\u0631\u0633 \u0627\u0633\u06a9\u06cc\u0648\u0627\u0644 \u0628\u0631 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 20.04 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u0648 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u062c\u062f\u06cc\u062f \u0648 \u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0645\u0641\u0647\u0648\u0645 \u0646\u0642\u0634\u200c\u0647\u0627.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 PostgreSQL \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 Ubuntu\u00a0\" \/>\n<meta property=\"og:description\" content=\"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0633\u0631\u06cc\u0639 \u067e\u0633\u062a\u06af\u0631\u0633 \u0627\u0633\u06a9\u06cc\u0648\u0627\u0644 \u0628\u0631 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 20.04 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u0648 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u062c\u062f\u06cc\u062f \u0648 \u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0645\u0641\u0647\u0648\u0645 \u0646\u0642\u0634\u200c\u0647\u0627.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-27T07:28:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-27T07:28:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/05\/install_postgresql_on_ubuntu.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"\u0628\u0627\u0628\u06a9 \u062e\u0648\u0634\u200c\u0646\u0648\u06cc\u0633\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u062a\u0648\u0633\u0637\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0628\u0627\u0628\u06a9 \u062e\u0648\u0634\u200c\u0646\u0648\u06cc\u0633\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u062e\u0645\u06cc\u0646\u06cc \u0645\u0637\u0627\u0644\u0639\u0647\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u062f\u0642\u06cc\u0642\u0647\" \/>\n\t<meta name=\"twitter:label3\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data3\" content=\"\u0628\u0627\u0628\u06a9 \u062e\u0648\u0634\u200c\u0646\u0648\u06cc\u0633\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/\"},\"author\":{\"name\":\"\u0628\u0627\u0628\u06a9 \u062e\u0648\u0634\u200c\u0646\u0648\u06cc\u0633\",\"@id\":\"https:\/\/hamravesh.com\/blog\/#\/schema\/person\/2d9c875db813a45067ea2a02cdf00dbe\"},\"headline\":\"\u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 PostgreSQL \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 Ubuntu\u00a0\",\"datePublished\":\"2024-05-27T07:28:12+00:00\",\"dateModified\":\"2024-05-27T07:28:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/\"},\"wordCount\":36,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/05\/install_postgresql_on_ubuntu.webp\",\"articleSection\":[\"\u062f\u06cc\u062a\u0627\u0628\u06cc\u0633\",\"\u0645\u0642\u0627\u0644\u0627\u062a\",\"\u0644\u06cc\u0646\u0648\u06a9\u0633\"],\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/\",\"url\":\"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/\",\"name\":\"\u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 PostgreSQL \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 Ubuntu\u00a0 - \u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634\",\"isPartOf\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/05\/install_postgresql_on_ubuntu.webp\",\"datePublished\":\"2024-05-27T07:28:12+00:00\",\"dateModified\":\"2024-05-27T07:28:13+00:00\",\"description\":\"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0633\u0631\u06cc\u0639 \u067e\u0633\u062a\u06af\u0631\u0633 \u0627\u0633\u06a9\u06cc\u0648\u0627\u0644 \u0628\u0631 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 20.04 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u0648 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u062c\u062f\u06cc\u062f \u0648 \u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0645\u0641\u0647\u0648\u0645 \u0646\u0642\u0634\u200c\u0647\u0627.\",\"breadcrumb\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#primaryimage\",\"url\":\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/05\/install_postgresql_on_ubuntu.webp\",\"contentUrl\":\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/05\/install_postgresql_on_ubuntu.webp\",\"width\":1024,\"height\":1024,\"caption\":\"\u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0647 \u0628\u0631 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0645\u062c\u0644\u0647 \u0647\u0645\u200c\u0631\u0648\u0634\",\"item\":\"https:\/\/hamravesh.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 PostgreSQL \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 Ubuntu\u00a0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hamravesh.com\/blog\/#website\",\"url\":\"https:\/\/hamravesh.com\/blog\/\",\"name\":\"\u0648\u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634\",\"description\":\"\u0628\u0644\u0627\u06af \u0631\u0633\u0645\u06cc \u0647\u0645\u200c\u0631\u0648\u0634\",\"publisher\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hamravesh.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hamravesh.com\/blog\/#organization\",\"name\":\"\u0647\u0645\u200c\u0631\u0648\u0634\",\"url\":\"https:\/\/hamravesh.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/hamravesh.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2026\/03\/logo.svg\",\"contentUrl\":\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2026\/03\/logo.svg\",\"width\":1,\"height\":1,\"caption\":\"\u0647\u0645\u200c\u0631\u0648\u0634\"},\"image\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/hamravesh.com\/blog\/#\/schema\/person\/2d9c875db813a45067ea2a02cdf00dbe\",\"name\":\"\u0628\u0627\u0628\u06a9 \u062e\u0648\u0634\u200c\u0646\u0648\u06cc\u0633\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/hamravesh.com\/blog\/#\/schema\/person\/image\/7427966303d3210eac022494292bce1a\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ec3d676c8f6ffe607a491ddf0433359f368f618002208ee7c1a6c2ec70002fc8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ec3d676c8f6ffe607a491ddf0433359f368f618002208ee7c1a6c2ec70002fc8?s=96&d=mm&r=g\",\"caption\":\"\u0628\u0627\u0628\u06a9 \u062e\u0648\u0634\u200c\u0646\u0648\u06cc\u0633\"},\"description\":\"\u0645\u062a\u062e\u0635\u0635 \u0641\u0646\u0627\u0648\u0631\u06cc \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u0627 \u062a\u062c\u0631\u0628\u0647 \u062f\u0631 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0641\u0646\u06cc\u060c \u0634\u0628\u06a9\u0647 \u0648 \u062a\u062d\u0642\u06cc\u0642\u0627\u062a \u0639\u0644\u0645\u06cc. \u0645\u0647\u0627\u0631\u062a \u062f\u0631 DevOps\u060c \u0644\u06cc\u0646\u0648\u06a9\u0633\u060c \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0648 \u062d\u0644 \u0645\u0633\u0626\u0644\u0647. \u0639\u0634\u0642 \u0628\u0647 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0645\u0633\u062a\u0645\u0631 \u0648 \u0628\u0647\u200c\u06a9\u0627\u0631\u06af\u06cc\u0631\u06cc \u0641\u0646\u0627\u0648\u0631\u06cc\u200c\u0647\u0627\u06cc \u0646\u0648\u0638\u0647\u0648\u0631 \u0628\u0631\u0627\u06cc \u062a\u0633\u0647\u06cc\u0644 \u0641\u0631\u0627\u06cc\u0646\u062f\u0647\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631. \u0645\u062a\u0639\u0647\u062f \u0628\u0647 \u0627\u0631\u0627\u0626\u0647 \u0631\u0627\u0647\u200c\u062d\u0644\u200c\u0647\u0627\u06cc \u0646\u0648\u0622\u0648\u0631\u0627\u0646\u0647 \u062f\u0631 \u0645\u062d\u06cc\u0637\u06cc \u067e\u0648\u06cc\u0627 \u0648 \u067e\u0631\u0634\u062a\u0627\u0628.\",\"url\":\"https:\/\/hamravesh.com\/blog\/author\/babak-khoshnevis\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 PostgreSQL \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 Ubuntu\u00a0 - \u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634","description":"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0633\u0631\u06cc\u0639 \u067e\u0633\u062a\u06af\u0631\u0633 \u0627\u0633\u06a9\u06cc\u0648\u0627\u0644 \u0628\u0631 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 20.04 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u0648 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u062c\u062f\u06cc\u062f \u0648 \u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0645\u0641\u0647\u0648\u0645 \u0646\u0642\u0634\u200c\u0647\u0627.","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:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/","og_locale":"fa_IR","og_type":"article","og_title":"\u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 PostgreSQL \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 Ubuntu\u00a0","og_description":"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0633\u0631\u06cc\u0639 \u067e\u0633\u062a\u06af\u0631\u0633 \u0627\u0633\u06a9\u06cc\u0648\u0627\u0644 \u0628\u0631 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 20.04 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u0648 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u062c\u062f\u06cc\u062f \u0648 \u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0645\u0641\u0647\u0648\u0645 \u0646\u0642\u0634\u200c\u0647\u0627.","og_url":"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/","og_site_name":"\u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634","article_published_time":"2024-05-27T07:28:12+00:00","article_modified_time":"2024-05-27T07:28:13+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/05\/install_postgresql_on_ubuntu.webp","type":"image\/webp"}],"author":"\u0628\u0627\u0628\u06a9 \u062e\u0648\u0634\u200c\u0646\u0648\u06cc\u0633","twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u062a\u0648\u0633\u0637":"\u0628\u0627\u0628\u06a9 \u062e\u0648\u0634\u200c\u0646\u0648\u06cc\u0633","\u0632\u0645\u0627\u0646 \u062a\u062e\u0645\u06cc\u0646\u06cc \u0645\u0637\u0627\u0644\u0639\u0647":"6 \u062f\u0642\u06cc\u0642\u0647","Written by":"\u0628\u0627\u0628\u06a9 \u062e\u0648\u0634\u200c\u0646\u0648\u06cc\u0633"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#article","isPartOf":{"@id":"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/"},"author":{"name":"\u0628\u0627\u0628\u06a9 \u062e\u0648\u0634\u200c\u0646\u0648\u06cc\u0633","@id":"https:\/\/hamravesh.com\/blog\/#\/schema\/person\/2d9c875db813a45067ea2a02cdf00dbe"},"headline":"\u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 PostgreSQL \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 Ubuntu\u00a0","datePublished":"2024-05-27T07:28:12+00:00","dateModified":"2024-05-27T07:28:13+00:00","mainEntityOfPage":{"@id":"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/"},"wordCount":36,"commentCount":0,"publisher":{"@id":"https:\/\/hamravesh.com\/blog\/#organization"},"image":{"@id":"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/05\/install_postgresql_on_ubuntu.webp","articleSection":["\u062f\u06cc\u062a\u0627\u0628\u06cc\u0633","\u0645\u0642\u0627\u0644\u0627\u062a","\u0644\u06cc\u0646\u0648\u06a9\u0633"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/","url":"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/","name":"\u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 PostgreSQL \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 Ubuntu\u00a0 - \u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634","isPartOf":{"@id":"https:\/\/hamravesh.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/05\/install_postgresql_on_ubuntu.webp","datePublished":"2024-05-27T07:28:12+00:00","dateModified":"2024-05-27T07:28:13+00:00","description":"\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0633\u0631\u06cc\u0639 \u067e\u0633\u062a\u06af\u0631\u0633 \u0627\u0633\u06a9\u06cc\u0648\u0627\u0644 \u0628\u0631 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 20.04 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u0648 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u062c\u062f\u06cc\u062f \u0648 \u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0645\u0641\u0647\u0648\u0645 \u0646\u0642\u0634\u200c\u0647\u0627.","breadcrumb":{"@id":"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#primaryimage","url":"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/05\/install_postgresql_on_ubuntu.webp","contentUrl":"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/05\/install_postgresql_on_ubuntu.webp","width":1024,"height":1024,"caption":"\u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0647 \u0628\u0631 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648"},{"@type":"BreadcrumbList","@id":"https:\/\/hamravesh.com\/blog\/install-postgrsql-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0645\u062c\u0644\u0647 \u0647\u0645\u200c\u0631\u0648\u0634","item":"https:\/\/hamravesh.com\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0646\u0635\u0628 \u067e\u0633\u062a\u06af\u0631\u0633 PostgreSQL \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 Ubuntu\u00a0"}]},{"@type":"WebSite","@id":"https:\/\/hamravesh.com\/blog\/#website","url":"https:\/\/hamravesh.com\/blog\/","name":"\u0648\u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634","description":"\u0628\u0644\u0627\u06af \u0631\u0633\u0645\u06cc \u0647\u0645\u200c\u0631\u0648\u0634","publisher":{"@id":"https:\/\/hamravesh.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hamravesh.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fa-IR"},{"@type":"Organization","@id":"https:\/\/hamravesh.com\/blog\/#organization","name":"\u0647\u0645\u200c\u0631\u0648\u0634","url":"https:\/\/hamravesh.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/hamravesh.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2026\/03\/logo.svg","contentUrl":"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2026\/03\/logo.svg","width":1,"height":1,"caption":"\u0647\u0645\u200c\u0631\u0648\u0634"},"image":{"@id":"https:\/\/hamravesh.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hamravesh.com\/blog\/#\/schema\/person\/2d9c875db813a45067ea2a02cdf00dbe","name":"\u0628\u0627\u0628\u06a9 \u062e\u0648\u0634\u200c\u0646\u0648\u06cc\u0633","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/hamravesh.com\/blog\/#\/schema\/person\/image\/7427966303d3210eac022494292bce1a","url":"https:\/\/secure.gravatar.com\/avatar\/ec3d676c8f6ffe607a491ddf0433359f368f618002208ee7c1a6c2ec70002fc8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ec3d676c8f6ffe607a491ddf0433359f368f618002208ee7c1a6c2ec70002fc8?s=96&d=mm&r=g","caption":"\u0628\u0627\u0628\u06a9 \u062e\u0648\u0634\u200c\u0646\u0648\u06cc\u0633"},"description":"\u0645\u062a\u062e\u0635\u0635 \u0641\u0646\u0627\u0648\u0631\u06cc \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u0627 \u062a\u062c\u0631\u0628\u0647 \u062f\u0631 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0641\u0646\u06cc\u060c \u0634\u0628\u06a9\u0647 \u0648 \u062a\u062d\u0642\u06cc\u0642\u0627\u062a \u0639\u0644\u0645\u06cc. \u0645\u0647\u0627\u0631\u062a \u062f\u0631 DevOps\u060c \u0644\u06cc\u0646\u0648\u06a9\u0633\u060c \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0648 \u062d\u0644 \u0645\u0633\u0626\u0644\u0647. \u0639\u0634\u0642 \u0628\u0647 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0645\u0633\u062a\u0645\u0631 \u0648 \u0628\u0647\u200c\u06a9\u0627\u0631\u06af\u06cc\u0631\u06cc \u0641\u0646\u0627\u0648\u0631\u06cc\u200c\u0647\u0627\u06cc \u0646\u0648\u0638\u0647\u0648\u0631 \u0628\u0631\u0627\u06cc \u062a\u0633\u0647\u06cc\u0644 \u0641\u0631\u0627\u06cc\u0646\u062f\u0647\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631. \u0645\u062a\u0639\u0647\u062f \u0628\u0647 \u0627\u0631\u0627\u0626\u0647 \u0631\u0627\u0647\u200c\u062d\u0644\u200c\u0647\u0627\u06cc \u0646\u0648\u0622\u0648\u0631\u0627\u0646\u0647 \u062f\u0631 \u0645\u062d\u06cc\u0637\u06cc \u067e\u0648\u06cc\u0627 \u0648 \u067e\u0631\u0634\u062a\u0627\u0628.","url":"https:\/\/hamravesh.com\/blog\/author\/babak-khoshnevis\/"}]}},"_links":{"self":[{"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/posts\/2428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/comments?post=2428"}],"version-history":[{"count":12,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/posts\/2428\/revisions"}],"predecessor-version":[{"id":2914,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/posts\/2428\/revisions\/2914"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/media\/2916"}],"wp:attachment":[{"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/media?parent=2428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/categories?post=2428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/tags?post=2428"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/coauthors?post=2428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}