This tutorial is a little more step-by-step than setting up a WP blog in the previous Sae, but it is still relatively simple in general. You can simply follow the tutorial step by step.
Demo Forum:Http://discuzx.sinaapp.com/
The premise is to register an sae account. [Click here for the registration link].
Download the exclusive discuz version of SAE after registration.
Discuz! X2 for sae1:
Discuz! X2 for sae2:
Then, use SAE to upload the file to the space.For more information about the SAE method, see upload topic files to a blog created by Sina App Engine through SDK.
SDK: http://sae.sina.com.cn /? M = SDK
When uploading a file, you may encounter no version. First, create a new version in the SAE background, for example:
After creating the SDK, log on to the SDK again. Click the version on the left to download the default index. PHP to local, right-click and select Open Directory, copy the downloaded DX file, and then upload the file, such:
Next, initialize the SAE application configuration.
Log on to Sae, open the database in the Management Panel, enable memcache (10 MB), and create a storage named discuzx (public, do not create a private domain ). The three are indispensable.
Install discuz! X
Go to the install directory, http://appname.sinaapp.com/install/
During the installation process, ignore the prompt that the environment is not supported and directly go to the next step. Enter your username and password. You do not need to modify the configuration of the database information (we recommend that you do not modify the table prefix because many subsequent operations require the default prefix ).
Log on to the discuzx background and update the cache.
Procedure: Tools, update cache, and OK.
Log on to sae and go to MySQL Management (phpMyAdmin)
Click database of the application, select SQL, and execute the cloud platform to fix the SQL statement. The message is displayed as follows :)
To avoid the error of posting to the Blog Code, download the attachment to view the code content (the following two are downloaded as the same file)
Continue SQL Execution
Execute this SQL statement to solve the problem that album art cannot be set. The SQL statement (the Code is as follows :)
To avoid code errors when posting to a blog, download the attachment to view the code content (the two download files are the same file)
Modify config. yaml and configure rewrite rules. Otherwise, the page cannot be accessed normally (CSS uses rewrite ).The first few lines do not need to be modified. Just add the part starting with handle.
Edit Method 1:
Refer to this article to directly edit it locally. recommended method 2 is not expensive.
Edit Method 2:
Refer to the article "Configuring fixed links for WordPress built by Sina App Engine.
The content to be edited is as follows:
To avoid the error of posting to the Blog Code, download the attachment to view the code content (the above two are downloaded as the same file)
The page is displayed as normal. Next, proceed to the following operations to modify the ucenter settings.
Execute uploadimg. php to write crossdomain. XML to storage, and support flash cross-origin operations stor.
You do not need to care about the warning prompt. The operation is completed when the over command is displayed.
Use the sae sdk to modify the ucenter administrator password
Modify the ucenter administrator password in/uc_server/data/config. Inc. php,
Ucenter administrator code generation tool: According to the generated content to modify the configuration file/uc_server/data/config. Inc. php: http://1.discuz4sae.sinaapp.com/ucenter/reset.php to modify the ucenter founder password.
Modifies the ucenter Application Communication Key and supports application communication.
After changing the ucenter password, log on to the background and go to ucenter. In application management, select the application you just installed.
Copy the communication password and modify/config/config_ucenter.php. After the modification, the application will be able to communicate successfully ~
The software has been installed. Please try it now!
Reminder: 1. The latest official patch may not be suitable for Sae and must be upgraded with caution. 2. It is not necessary to install plug-ins. Sae is not necessarily supported. 3. Link to the original tutorial.