{"id":835,"date":"2023-01-19T05:25:27","date_gmt":"2023-01-19T05:25:27","guid":{"rendered":"https:\/\/mufy.net\/?p=835"},"modified":"2023-04-11T08:35:05","modified_gmt":"2023-04-11T08:35:05","slug":"use-aapanel-to-establish-alist-service-on-linux-server-and-enable-reverse-proxy","status":"publish","type":"post","link":"https:\/\/mufy.net\/?p=835","title":{"rendered":"Use aaPanel to establish Alist service on Linux server and enable reverse proxy"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Alist is a directory file listing program that supports multiple storages, supports web browsing, and WebDAV, the back end is based on <strong><code>gin<\/code><\/strong>, and the front end uses <strong><code>react<\/code><\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Official documentation:  <a href=\"https:\/\/alist-doc.nn.ci\/en\/docs\/intro\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/alist-doc.nn.ci\/en\/docs\/intro\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1, After deploying the pagoda panel, create a website. (The database does not need to be created, the PHP version is optional, and pure static is also available.)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"395\" src=\"https:\/\/mufy.net\/wp-content\/uploads\/2023\/01\/1-1024x395.jpg\" alt=\"\" class=\"wp-image-838\" srcset=\"https:\/\/mufy.net\/wp-content\/uploads\/2023\/01\/1-1024x395.jpg 1024w, https:\/\/mufy.net\/wp-content\/uploads\/2023\/01\/1-300x116.jpg 300w, https:\/\/mufy.net\/wp-content\/uploads\/2023\/01\/1-768x296.jpg 768w, https:\/\/mufy.net\/wp-content\/uploads\/2023\/01\/1.jpg 1071w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2, Run Alist\u2019s installation script in the terminal window. Note that this script is the official script plus the actual path of the website, as follows<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL \"https:\/\/alist.nn.ci\/v3.sh\" | bash -s install \/www\/wwwroot\/yourwebsite.com\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">3, After successful installation, you will get the initial administrator account and password, please record it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4, Open TCP port <code><strong>5244<\/strong><\/code> in the server&#8217;s firewall settings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5, Click Pagoda \u2192 Website menu \u2192 Corresponding website settings \u2192 Reverse proxy \u2192 Add reverse proxy (the purpose is to hide the port)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"843\" src=\"https:\/\/mufy.net\/wp-content\/uploads\/2023\/01\/2_20230119183525.jpg\" alt=\"\" class=\"wp-image-839\" srcset=\"https:\/\/mufy.net\/wp-content\/uploads\/2023\/01\/2_20230119183525.jpg 677w, https:\/\/mufy.net\/wp-content\/uploads\/2023\/01\/2_20230119183525-241x300.jpg 241w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1004\" height=\"789\" src=\"https:\/\/mufy.net\/wp-content\/uploads\/2023\/01\/3_20230119183544.png\" alt=\"\" class=\"wp-image-840\" srcset=\"https:\/\/mufy.net\/wp-content\/uploads\/2023\/01\/3_20230119183544.png 1004w, https:\/\/mufy.net\/wp-content\/uploads\/2023\/01\/3_20230119183544-300x236.png 300w, https:\/\/mufy.net\/wp-content\/uploads\/2023\/01\/3_20230119183544-768x604.png 768w\" sizes=\"auto, (max-width: 1004px) 100vw, 1004px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, enter your front-end domain name to access it, there is a management login at the bottom of the page, the password here is the password shown at the beginning of the successful installation via ssh<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To add various cloud disks, please move to the official documentation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Alist is a directory file listing program that supports multiple storages, supports web browsing, and WebDAV, the back end is based on gin, and the&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/mufy.net\/?p=835\">Continue reading<span class=\"screen-reader-text\">Use aaPanel to establish Alist service on Linux server and enable reverse proxy<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,2],"tags":[25,14,27,26,18],"class_list":["post-835","post","type-post","status-publish","format-standard","hentry","category-digital","category-web","tag-aapanel","tag-alist","tag-deployment","tag-linux-server","tag-webdav","entry"],"_links":{"self":[{"href":"https:\/\/mufy.net\/index.php?rest_route=\/wp\/v2\/posts\/835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mufy.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mufy.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mufy.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mufy.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=835"}],"version-history":[{"count":2,"href":"https:\/\/mufy.net\/index.php?rest_route=\/wp\/v2\/posts\/835\/revisions"}],"predecessor-version":[{"id":841,"href":"https:\/\/mufy.net\/index.php?rest_route=\/wp\/v2\/posts\/835\/revisions\/841"}],"wp:attachment":[{"href":"https:\/\/mufy.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mufy.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mufy.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}