{"id":41728,"date":"2023-01-01T03:44:57","date_gmt":"2023-05-19T22:21:41","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu-22-0-4%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%ae%89%e8%a3%85mattermost%e7%9a%84%e6%ad%a5%e9%aa%a4%e3%80%82\/"},"modified":"2024-04-29T07:54:12","modified_gmt":"2024-04-28T23:54:12","slug":"%e5%9c%a8ubuntu-22-0-4%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%ae%89%e8%a3%85mattermost%e7%9a%84%e6%ad%a5%e9%aa%a4%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu-22-0-4%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%ae%89%e8%a3%85mattermost%e7%9a%84%e6%ad%a5%e9%aa%a4%e3%80%82\/","title":{"rendered":"\u5728Ubuntu 22.0.4\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Mattermost\u7684\u6b65\u9aa4"},"content":{"rendered":"<h1>\u7b80\u8981\u8bf4\u660e<\/h1>\n<p>\u6211\u6253\u7b97\u6574\u7406\u4e00\u4e0b\u5728\u539f\u59cb\u7684 Ubuntu \u7cfb\u7edf\u4e0a\u5b89\u88c5 Mattermost \u7684\u6b65\u9aa4\u3002<\/p>\n<p>\u6211\u5e0c\u671b\u6784\u5efa\u7684\u73af\u5883\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Mattermost v7.5<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Linux<\/ul>\n<\/li>\n<\/ul>\n<p>Ubuntu 22.0.4<\/p>\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/p>\n<p>Postgresql v14<\/p>\n<p>Web\u30b5\u30fc\u30d0\u30fc<\/p>\n<p>Nginx(\u6700\u65b0\u7248)<\/p>\n<p>\u7531\u4e8e\u6839\u636e\u4ee5\u4e0b\u4fe1\u606f\u53c2\u8003\u800c\u6784\u5efa\uff0c\u6240\u4ee5\u5982\u679c\u6709\u4efb\u4f55\u9519\u8bef\u6216\u4e0d\u7b26\u4e4b\u5904\uff0c\u6b22\u8fce\u63d0\u4f9b\u8bc4\u8bba\uff0c\u975e\u5e38\u611f\u6fc0\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Mattermost \u3092 Docker \u3067\u8a66\u9a13\u5c0e\u5165\u3059\u308b (Docker Image \u7248)<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">PostgreSQL 14\u3092Ubuntu 20.04\u3078\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u5916\u90e8\u304b\u3089\u63a5\u7d9a\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Mattermost\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/ul>\n<p>\u5728\u672c\u6587\u4e2d\uff0c\u6211\u5011\u7701\u7565\u4e86\u6709\u95dc\u5b89\u5168\u8a2d\u5b9a\u65b9\u9762\u7684\u8a2d\u5b9a\uff0c\u8acb\u6ce8\u610f\u3002<\/p>\n<h1>\u5b89\u88c5\u6b65\u9aa4<\/h1>\n<p>\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u5b89\u88c5PostgreSQL<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u8bbe\u7f6e\u6570\u636e\u5e93<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u5b89\u88c5Mattermost<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u8bbe\u7f6eMattermost<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u8bbe\u7f6eNginx\uff08\u5047\u8bbe\u5df2\u5b89\u88c5\uff09<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\u8bbe\u7f6esystemctl<\/ol>\n<h2>\u5b89\u88c5Postgresql<\/h2>\n<pre class=\"post-pre\"><code>sudo sh -c 'echo \"deb http:\/\/apt.postgresql.org\/pub\/repos\/apt $(lsb_release -cs)-pgdg main\" &gt; \/etc\/apt\/sources.list.d\/pgdg.list'\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code> sudo apt install curl ca-certificates gnupg\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>curl https:\/\/www.postgresql.org\/media\/keys\/ACCC4CF8.asc | sudo apt-key add -\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo apt update\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo apt upgrade\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo apt install postgresql-14\r\n<\/code><\/pre>\n<p>\u786e\u8ba4\u662f\u5426\u5df2\u6210\u529f\u5b89\u88c5<\/p>\n<pre class=\"post-pre\"><code>$ sudo su - postgres\r\n$ psql\r\npsql (14.0 (Ubuntu 14.0-1.pgdg20.04+1))\r\n\"help\"\u3067\u30d8\u30eb\u30d7\u3092\u8868\u793a\u3057\u307e\u3059\u3002\r\n\r\npostgres=#\r\n<\/code><\/pre>\n<h2>\u6570\u636e\u5e93\u7684\u8bbe\u7f6e<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">2022\/12\/20 \u8ffd\u8a18<\/ul>\n<\/li>\n<\/ul>\n<p>postgresql \u30c7\u30fc\u30bf\u4fdd\u5b58\u5148\u3092\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f\u3053\u3061\u3089\u306e\u8a18\u4e8b\u304c\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\nhttps:\/\/ex1.m-yabe.com\/archives\/4719<br \/>\n\u3082\u3057\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30aa\u30da\u30ec\u30fc\u30b7\u30e7\u30f3\u5b9f\u65bd\u524d\u306b\u3001\u300c(\u53c2\u8003)\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u4fdd\u5b58\u5148\u5909\u66f4\u624b\u9806\u300d\u3092\u5b9f\u65bd\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo su - postgres\r\n$ psql\r\npostgres=# create role mmuser with login createdb password 'mmuser-password';\r\nCREATE ROLE\r\npostgres=# create database mattermost with encoding 'UTF8' owner mmuser;\r\nCREATE DATABASE\r\n<\/code><\/pre>\n<h3>\u66f4\u6539\u6570\u636e\u5e93\u5b58\u50a8\u4f4d\u7f6e\u7684\u6b65\u9aa4 (Reference: \u66f4\u6539\u6570\u636e\u5e93\u5b58\u50a8\u4f4d\u7f6e\u7684\u6b65\u9aa4)<\/h3>\n<p>\u65b0\u7684\u5132\u5b58\u4f4d\u7f6e\uff1a\/mnt\/postgresql<\/p>\n<pre class=\"post-pre\"><code>sudo mkdir \/mnt\/postgresql\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>chown -R postgres:postgres \/mnt\/postgresql\/\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo systemctl stop postgresql.service\r\n<\/code><\/pre>\n<p>\u5728postgresql.service\u4e2d\u8bbe\u7f6e\u65b0\u7684\u4fdd\u5b58\u8def\u5f84\u3002<\/p>\n<pre class=\"post-pre\"><code>sudo vi \/usr\/lib\/systemd\/system\/postgresql.service\r\n<\/code><\/pre>\n<p>\u6dfb\u52a0\u8bbe\u7f6e\u793a\u4f8b\uff08\u73af\u5883=PGDATA=\/mnt\/postgresql\uff09\u3002<\/p>\n<pre class=\"post-pre\"><code>[Unit]\r\nDescription=PostgreSQL RDBMS\r\n\r\n[Service]\r\nType=oneshot\r\nExecStart=\/bin\/true\r\nExecReload=\/bin\/true\r\nRemainAfterExit=on\r\nEnvironment=PGDATA=\/mnt\/postgresql\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo systemctl daemon-reload\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo systemctl restart postgresql\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo -u postgres \/usr\/lib\/postgresql\/14\/bin\/initdb -D \/mnt\/postgresql\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo systemctl restart postgresql\r\n<\/code><\/pre>\n<h2>\u5b89\u88c5Mattermost<\/h2>\n<pre class=\"post-pre\"><code>cd \/usr\/local\/src\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo wget https:\/\/releases.mattermost.com\/7.5.0\/mattermost-7.5.0-linux-amd64.tar.gz\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo tar -xvzf mattermost*.gz\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo mv mattermost \/opt\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo mkdir \/opt\/mattermost\/data\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo useradd --system --user-group mattermost\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo chown -R mattermost:mattermost \/opt\/mattermost\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo chmod -R g+w \/opt\/mattermost\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>sudo rm -f mattermost-7.5.0-linux-amd64.tar.gz\r\n<\/code><\/pre>\n<h2>Mattermost\u7684\u5b89\u88c5\u914d\u7f6e<\/h2>\n<p>\u8bf7\u4f7f\u7528vi\u6253\u5f00\/opt\/mattermost\/config\/config.json\u6587\u4ef6\uff0c\u5e76\u5c06\u53c2\u6570\u8bbe\u7f6e\u5982\u4e0b\u3002<\/p>\n<pre class=\"post-pre\"><code>\"SiteURL\": \"http:\/\/mattermost.example.com\/mattermost\"\r\n\"DriverName\": \"postgres\"\r\n\"DataSource\": \"postgres:\/\/mmuser:mmuser-password@localhost:5432\/mattermost?sslmode=disable\\u0026connect_timeout=10\"\r\n\"MaxUsersPerTeam\"\uff1a200\r\n\"EnableLocalMode\"\uff1atrue\r\n\"EnableUserAccessTokens\"\uff1a true\r\n<\/code><\/pre>\n<h1>Nginx\u7684\u5b89\u88c5\u8bbe\u7f6e\uff08\u5047\u8bbe\u5df2\u7ecf\u5b89\u88c5\uff09<\/h1>\n<p>\u5728\/etc\/nginx\/conf.d\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3amattermost.conf\u7684\u6587\u4ef6\u3002<\/p>\n<p>\u8bbe\u5b9a\u7684\u5185\u5bb9\uff08\u793a\u4f8b\uff09\uff1a<\/p>\n<pre class=\"post-pre\"><code>server {\r\n        listen          8088;\r\n        location \/ {\r\n                client_max_body_size 50M;\r\n                proxy_set_header Upgrade $http_upgrade;\r\n                proxy_set_header Connection \"upgrade\";\r\n                proxy_set_header Host $http_host;\r\n                proxy_set_header X-Real-IP $remote_addr;\r\n                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n                proxy_set_header X-Forwarded-Proto $scheme;\r\n                proxy_set_header X-Frame-Options SAMEORIGIN;\r\n                proxy_pass http:\/\/localhost:8065;\r\n        }\r\n}\r\n<\/code><\/pre>\n<h2>systemctl \u7684\u914d\u7f6e<\/h2>\n<pre class=\"post-pre\"><code>$ sudo touch \/lib\/systemd\/system\/mattermost.service\r\n$ sudo vi \/lib\/systemd\/system\/mattermost.service\r\n<\/code><\/pre>\n<p>\u4f8b\u5b50\uff1a<br \/>\n\u8bf7\u5728\u4e2d\u56fd\u9910\u5385\u4e2d\u70b9\u9910\u3002<br \/>\n\u7ffb\u8bd1\u9009\u9879\uff1a<br \/>\n\u5728\u4e2d\u56fd\u9910\u5385\u91cc\uff0c\u60a8\u9700\u8981\u9009\u62e9\u83dc\u5355\u4e0a\u7684\u83dc\u54c1\u6765\u8fdb\u884c\u70b9\u9910\u3002<\/p>\n<pre class=\"post-pre\"><code>[Unit]\r\nDescription=Mattermost\r\nAfter=network.target\r\nAfter=postgresql.service\r\nBindsTo=postgresql.service\r\n\r\n[Service]\r\nType=notify\r\nExecStart=\/opt\/mattermost\/bin\/mattermost\r\nTimeoutStartSec=3600\r\nRestart=always\r\nRestartSec=10\r\nWorkingDirectory=\/opt\/mattermost\r\nUser=mattermost\r\nGroup=mattermost\r\nLimitNOFILE=49152\r\n\r\n[Install]\r\nWantedBy=postgresql.service\r\n<\/code><\/pre>\n<h1>\u786e\u8ba4\u670d\u52a1\u542f\u52a8<\/h1>\n<pre class=\"post-pre\"><code>$ sudo systemctl enable mattermost.service\r\n$ sudo systemctl start mattermost.service\r\n$ sudo systemctl status mattermost.service\r\n<\/code><\/pre>\n<p>\u53ea\u8981\u80fd\u591f\u8bbf\u95eehttp:\/\/localhost:8065\/\uff0c\u5c31\u7b97\u6210\u529f\u4e86\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d483f37434c4406caaee9\/59-0.png\" alt=\"image.png\" \/><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u7b80\u8981\u8bf4\u660e \u6211\u6253\u7b97\u6574\u7406\u4e00\u4e0b\u5728\u539f\u59cb\u7684 Ubuntu \u7cfb\u7edf\u4e0a\u5b89\u88c5 Mattermost \u7684\u6b65\u9aa4\u3002 \u6211\u5e0c\u671b\u6784\u5efa\u7684\u73af\u5883\u5982 [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-41728","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728Ubuntu 22.0.4\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Mattermost\u7684\u6b65\u9aa4 - Blog - Silicon Cloud<\/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.silicloud.com\/zh\/blog\/\u5728ubuntu-22-0-4\u670d\u52a1\u5668\u4e0a\u5b89\u88c5mattermost\u7684\u6b65\u9aa4\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728Ubuntu 22.0.4\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Mattermost\u7684\u6b65\u9aa4\" \/>\n<meta property=\"og:description\" content=\"\u7b80\u8981\u8bf4\u660e \u6211\u6253\u7b97\u6574\u7406\u4e00\u4e0b\u5728\u539f\u59cb\u7684 Ubuntu \u7cfb\u7edf\u4e0a\u5b89\u88c5 Mattermost \u7684\u6b65\u9aa4\u3002 \u6211\u5e0c\u671b\u6784\u5efa\u7684\u73af\u5883\u5982 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728ubuntu-22-0-4\u670d\u52a1\u5668\u4e0a\u5b89\u88c5mattermost\u7684\u6b65\u9aa4\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-19T22:21:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-28T23:54:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d483f37434c4406caaee9\/59-0.png\" \/>\n<meta name=\"author\" content=\"\u65b0, \u97f5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u65b0, \u97f5\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu-22-0-4%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%ae%89%e8%a3%85mattermost%e7%9a%84%e6%ad%a5%e9%aa%a4%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu-22-0-4%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%ae%89%e8%a3%85mattermost%e7%9a%84%e6%ad%a5%e9%aa%a4%e3%80%82\/\",\"name\":\"\u5728Ubuntu 22.0.4\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Mattermost\u7684\u6b65\u9aa4 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-05-19T22:21:41+00:00\",\"dateModified\":\"2024-04-28T23:54:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu-22-0-4%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%ae%89%e8%a3%85mattermost%e7%9a%84%e6%ad%a5%e9%aa%a4%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu-22-0-4%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%ae%89%e8%a3%85mattermost%e7%9a%84%e6%ad%a5%e9%aa%a4%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu-22-0-4%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%ae%89%e8%a3%85mattermost%e7%9a%84%e6%ad%a5%e9%aa%a4%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728Ubuntu 22.0.4\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Mattermost\u7684\u6b65\u9aa4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\",\"name\":\"\u65b0, \u97f5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"caption\":\"\u65b0, \u97f5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu-22-0-4%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%ae%89%e8%a3%85mattermost%e7%9a%84%e6%ad%a5%e9%aa%a4%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728Ubuntu 22.0.4\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Mattermost\u7684\u6b65\u9aa4 - Blog - Silicon Cloud","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.silicloud.com\/zh\/blog\/\u5728ubuntu-22-0-4\u670d\u52a1\u5668\u4e0a\u5b89\u88c5mattermost\u7684\u6b65\u9aa4\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728Ubuntu 22.0.4\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Mattermost\u7684\u6b65\u9aa4","og_description":"\u7b80\u8981\u8bf4\u660e \u6211\u6253\u7b97\u6574\u7406\u4e00\u4e0b\u5728\u539f\u59cb\u7684 Ubuntu \u7cfb\u7edf\u4e0a\u5b89\u88c5 Mattermost \u7684\u6b65\u9aa4\u3002 \u6211\u5e0c\u671b\u6784\u5efa\u7684\u73af\u5883\u5982 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728ubuntu-22-0-4\u670d\u52a1\u5668\u4e0a\u5b89\u88c5mattermost\u7684\u6b65\u9aa4\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-05-19T22:21:41+00:00","article_modified_time":"2024-04-28T23:54:12+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d483f37434c4406caaee9\/59-0.png"}],"author":"\u65b0, \u97f5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u65b0, \u97f5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu-22-0-4%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%ae%89%e8%a3%85mattermost%e7%9a%84%e6%ad%a5%e9%aa%a4%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu-22-0-4%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%ae%89%e8%a3%85mattermost%e7%9a%84%e6%ad%a5%e9%aa%a4%e3%80%82\/","name":"\u5728Ubuntu 22.0.4\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Mattermost\u7684\u6b65\u9aa4 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-05-19T22:21:41+00:00","dateModified":"2024-04-28T23:54:12+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu-22-0-4%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%ae%89%e8%a3%85mattermost%e7%9a%84%e6%ad%a5%e9%aa%a4%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu-22-0-4%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%ae%89%e8%a3%85mattermost%e7%9a%84%e6%ad%a5%e9%aa%a4%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu-22-0-4%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%ae%89%e8%a3%85mattermost%e7%9a%84%e6%ad%a5%e9%aa%a4%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728Ubuntu 22.0.4\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Mattermost\u7684\u6b65\u9aa4"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9","name":"\u65b0, \u97f5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","caption":"\u65b0, \u97f5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8ubuntu-22-0-4%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%ae%89%e8%a3%85mattermost%e7%9a%84%e6%ad%a5%e9%aa%a4%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41728","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=41728"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41728\/revisions"}],"predecessor-version":[{"id":84001,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41728\/revisions\/84001"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=41728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=41728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=41728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}