diff --git a/docs/4.0/docs/Intro.md b/docs/4.0/docs/Intro.md index e75d67ef78e..37900032b95 100644 --- a/docs/4.0/docs/Intro.md +++ b/docs/4.0/docs/Intro.md @@ -1,4 +1,4 @@ -# What is Sealos +# What is Sealos? The vastness and complexity of the cloud-native ecosystem undoubtedly leaves many businesses in disarray, yearning for an efficient, ready-to-use distribution, which this ecosystem sorely lacks. The cloud-native market is in dire need of a cloud operating system to further reduce barriers and costs. diff --git a/docs/4.0/docs/quick-start/images/SCR-20230529-sokx.png b/docs/4.0/docs/quick-start/app-deployments/images/SCR-20230529-sokx.png similarity index 100% rename from docs/4.0/docs/quick-start/images/SCR-20230529-sokx.png rename to docs/4.0/docs/quick-start/app-deployments/images/SCR-20230529-sokx.png diff --git a/docs/4.0/docs/quick-start/images/SCR-20230529-tlpi.png b/docs/4.0/docs/quick-start/app-deployments/images/SCR-20230529-tlpi.png similarity index 100% rename from docs/4.0/docs/quick-start/images/SCR-20230529-tlpi.png rename to docs/4.0/docs/quick-start/app-deployments/images/SCR-20230529-tlpi.png diff --git a/docs/4.0/docs/quick-start/images/SCR-20230529-tpsc.jpg b/docs/4.0/docs/quick-start/app-deployments/images/SCR-20230529-tpsc.jpg similarity index 100% rename from docs/4.0/docs/quick-start/images/SCR-20230529-tpsc.jpg rename to docs/4.0/docs/quick-start/app-deployments/images/SCR-20230529-tpsc.jpg diff --git a/docs/4.0/docs/quick-start/images/SCR-20230529-ualx.jpg b/docs/4.0/docs/quick-start/app-deployments/images/SCR-20230529-ualx.jpg similarity index 100% rename from docs/4.0/docs/quick-start/images/SCR-20230529-ualx.jpg rename to docs/4.0/docs/quick-start/app-deployments/images/SCR-20230529-ualx.jpg diff --git a/docs/4.0/docs/quick-start/images/SCR-20230529-ubqj.jpg b/docs/4.0/docs/quick-start/app-deployments/images/SCR-20230529-ubqj.jpg similarity index 100% rename from docs/4.0/docs/quick-start/images/SCR-20230529-ubqj.jpg rename to docs/4.0/docs/quick-start/app-deployments/images/SCR-20230529-ubqj.jpg diff --git a/docs/4.0/docs/quick-start/images/app-deployment-2.png b/docs/4.0/docs/quick-start/app-deployments/images/app-deployment-2.png similarity index 100% rename from docs/4.0/docs/quick-start/images/app-deployment-2.png rename to docs/4.0/docs/quick-start/app-deployments/images/app-deployment-2.png diff --git a/docs/4.0/docs/quick-start/images/app-deployment-3.png b/docs/4.0/docs/quick-start/app-deployments/images/app-deployment-3.png similarity index 100% rename from docs/4.0/docs/quick-start/images/app-deployment-3.png rename to docs/4.0/docs/quick-start/app-deployments/images/app-deployment-3.png diff --git a/docs/4.0/docs/quick-start/app-deployments/images/app-deployment.png b/docs/4.0/docs/quick-start/app-deployments/images/app-deployment.png new file mode 100644 index 00000000000..3d3819f431d Binary files /dev/null and b/docs/4.0/docs/quick-start/app-deployments/images/app-deployment.png differ diff --git a/docs/4.0/docs/quick-start/images/app-launchpad-1.jpg b/docs/4.0/docs/quick-start/app-deployments/images/app-launchpad-1.jpg similarity index 100% rename from docs/4.0/docs/quick-start/images/app-launchpad-1.jpg rename to docs/4.0/docs/quick-start/app-deployments/images/app-launchpad-1.jpg diff --git a/docs/4.0/docs/quick-start/images/app-launchpad.jpg b/docs/4.0/docs/quick-start/app-deployments/images/app-launchpad.jpg similarity index 100% rename from docs/4.0/docs/quick-start/images/app-launchpad.jpg rename to docs/4.0/docs/quick-start/app-deployments/images/app-launchpad.jpg diff --git a/docs/4.0/docs/quick-start/images/app-list-2.png b/docs/4.0/docs/quick-start/app-deployments/images/app-list-2.png similarity index 100% rename from docs/4.0/docs/quick-start/images/app-list-2.png rename to docs/4.0/docs/quick-start/app-deployments/images/app-list-2.png diff --git a/docs/4.0/docs/quick-start/images/app-list.png b/docs/4.0/docs/quick-start/app-deployments/images/app-list.png similarity index 100% rename from docs/4.0/docs/quick-start/images/app-list.png rename to docs/4.0/docs/quick-start/app-deployments/images/app-list.png diff --git a/docs/4.0/docs/quick-start/app-deployments/images/app-nginx.png b/docs/4.0/docs/quick-start/app-deployments/images/app-nginx.png new file mode 100644 index 00000000000..79a1815c53e Binary files /dev/null and b/docs/4.0/docs/quick-start/app-deployments/images/app-nginx.png differ diff --git a/docs/4.0/docs/quick-start/app-deployments/images/app-url.png b/docs/4.0/docs/quick-start/app-deployments/images/app-url.png new file mode 100644 index 00000000000..39af8e02421 Binary files /dev/null and b/docs/4.0/docs/quick-start/app-deployments/images/app-url.png differ diff --git a/docs/4.0/docs/quick-start/app-deployments/images/database-configure.png b/docs/4.0/docs/quick-start/app-deployments/images/database-configure.png new file mode 100644 index 00000000000..df6a0d91db4 Binary files /dev/null and b/docs/4.0/docs/quick-start/app-deployments/images/database-configure.png differ diff --git a/docs/4.0/docs/quick-start/app-deployments/images/database-connect.png b/docs/4.0/docs/quick-start/app-deployments/images/database-connect.png new file mode 100644 index 00000000000..5155d12912b Binary files /dev/null and b/docs/4.0/docs/quick-start/app-deployments/images/database-connect.png differ diff --git a/docs/4.0/docs/quick-start/images/database-creating.png b/docs/4.0/docs/quick-start/app-deployments/images/database-creating.png similarity index 100% rename from docs/4.0/docs/quick-start/images/database-creating.png rename to docs/4.0/docs/quick-start/app-deployments/images/database-creating.png diff --git a/docs/4.0/docs/quick-start/app-deployments/images/database-launch.jpg b/docs/4.0/docs/quick-start/app-deployments/images/database-launch.jpg new file mode 100644 index 00000000000..83800e08596 Binary files /dev/null and b/docs/4.0/docs/quick-start/app-deployments/images/database-launch.jpg differ diff --git a/docs/4.0/docs/quick-start/app-deployments/images/database-more.png b/docs/4.0/docs/quick-start/app-deployments/images/database-more.png new file mode 100644 index 00000000000..206a8a9b453 Binary files /dev/null and b/docs/4.0/docs/quick-start/app-deployments/images/database-more.png differ diff --git a/docs/4.0/docs/quick-start/app-deployments/images/database-select.png b/docs/4.0/docs/quick-start/app-deployments/images/database-select.png new file mode 100644 index 00000000000..fe8ba2991ff Binary files /dev/null and b/docs/4.0/docs/quick-start/app-deployments/images/database-select.png differ diff --git a/docs/4.0/docs/quick-start/app-deployments/images/deploy-template.png b/docs/4.0/docs/quick-start/app-deployments/images/deploy-template.png new file mode 100644 index 00000000000..4c3aa7f6f9f Binary files /dev/null and b/docs/4.0/docs/quick-start/app-deployments/images/deploy-template.png differ diff --git a/docs/4.0/docs/quick-start/images/nginx.png b/docs/4.0/docs/quick-start/app-deployments/images/nginx.png similarity index 100% rename from docs/4.0/docs/quick-start/images/nginx.png rename to docs/4.0/docs/quick-start/app-deployments/images/nginx.png diff --git a/docs/4.0/docs/quick-start/app-deployments/images/template-detail.png b/docs/4.0/docs/quick-start/app-deployments/images/template-detail.png new file mode 100644 index 00000000000..ddd16e9fc87 Binary files /dev/null and b/docs/4.0/docs/quick-start/app-deployments/images/template-detail.png differ diff --git a/docs/4.0/docs/quick-start/app-deployments/images/templates-2.png b/docs/4.0/docs/quick-start/app-deployments/images/templates-2.png new file mode 100644 index 00000000000..94c601d4393 Binary files /dev/null and b/docs/4.0/docs/quick-start/app-deployments/images/templates-2.png differ diff --git a/docs/4.0/docs/quick-start/app-deployments/images/templates.jpg b/docs/4.0/docs/quick-start/app-deployments/images/templates.jpg new file mode 100644 index 00000000000..f52b412f94e Binary files /dev/null and b/docs/4.0/docs/quick-start/app-deployments/images/templates.jpg differ diff --git a/docs/4.0/docs/quick-start/images/terminal.png b/docs/4.0/docs/quick-start/app-deployments/images/terminal.png similarity index 100% rename from docs/4.0/docs/quick-start/images/terminal.png rename to docs/4.0/docs/quick-start/app-deployments/images/terminal.png diff --git a/docs/4.0/docs/quick-start/app-deployments/install-db-with-database.md b/docs/4.0/docs/quick-start/app-deployments/install-db-with-database.md new file mode 100644 index 00000000000..2f9c58e8823 --- /dev/null +++ b/docs/4.0/docs/quick-start/app-deployments/install-db-with-database.md @@ -0,0 +1,33 @@ +--- +sidebar_position: 4 +--- + +# Use Database App + +Databases are fundamental tools for data management, designed for efficient storage and access. Sealos offers a user-friendly database interface, eliminating the complexities of command-line operations. This assists in managing an array of databases, such as relational databases, NoSQL, vector databases, and streaming databases. With just a few clicks in the "[Database](../../platform-components/dbprovider/dbprovider.md)" app, you can seamlessly create a variety of databases, including MySQL, PostgreSQL, MongoDB, Redis, and many more. + +This guide will show you how to install MySQL use Databse app. + +# Install MySQL + +1. Open Database app in the [Sealos](https://cloud.sealos.io) desktop. + +![](./images/database-launch.jpg) + +2. Click on 'Create Database' and finalize the basic configuration. + +![](./images/database-configure.png) + +3. Click on 'Deploy' then click 'Confirm' to wait for the successful creation of the MySQL. + +![](./images/database-more.png) + +4. Click on 'connect', which will directly launch the "Terminal" application, leading you to the database command line. + +![](./images/database-connect.png) + +# Install PostgreSQL and MongoDB + +The installation process for PostgreSQL and MongoDB mirrors that of MySQL. Simply choose the respective database type on the basic configuration page. + +![](./images/database-select.png) diff --git a/docs/4.0/docs/quick-start/app-deployments/use-a-template.md b/docs/4.0/docs/quick-start/app-deployments/use-a-template.md new file mode 100644 index 00000000000..0a861b4357f --- /dev/null +++ b/docs/4.0/docs/quick-start/app-deployments/use-a-template.md @@ -0,0 +1,34 @@ +--- +sidebar_position: 1 +--- + +# Use a template + +This guide will show you how to use templates to fast-track applications deployment. and maximize Sealos's features. + +## 1. Find a template + +Start by accessing the "**Templates**" in the Sealos desktop. + +![](./images/templates.jpg) + +select the template you’d like to deploy + +![Viewing the templates marketplace](./images/templates-2.png) + +Not sure which one to use? How about [exploring FastGPT](../../examples/ai-applications/install-fastgpt-on-desktop.md) + +## 2. Deploy the template to Sealos + +Once you've selected a template, configure the necessary parameters, then click **Deploy Application** on the template page to start deployment. + +![Deploying your chosen template](./images/deploy-template.png) + +Once deployment concludes, click "Confirm" to navigate to the application's details. + +![](./images/template-detail.png) + +Wait for the application's status to switch to running. Subsequently, click on the external link to launch the application's Web interface directly through the external domain name. + +![](./images/app-url.png) + diff --git a/docs/4.0/docs/quick-start/app-deployments/use-app-launchpad.md b/docs/4.0/docs/quick-start/app-deployments/use-app-launchpad.md new file mode 100644 index 00000000000..812e0f0b12b --- /dev/null +++ b/docs/4.0/docs/quick-start/app-deployments/use-app-launchpad.md @@ -0,0 +1,31 @@ +--- +sidebar_position: 2 +--- + +# Use App Launchpad + +Sealos desktop is similar to that of PC operating systems, such as macOS or Windows. Each icon on the desktop represents an app, similar to the shortcuts in Windows. Like PC operating systems, Sealos also comes with built-in apps. To quickly install applications on this cloud operating system, you need to use the system's built-in **App Launchpad**. + +> For more information about application management, please refer to [Introduction to App Launchpad](../../platform-components/applaunchpad/applaunchpad.md) + +This guide will show you how to quickly install some common applications on the Sealos cloud operating system. + +## Deploy nginx + +First, open App Launchpad in the [Sealos](https://cloud.sealos.io) desktop. + +![](./images/app-launchpad.jpg) + +Click on "New Application". + +Enter the application name and image name in sequence, enable external network access, and then click "Deploy Application" to proceed. + +![](./images/app-deployment.png) + +Once the deployment is finished, click "Details" to enter the application's detailed view. + +you can view the operational metrics of the Nginx application, including CPU and memory usage. Click on the external link to open the Nginx interface directly via the external domain name. + +![](./images/app-nginx.png) + +![](./images/SCR-20230529-sokx.png) \ No newline at end of file diff --git a/docs/4.0/docs/quick-start/install-apps-with-terminal.md b/docs/4.0/docs/quick-start/app-deployments/use-terminal.md similarity index 71% rename from docs/4.0/docs/quick-start/install-apps-with-terminal.md rename to docs/4.0/docs/quick-start/app-deployments/use-terminal.md index 69bf8c763a2..5c6b0d00121 100644 --- a/docs/4.0/docs/quick-start/install-apps-with-terminal.md +++ b/docs/4.0/docs/quick-start/app-deployments/use-terminal.md @@ -1,20 +1,20 @@ --- -sidebar_position: 2 +sidebar_position: 3 --- -# Swiftly Install Applications with Terminal +# Use Terminal -For those proficient in Kubernetes and container basics, terminal command-line deployment presents an optimal solution. This document showcases Nginx as an example, elucidating the application deployment process via terminal. +Users familiar with Kubernetes and container fundamentals may opt to deploy applications using the **[Terminal](../../platform-components/terminal/terminal.md)** app. This guide will show you how to use the terminal for deployment, using Nginx as an example. -Commence by opening the terminal application within the [Sealos](https://cloud.sealos.io) desktop environment. +Start by launching the Terminal app within the [Sealos](https://cloud.sealos.io) desktop. ![](./images/app-launchpad-1.jpg) -Upon initializing the terminal application, a default terminal window is assigned, allowing the execution of various command-line operations. +Upon opening the Terminal app, a terminal window is automatically allocated, enabling you to execute various command-line operations. ![](./images/terminal.png) -① First, create a deployment manifest for Nginx Deployment: +① Begin by creating a deployment manifest for Nginx Deployment: ```yaml # deployment.yaml @@ -48,7 +48,7 @@ spec: memory: 32Mi ``` -② Subsequently, construct a deployment manifest for Nginx Service: +② Subsequently, create a deployment manifest for Nginx Service: ```yaml # service.yaml @@ -68,14 +68,14 @@ spec: app: nginx ``` -③ Execute the following commands to generate Deployment and Service from the deployment manifest: +③ Deploy both the Deployment and Service by executing the following: ```bash kubectl apply -f deployment.yaml kubectl apply -f service.yaml ``` -Assess if Nginx can be accessed normally: +Verify Nginx's accessibility: ```bash $ kubectl get pod -l app=nginx @@ -114,7 +114,7 @@ Commercial support is available at ``` -④ If you desire to expose Nginx to the internet, enabling access via external network domain, you'll need to create an Ingress resource. Start by creating a deployment manifest: +④ To expose Nginx to the internet and access it via a public domain, create an Ingress resource. Start by creating a deployment manifest: ```yaml # ingress.yaml @@ -156,12 +156,12 @@ spec: secretName: wildcard-cloud-sealos-io-cert ``` -⑤ Execute the following command to create an Ingress resource from the deployment manifest: +⑤ Deploy the Ingress resource: ```bash $ kubectl apply -f ingress.yaml ``` -⑥ Test if Nginx can be accessed normally through the external network domain: +⑥ Confirm the Nginx's accessibility through the public domain: ![](./images/nginx.png) \ No newline at end of file diff --git a/docs/4.0/docs/quick-start/images/database-configure.png b/docs/4.0/docs/quick-start/images/database-configure.png deleted file mode 100644 index 08b75155aaf..00000000000 Binary files a/docs/4.0/docs/quick-start/images/database-configure.png and /dev/null differ diff --git a/docs/4.0/docs/quick-start/images/database-connect.png b/docs/4.0/docs/quick-start/images/database-connect.png deleted file mode 100644 index 0e232fa6dd3..00000000000 Binary files a/docs/4.0/docs/quick-start/images/database-connect.png and /dev/null differ diff --git a/docs/4.0/docs/quick-start/images/database-launch.png b/docs/4.0/docs/quick-start/images/database-launch.png deleted file mode 100644 index 57ba9371ad8..00000000000 Binary files a/docs/4.0/docs/quick-start/images/database-launch.png and /dev/null differ diff --git a/docs/4.0/docs/quick-start/images/database-more1.png b/docs/4.0/docs/quick-start/images/database-more1.png deleted file mode 100644 index 474243f4cbb..00000000000 Binary files a/docs/4.0/docs/quick-start/images/database-more1.png and /dev/null differ diff --git a/docs/4.0/docs/quick-start/images/database-more2.png b/docs/4.0/docs/quick-start/images/database-more2.png deleted file mode 100644 index aec31f75b69..00000000000 Binary files a/docs/4.0/docs/quick-start/images/database-more2.png and /dev/null differ diff --git a/docs/4.0/docs/quick-start/images/database-select.png b/docs/4.0/docs/quick-start/images/database-select.png deleted file mode 100644 index 77b16ade843..00000000000 Binary files a/docs/4.0/docs/quick-start/images/database-select.png and /dev/null differ diff --git a/docs/4.0/docs/quick-start/install-apps-with-app-launchpad.md b/docs/4.0/docs/quick-start/install-apps-with-app-launchpad.md deleted file mode 100644 index 01acc35c925..00000000000 --- a/docs/4.0/docs/quick-start/install-apps-with-app-launchpad.md +++ /dev/null @@ -1,67 +0,0 @@ ---- -sidebar_position: 1 ---- - -# Swiftly Install Applications with App Launchpad - -The desktop environment of Sealos is similar to that of single-machine operating systems such as macOS or Windows. Each icon on the desktop represents an App, similar to the shortcuts in Windows. Like standalone operating systems, Sealos also comes with system-built Apps. If you want to quickly install applications on this cloud operating system, you need to use the system's built-in App Launchpad. - -For more information about application management, please refer to [Introduction to App Launchpad](../platform-components/applaunchpad/applaunchpad.md) - -> Here, we'll demonstrate how to quickly install some common applications on the Sealos cloud operating system. - -## Quick Install of Nginx - -First, open the App Launchpad in the [Sealos](https://cloud.sealos.io) desktop environment. - -![](./images/app-launchpad.jpg) - -Click on "New Application." - -![](./images/app-list.png) - -In sequence, input the application name and image name, turn on external network access, and finally, click on "Deploy Application." - -![](./images/app-deployment.png) - -After deployment, click on "Details" to enter the application details interface. - -![](./images/app-list-2.png) - -Here, you can see the operation status of the Nginx application, including CPU usage, memory usage, etc. Click on the external network address to open the Nginx interface directly through the external network domain name. - -![](./images/app-nginx.png) - -![](./images/SCR-20230529-sokx.png) - -## Quick Install of Nextcloud - -Now let's look at another example. We will use the App Launchpad to quickly install the open-source private network disk application Nextcloud. - -Just like the previous example, click on "New Application" in the App Launchpad. Input the application name and image name in sequence, choose appropriate CPU and memory, and turn on external network access. - -![](./images/app-deployment-2.png) - -All data of the Nextcloud container is stored in the directory `/var/www/html`. Therefore, we need to persist the data in this directory through external storage. - -Continue to scroll down, expand "Advanced Configuration," and click on "Add Storage Volume" in "Local Storage." - -![](./images/app-deployment-3.png) - -Select the capacity of the external storage and fill in the path where the storage is mounted to the application. Then click on "Confirm." - -![](./images/SCR-20230529-tlpi.png) - -Finally, click on "Deploy Application" at the top right corner, and the application installation is completed. - -Click on "Application Details" to enter the details page of the Nextcloud application. Confirm that the application is in the Running state, and then click on the external network address to directly open the Web interface of Nextcloud. - -![](./images/SCR-20230529-tpsc.jpg) - -After setting the username and password, click on "Install" to start the installation. After waiting for a short while for the installation to finish, directly refresh the page. - -![](./images/SCR-20230529-ualx.jpg) - -Input the username and password to log in successfully. - -![](./images/SCR-20230529-ubqj.jpg) \ No newline at end of file diff --git a/docs/4.0/docs/quick-start/install-db-with-database.md b/docs/4.0/docs/quick-start/install-db-with-database.md deleted file mode 100644 index 5480c29ce91..00000000000 --- a/docs/4.0/docs/quick-start/install-db-with-database.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -sidebar_position: 3 ---- - -# Swiftly Install MySQL/PostgreSQL/MongoDB with Database - -Databases are important means of data management and can be used to efficiently store and access data. MySQL, PostgreSQL, and MongoDB are all important database management systems. - -* MySQL is an open-source relational database management system with high performance, reliability, and scalability. It also supports standardized SQL language and extended SQL syntax - -* PostgreSQL is also an open-source relational database management system that supports transaction, concurrency control, and multi-version control. These features make PostgreSQL a reliable, efficient, and secure database solution - -* MongoDB is a document-oriented NoSQL database management system that supports flexible data modeling, fast read and write speeds, and easy horizontal scaling for better performance and availability, as per the requirements - -> Sealos has good support for quick installation and configuration of databases. The following example will demonstrate how to use Sealos to quickly install MySQL. - -# Quick Install of MySQL - -1. Open Database in the [Sealos](https://cloud.sealos.io) desktop environment - -![](./images/database-launch.png) - -2. Click on 'Create New Database' to complete the basic configuration setup - -![](./images/database-configure.png) - -3. Click on 'Deploy Cluster' and wait for the cluster to be created successfully - -![](./images/database-creating.png) - -4. After the cluster is successfully created, click on 'Details' to view more details - -![](./images/database-more1.png) - -![](./images/database-more2.png) - -5. Click on 'One-Click Connection' to start using it in the Terminal - -![](./images/database-connect.png) - -# Quick Install of PostgreSQL and MongoDB - -Installing PostgreSQL and MongoDB databases is similar to MySQL. You need to select the type of database in the basic configuration interface - -![](./images/database-select.png) diff --git a/docs/4.0/i18n/zh-Hans/Intro.md b/docs/4.0/i18n/zh-Hans/Intro.md index 3ecdc29af90..0fdaf97485d 100644 --- a/docs/4.0/i18n/zh-Hans/Intro.md +++ b/docs/4.0/i18n/zh-Hans/Intro.md @@ -1,4 +1,4 @@ -# 什么是 Sealos +# 什么是 Sealos? 云原生生态之庞大与复杂,无疑让许多企业感到手足无措,这个生态依然缺乏好用的、开箱即用的发行版。在云原生市场还急需一款云操作系统以进一步降低云原生门槛与成本。 diff --git a/docs/4.0/i18n/zh-Hans/current.json b/docs/4.0/i18n/zh-Hans/current.json index 3cde1f08ef0..e95b21af9fc 100644 --- a/docs/4.0/i18n/zh-Hans/current.json +++ b/docs/4.0/i18n/zh-Hans/current.json @@ -15,6 +15,10 @@ "message": "快速开始", "description": "The label for category Quick Start in sidebar docSidebar" }, + "sidebar.docSidebar.category.App Deployments": { + "message": "部署应用", + "description": "The label for category App Deployments in sidebar docSidebar" + }, "sidebar.docSidebar.category.Platform Components": { "message": "平台组件", "description": "The label for category Platform Components in sidebar docSidebar" diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/SCR-20230529-sokx.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/SCR-20230529-sokx.png similarity index 100% rename from docs/4.0/i18n/zh-Hans/quick-start/images/SCR-20230529-sokx.png rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/SCR-20230529-sokx.png diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/SCR-20230529-tlpi.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/SCR-20230529-tlpi.png similarity index 100% rename from docs/4.0/i18n/zh-Hans/quick-start/images/SCR-20230529-tlpi.png rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/SCR-20230529-tlpi.png diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/SCR-20230529-tpsc.jpg b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/SCR-20230529-tpsc.jpg similarity index 100% rename from docs/4.0/i18n/zh-Hans/quick-start/images/SCR-20230529-tpsc.jpg rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/SCR-20230529-tpsc.jpg diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/SCR-20230529-ualx.jpg b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/SCR-20230529-ualx.jpg similarity index 100% rename from docs/4.0/i18n/zh-Hans/quick-start/images/SCR-20230529-ualx.jpg rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/SCR-20230529-ualx.jpg diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/SCR-20230529-ubqj.jpg b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/SCR-20230529-ubqj.jpg similarity index 100% rename from docs/4.0/i18n/zh-Hans/quick-start/images/SCR-20230529-ubqj.jpg rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/SCR-20230529-ubqj.jpg diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/app-deployment-2.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-deployment-2.png similarity index 100% rename from docs/4.0/i18n/zh-Hans/quick-start/images/app-deployment-2.png rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-deployment-2.png diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/app-deployment-3.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-deployment-3.png similarity index 100% rename from docs/4.0/i18n/zh-Hans/quick-start/images/app-deployment-3.png rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-deployment-3.png diff --git a/docs/4.0/docs/quick-start/images/app-deployment.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-deployment.png similarity index 100% rename from docs/4.0/docs/quick-start/images/app-deployment.png rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-deployment.png diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/app-launchpad-1.jpg b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-launchpad-1.jpg similarity index 100% rename from docs/4.0/i18n/zh-Hans/quick-start/images/app-launchpad-1.jpg rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-launchpad-1.jpg diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/app-launchpad-zh.webp b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-launchpad-zh.webp similarity index 100% rename from docs/4.0/i18n/zh-Hans/quick-start/images/app-launchpad-zh.webp rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-launchpad-zh.webp diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/app-launchpad.jpg b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-launchpad.jpg similarity index 100% rename from docs/4.0/i18n/zh-Hans/quick-start/images/app-launchpad.jpg rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-launchpad.jpg diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/app-list-2.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-list-2.png similarity index 100% rename from docs/4.0/i18n/zh-Hans/quick-start/images/app-list-2.png rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-list-2.png diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/app-list.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-list.png similarity index 100% rename from docs/4.0/i18n/zh-Hans/quick-start/images/app-list.png rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-list.png diff --git a/docs/4.0/docs/quick-start/images/app-nginx.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-nginx.png similarity index 100% rename from docs/4.0/docs/quick-start/images/app-nginx.png rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-nginx.png diff --git a/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-url.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-url.png new file mode 100644 index 00000000000..7e36ad3b964 Binary files /dev/null and b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/app-url.png differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-configure.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-configure.png new file mode 100644 index 00000000000..2e3953ab44e Binary files /dev/null and b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-configure.png differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-connect.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-connect.png new file mode 100644 index 00000000000..c7d6e3a3b01 Binary files /dev/null and b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-connect.png differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/database-creating.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-creating.png similarity index 100% rename from docs/4.0/i18n/zh-Hans/quick-start/images/database-creating.png rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-creating.png diff --git a/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-launch.jpg b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-launch.jpg new file mode 100644 index 00000000000..ecbf33885d3 Binary files /dev/null and b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-launch.jpg differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-more.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-more.png new file mode 100644 index 00000000000..2e38550cc54 Binary files /dev/null and b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-more.png differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-select.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-select.png new file mode 100644 index 00000000000..12c77075f41 Binary files /dev/null and b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/database-select.png differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/deploy-template.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/deploy-template.png new file mode 100644 index 00000000000..8dbd671ca11 Binary files /dev/null and b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/deploy-template.png differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/nginx.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/nginx.png similarity index 100% rename from docs/4.0/i18n/zh-Hans/quick-start/images/nginx.png rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/nginx.png diff --git a/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/template-detail.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/template-detail.png new file mode 100644 index 00000000000..d17b41b7094 Binary files /dev/null and b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/template-detail.png differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/templates-2.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/templates-2.png new file mode 100644 index 00000000000..f2df81fe93e Binary files /dev/null and b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/templates-2.png differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/templates.jpg b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/templates.jpg new file mode 100644 index 00000000000..4bb9dc03c3e Binary files /dev/null and b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/templates.jpg differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/terminal.png b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/terminal.png similarity index 100% rename from docs/4.0/i18n/zh-Hans/quick-start/images/terminal.png rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/images/terminal.png diff --git a/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/install-db-with-database.md b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/install-db-with-database.md new file mode 100644 index 00000000000..6c019cae9af --- /dev/null +++ b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/install-db-with-database.md @@ -0,0 +1,33 @@ +--- +sidebar_position: 4 +--- + +# 安装数据库应用 + +数据库是数据管理的重要手段 , 可用于高效地存储和访问数据。Sealos 提供了一个简单易用的数据库前端应用,屏蔽了繁琐的命令行操作,帮助你管理关系数据库、NoSQL、向量数据库和流数据库等各种类型的数据库。你只需通过「[数据库](../../platform-components/dbprovider/dbprovider.md)」应用就能轻松创建各种数据库,包括 MySQL、PostgreSQL、MongoDB、Redis 等多种类型的数据库。 + +下面将通过示例来演示 Sealos 如何快速安装 MySQL。 + +# 快速安装 MySQL + +1. 在 [Sealos](https://cloud.sealos.top) 桌面环境中打开数据库。 + +![](./images/database-launch.jpg) + +2. 点击新建数据库,完成基础配置设置。 + +![](./images/database-configure.png) + +3. 点击「部署」,然后点击「确认」等待数据库创建成功。 + +![](./images/database-more.png) + +4. 点击一键连接,就可以直接打开「[终端](../../platform-components/terminal/terminal.md)」应用进入数据库的命令行终端。 + +![](./images/database-connect.png) + +# 快速安装 PostgreSQL 和 MongoDB + +PostgreSQL 和 MongoDB 数据库的安装和 MySQL 类似,需要在基础配置界面选择相应的数据库类型。 + +![](./images/database-select.png) diff --git a/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/use-a-template.md b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/use-a-template.md new file mode 100644 index 00000000000..bc0d79ac8dd --- /dev/null +++ b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/use-a-template.md @@ -0,0 +1,34 @@ +--- +sidebar_position: 1 +--- + +# 使用模板 + +这篇文档将会向您展示如何使用应用模板来快速安装各种分布式应用,并最大限度地发挥 Sealos 的功能。 + +## 1. 选择模板 + +首先在 [Sealos](https://cloud.sealos.top) 桌面环境中打开「模板市场」。 + +![](./images/templates.jpg) + +选择自己想要部署的应用模板。 + +![查看模板市场](./images/templates-2.png) + +不知道部署哪个应用?可以试试 [FastGPT AI 知识库](../../examples/ai-applications/install-fastgpt-on-desktop.md) + +## 2. 将模板应用部署到 Sealos + +选择模板之后,设置好相应的参数值,点击「部署应用」按钮开始部署。 + +![将模板部署到 Sealos](./images/deploy-template.png) + +部署完成后,点击「确认」跳转到应用详情。 + +![](./images/template-detail.png) + +等待应用的状态变成 `running` 之后,点击外网地址即可通过外网域名直接打开应用的 Web 界面。 + +![](./images/app-url.png) + diff --git a/docs/4.0/i18n/zh-Hans/quick-start/install-apps-with-app-launchpad.md b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/use-app-launchpad.md similarity index 86% rename from docs/4.0/i18n/zh-Hans/quick-start/install-apps-with-app-launchpad.md rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/use-app-launchpad.md index 3d8a673a240..3547fc786c0 100644 --- a/docs/4.0/i18n/zh-Hans/quick-start/install-apps-with-app-launchpad.md +++ b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/use-app-launchpad.md @@ -1,18 +1,18 @@ --- -sidebar_position: 1 +sidebar_position: 2 --- -# 在应用管理中快速安装应用 +# 使用应用管理 Sealos 的桌面环境类似于单机操作系统 macOS 或 Windows 的桌面环境,桌面上的每个图标都是一个 App,类似于 Windows 的快捷方式。与单机操作系统一样,Sealos 也有系统自带的 App,要想在这个云操作系统中快速安装应用,就需要用到系统自带的 App:**应用管理**。 -关于应用管理的详细信息请参阅 [应用管理介绍](../platform-components/applaunchpad/applaunchpad.md) +> 关于应用管理的详细信息请参阅 [应用管理介绍](../../platform-components/applaunchpad/applaunchpad.md) -> 下面将演示如何在 Sealos 云操作系统中快速安装一些比较常见的应用。 +下面将演示如何在 Sealos 云操作系统中快速安装一些比较常见的应用。 ## 快速安装 Nginx -首先在 [Sealos](https://cloud.sealos.io) 桌面环境中打开**应用管理**。 +首先在 [Sealos](https://cloud.sealos.top) 桌面环境中打开**应用管理**。 ![](./images/app-launchpad-zh.webp) diff --git a/docs/4.0/i18n/zh-Hans/quick-start/install-apps-with-terminal.md b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/use-terminal.md similarity index 91% rename from docs/4.0/i18n/zh-Hans/quick-start/install-apps-with-terminal.md rename to docs/4.0/i18n/zh-Hans/quick-start/app-deployments/use-terminal.md index 6e82ba901e9..680d55453e0 100644 --- a/docs/4.0/i18n/zh-Hans/quick-start/install-apps-with-terminal.md +++ b/docs/4.0/i18n/zh-Hans/quick-start/app-deployments/use-terminal.md @@ -1,12 +1,12 @@ --- -sidebar_position: 2 +sidebar_position: 3 --- -# 使用终端快速安装应用 +# 使用终端 -熟悉 Kubernetes 和容器基础知识的用户可以选择使用终端命令行来部署应用。本文以 Nginx 为例,介绍如何使用终端来部署应用。 +熟悉 Kubernetes 和容器基础知识的用户可以选择使用「[终端](../../platform-components/terminal/terminal.md)」命令行来部署应用。本文以 Nginx 为例,介绍如何使用终端来部署应用。 -首先在 [Sealos](https://cloud.sealos.io) 桌面环境中打开终端 App。 +首先在 [Sealos](https://cloud.sealos.top) 桌面环境中打开终端 App。 ![](./images/app-launchpad-1.jpg) @@ -140,7 +140,7 @@ metadata: name: nginx spec: rules: - - host: nginx.cloud.sealos.io + - host: nginx.cloud.sealos.top http: paths: - backend: @@ -152,7 +152,7 @@ spec: pathType: Prefix tls: - hosts: - - nginx.cloud.sealos.io + - nginx.cloud.sealos.top secretName: wildcard-cloud-sealos-io-cert ``` diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/app-deployment.png b/docs/4.0/i18n/zh-Hans/quick-start/images/app-deployment.png deleted file mode 100644 index 2f2429e965d..00000000000 Binary files a/docs/4.0/i18n/zh-Hans/quick-start/images/app-deployment.png and /dev/null differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/app-nginx.png b/docs/4.0/i18n/zh-Hans/quick-start/images/app-nginx.png deleted file mode 100644 index 8948883dd40..00000000000 Binary files a/docs/4.0/i18n/zh-Hans/quick-start/images/app-nginx.png and /dev/null differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/database-configure.png b/docs/4.0/i18n/zh-Hans/quick-start/images/database-configure.png deleted file mode 100644 index 118b7e1bf78..00000000000 Binary files a/docs/4.0/i18n/zh-Hans/quick-start/images/database-configure.png and /dev/null differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/database-connect.png b/docs/4.0/i18n/zh-Hans/quick-start/images/database-connect.png deleted file mode 100644 index 972133a0655..00000000000 Binary files a/docs/4.0/i18n/zh-Hans/quick-start/images/database-connect.png and /dev/null differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/database-launch.png b/docs/4.0/i18n/zh-Hans/quick-start/images/database-launch.png deleted file mode 100644 index a40d4d802a5..00000000000 Binary files a/docs/4.0/i18n/zh-Hans/quick-start/images/database-launch.png and /dev/null differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/database-more1.png b/docs/4.0/i18n/zh-Hans/quick-start/images/database-more1.png deleted file mode 100644 index c26df2e99c2..00000000000 Binary files a/docs/4.0/i18n/zh-Hans/quick-start/images/database-more1.png and /dev/null differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/database-more2.png b/docs/4.0/i18n/zh-Hans/quick-start/images/database-more2.png deleted file mode 100644 index 77fb8ce72c9..00000000000 Binary files a/docs/4.0/i18n/zh-Hans/quick-start/images/database-more2.png and /dev/null differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/images/database-select.png b/docs/4.0/i18n/zh-Hans/quick-start/images/database-select.png deleted file mode 100644 index 809f1d2b9e3..00000000000 Binary files a/docs/4.0/i18n/zh-Hans/quick-start/images/database-select.png and /dev/null differ diff --git a/docs/4.0/i18n/zh-Hans/quick-start/install-db-with-database.md b/docs/4.0/i18n/zh-Hans/quick-start/install-db-with-database.md deleted file mode 100644 index 156bb57b33b..00000000000 --- a/docs/4.0/i18n/zh-Hans/quick-start/install-db-with-database.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -sidebar_position: 3 ---- - -# 使用数据库快速安装 MySQL/PostgreSQL/MongDB - -数据库是数据管理的重要手段 , 可用于高效地存储和访问数据。MySQL、PostgreSQL 和 MongoDB 都是重要的数据库管理系统。 - -* MySQL 是一个开源的关系型数据库管理系统,具有高性能、高可靠性和可扩展性的特点,同时也支持标准化的 SQL 语言和扩展的 SQL 语法。 - -* PostgreSQL 也是一个开源的关系型数据库管理系统,可以进行事务、并发控制和多版本控制,这些特性让 PostgreSQL 成为一个可靠、高效、安全的数据库解决方案。 - -* MongoDB 是一个基于文档存储的 NoSQL 数据库管理系统,支持灵活的数据建模、快速的读写速度,而且易于水平扩展,可以根据需求进行横向扩展,提供更好的性能和可用性。 - -> Sealos 对数据库的快捷安装与配置具有良好的支持,下面将用例子来演示 Sealos 如何快速安装 MySQL - -# 快速安装 MySQL - -1. 在 [Sealos](https://cloud.sealos.io) 桌面环境中打开数据库 - -![](./images/database-launch.png) - -2. 点击新建数据库,完成基础配置设置 - -![](./images/database-configure.png) - -3. 点击部署集群,等待集群创建成功 - -![](./images/database-creating.png) - -4. 集群创建成功后,点击详情查看更多细节 - -![](./images/database-more1.png) - -![](./images/database-more2.png) - -5. 点击一键连接,就可以在命令行使用了 - -![](./images/database-connect.png) - -# 快速安装 PostgreSQL 和 MongoDB - -PostgreSQL 和 MongoDB 数据库的安装和 MySQL 类似,需要在基础配置界面选择数据库的类型 - -![](./images/database-select.png) diff --git a/docs/4.0/sidebar.json b/docs/4.0/sidebar.json index 0734353f296..34df62f6468 100644 --- a/docs/4.0/sidebar.json +++ b/docs/4.0/sidebar.json @@ -8,8 +8,17 @@ }, "items": [ { - "type": "autogenerated", - "dirName": "quick-start" + "type": "category", + "label": "App Deployments", + "link": { + "type": "generated-index" + }, + "items": [ + { + "type": "autogenerated", + "dirName": "quick-start/app-deployments" + } + ] } ] },