1

*Modify the MySQL configuration parameters for WordPress.
*

cd /var/www/html/wordpress
cp wp-config-sample.php wp-config.php
vim wp-config.php

*Update the wp-config.php file with the database details:
*

define(‘DB_NAME’, ‘wordpress’);
defi…


This content originally appeared on DEV Community and was authored by Özcan Kara

*Modify the MySQL configuration parameters for WordPress.
*

cd /var/www/html/wordpress
cp wp-config-sample.php wp-config.php
vim wp-config.php

*Update the wp-config.php file with the database details:
*

define('DB_NAME', 'wordpress');
define('DB_USER', 'root');
define('DB_PASSWORD', 'Huawei@123');
define('DB_HOST', 'ecs-mysql-private-IP');

*Start Apache Service:
*

systemctl start httpd
chown -R apache:apache /var/www/html/*

WordPress dosya dizinine gidin:

cd /var/www/html/wordpress

cp wp-config-sample.php wp-config.php


vim wp-config.php


define('DB_NAME', 'wordpress');
define('DB_USER', 'root');
define('DB_PASSWORD', 'Huawei@123');
define('DB_HOST', 'ecs-mysql-private-IP');

systemctl start httpd

chown -R apache:apache /var/www/html/*

Task 2: SMS Aracı ile ECS Makineleri Taşıma
Adım 1: ECS Makinelerini Taşıma
Huawei Cloud Konsolu’na giriş yapın ve SMS (Server Migration Service) aracına gidin.
Yeni bir taşıma görevi oluşturun:
Kaynak olarak mevcut ECS’yi (ecs-wordpress) seçin.
Hedef olarak yeni ECS’yi (ecs-wordpress-1) seçin.
Hedef ECS’yi AP-Singapore bölgesinde oluşturun.
Geçiş hızını 20 MB/s olarak ayarlayın.
Geçiş işlemini başlatın ve süreci izleyin.
Task 3: OMS Aracı ile Verileri Taşıma
Adım 1: Verileri Taşıma
Huawei Cloud Konsolu’na giriş yapın ve OMS (Object Storage Migration Service) aracına gidin.
Yeni bir taşıma görevi oluşturun:
Kaynak olarak AP-Singapore bölgesindeki ilk görevde oluşturulan bucket'ı seçin.
Hedef olarak yeni oluşturduğunuz bucket'ı seçin.
Taşıma işlemini başlatın ve tamamlanmasını bekleyin.
Task 4: RDS (MySQL) Veritabanı Oluşturma ve Veri Taşıma
Adım 1: RDS MySQL Veritabanı Oluşturma
Huawei Cloud Konsolu’na giriş yapın ve RDS (Relational Database Service) bölümüne gidin.
Yeni bir RDS (MySQL) DB instance oluşturun:
Adı RDS-mysql olarak belirleyin.
Bölge olarak AP-Singapore seçin.
Oluşturma işlemine devam edin ve tamamlanmasını bekleyin.
Adım 2: DRS Aracı ile MySQL Verilerini Taşıma
Huawei Cloud Konsolu’na gidin ve DRS (Data Replication Service) aracını açın.
Gerçek zamanlı veri taşıma görevi oluşturun:
Kaynak olarak ECS üzerindeki MySQL veritabanını seçin (ecs-mysql).
Hedef olarak yeni oluşturduğunuz RDS instance’ını seçin (RDS-mysql).
Taşıma işlemini başlatın ve süreci izleyin.


This content originally appeared on DEV Community and was authored by Özcan Kara


Print Share Comment Cite Upload Translate Updates
APA

Özcan Kara | Sciencx (2024-08-14T22:50:18+00:00) 1. Retrieved from https://www.scien.cx/2024/08/14/1/

MLA
" » 1." Özcan Kara | Sciencx - Wednesday August 14, 2024, https://www.scien.cx/2024/08/14/1/
HARVARD
Özcan Kara | Sciencx Wednesday August 14, 2024 » 1., viewed ,<https://www.scien.cx/2024/08/14/1/>
VANCOUVER
Özcan Kara | Sciencx - » 1. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/08/14/1/
CHICAGO
" » 1." Özcan Kara | Sciencx - Accessed . https://www.scien.cx/2024/08/14/1/
IEEE
" » 1." Özcan Kara | Sciencx [Online]. Available: https://www.scien.cx/2024/08/14/1/. [Accessed: ]
rf:citation
» 1 | Özcan Kara | Sciencx | https://www.scien.cx/2024/08/14/1/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.