Phần 2: Quản lý các Drupal sites với AEgir rất tiện lợi

Phần 2: Quản lý các Drupal sites với AEgir rất tiện lợi

Now that weʼve got our AEgir instance setup and running, you may be asking yourself, “what now?” AEgir can be somewhat perplexing if youʼre unfamiliar with the multisite file structure so weʼll start by discussing some of the terminology.

Sites are exactly what they sound like. These are the individual Drupal instances hosted on your AEgir install. Each site has its own database and is treated as a completely separate Drupal instance although they share the same codebase within the platform theyʼre installed on.

Platforms are the different Drupal profiles available to you when creating sites. Multiple sites can share a platform. It is important to remember that when updating a platform, youʼre updating every site that uses it.

Phần 2: Quản lý các Drupal sites với AEgir rất tiện lợi

IMPORTING AN EXISTING DRUPAL SITE

  1. Upload your entire core into the /var/aegir/platforms/platorm_name folder.
  2. From your AEgir dashboard add a new platform and make sure you set the publish path to the /var/aegir/platforms/platorm_name folder.
  3. Add a new site using the newly created platform. Weʼll call it www.yoursite.com.
  4. Move all site files from sites/default/files to sites/www.yoursite.com/files.
  5. Use drush or backup_migrate to import the websites database.
  6. Use the AEgir migrate task to change the path of the site from www.yoursite.com to www2.yoursite.com and then back. (This will help correctly reset all file paths in the database)
Bạn thấy bài viết này như thế nào?: 
Average: 5 (1 vote)
Ảnh của Tommy Tran

Tommy owner Express Magazine

Drupal Developer having 9+ year experience, implementation and having strong knowledge of technical specifications, workflow development. Ability to perform effectively and efficiently in team and individually. Always enthusiastic and interseted to study new technologies

  • Skype ID: tthanhthuy

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Hướng dẫn sử dụng Drupal Context.module

Hướng dẫn sử dụng Drupal Context.module

In this blog, we are going to introduce to you to the Context module, which puts the power of "If ..., then ..." into your hands.

Ý kiến Git và Bash aliases từ Alex Pott đang làm ở Chapter Three

Ý kiến Git và Bash aliases từ Alex Pott đang làm ở Chapter Three

I create a branch for every Drupal core issue that I work on and use the issue’s node id as a branch name. For example:

Cặp đôi đẹp giữa 1m26 và 1m75

Cặp đôi đẹp giữa 1m26 và 1m75

Bỏ qua những cặp mắt tò mò và ái ngại, cặp đôi chênh lệch nhau tới nửa mét này vẫn cực kỳ hạnh phúc khi ở bên nhau.

Công ty diệt chuột T&C

 

Diet con trung