Install DiscuzX3.0 on SinaAppEngine

Source: Internet
Author: User
SinaAppEngine is a cloud computing platform launched by Sina. Currently, it only supports PHP. This article describes how to install DiscuzX2.3SinaAppEngine (SAE) on SinaAppEngine, which is a core component of the open cloud computing platform developed and operated by Sina. The goal of SAE is to achieve seamless integration of Internet applications in development and O & M, and to provide developers

Sina App Engine is a cloud computing platform launched by Sina. Currently, it only supports PHP. This article describes how to install DiscuzX 2.3 on Sina AppEngine.

Sina AppEngine (SAE) is a core component of an open cloud computing platform developed and operated by Sina. SAE aims to achieve seamless integration of Internet applications in development and O & M, provide stable, fast, transparent, and controllable service-based platforms for App developers, and reduce developers' development and maintenance costs. Meanwhile, through quantification of resource consumption, the development process is reversed to promote the quality improvement of Sina's Internet application services.

DiscuzX3.0 for SAE installation instructions

Image Attachments are stored in SAE storage, and templates and data are cached using memcache.

Support connecting the master/slave databases of sae

The database backup function is not processed. if you want to perform database backup and other operations, please use the DeferredJob and PHPMyAdmin provided in the sae application management.

If a new version or patch of Discuzx appears on the official website, upgrade it with caution. these may not apply to SAE.

DiscuzX2.0 for SAEhttp: // code.google.com/p/DiscuzX4sae/downloads/list (proxy access)

 

Installation and configuration instructions

1. Upload files

Upload files to the created SAE project directory through the sae SDK, SAESDK: http://sae.sina.com.cn /? M = sdk

2. initialize the sae application configuration

Log on to sae, open the database in the management panel, enable memcache (10 m), and create a storage named discuzx. The three are indispensable.

3. install Discuz! X

Go to the install directory, http://appname.sinaapp.com/install/

During installation, ignore the environment persistence prompt. Enter your username and password without modifying the database configuration.

4. log on to the Discuzx background and update the cache.

Procedure: tools, update cache, and OK.

5. run uploadimg. php to upload the discuzx image to storage.

Access uploadimg. php in the root directory to upload images to storage. The reason is that the css cache file used by discuzx is stored in storage, while the image in css uses a relative path. Therefore, the image must be uploaded to storage. The uploadimg. php file can be deleted after being executed once.

If this step is not performed, there will be a style missing image when accessing the front-end page. After the display is complete, the display will be beautiful.

If you are in a hurry, you will be able to visit various pages at this step! But do not forget the subsequent operations. the subsequent operations are related to security. Of course, there is no need to perform subsequent troublesome operations if it is just an experience.

========== Split line. if you only need to experience the service, do not perform the following steps ============

6. security operationsWork

Use the sae sdk to modify the Ucenter administrator password

Modify the ucenter administrator password in/ucenter/data/config. inc. php,

UCenter administrator code generation tool: modify the configuration file/ucenter/data/config. inc. php according to the generated content:

Http://1.discuz4sae.sinaapp.com/ucenter/reset.php

Modify the Ucenter founder password. Modify the following two rows:

Define ('UC _ FOUNDERPW ','... ');

Define ('UC _ FOUNDERSALT ','... ');

Modify application communication key

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 ~

Define ('UC _ key ','... ');

Delete install/index. php. operation method: delete install/index. php locally, and then update and upload through SDK. Remember not to forget to delete it. Otherwise, if it is installed again, you will be stunned.

Now, the entire installation process is complete. Do not forget to enable the QQ connection and Xweibo plug-in the plug-in ~.

Appendix: If Sina xweibo plug-in is enabled, go to the http://open.weibo.com to apply for appkey, and then modify it in/wxb/app. cfg. php

Define ('xwb _ APP_KEY ','... ');

Define ('xwb _ APP_SECRET_KEY ','... ');

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.