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

 

Vietnamese Calendar 4.0- Cuốn sổ lịch Việt cho máy tính

Vietnamese Calendar 4.0 (tác giả Phan Anh Tú) là một cuốn lịch sổ Việt với các chức năng hữu ích giúp bạn quản lý thời gian hiệu quả hơn ngay trên máy tính.

Kỹ thuật làm Theming với Others Theme Team trong Drupal 7

On larger projects it is likely that you be working with at least one other person on front-end tasks. This can be a great learning experience and be helpful to your developers too.

Thuê bao VinaPhone đã sử dụng được trên máy bay

Thuê bao VinaPhone đã sử dụng được trên máy bay

Ngày 12/7, VinaPhone đã chính thức cung cấp dịch vụ gọi điện thoại hoặc nhắn tin khi đang bay trên một số tuyến bay quốc tế. Hiện tại, dịch vụ này mới chỉ triển khai dành cho thuê bao trả sau.

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

 

Diet con trung