Chia Sẽ Kinh Nghiệm Về IT



Tìm Kiếm Với Google
-


Gởi Ðề Tài Mới  Gửi trả lời
 
Công Cụ Xếp Bài
Tuổi 25-07-2022, 09:19 AM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
Hướng dẫn clone hoặc cài đặt Magento on Ubuntu
1. Hướng dẫn cài đặt Magento on Ubuntu

https://www.mageplaza.com/devdocs/ho...apache2-server

https://www.mageplaza.com/devdocs/ho...tep-76-install

2. Hướng dẫn clone lại Magento khi đã có sẳn

1. Tao lai db

mysql -uroot -p

CREATE USER 'quantridb'@'localhost' IDENTIFIED WITH mysql_native_password BY '@@m0d1fyth15K';
CREATE DATABASE quantridb;
GRANT ALL PRIVILEGES ON quantridb.* TO 'quantridb'@'localhost';
FLUSH PRIVILEGES;


2. Xóa cahe

cd /root
rm -rf .*
rm -rf *

3. Cai dat voi ten mien: magento.quantrinet.com

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition magento.quantrinet.com




cd /var/www/html/magento.quantrinet.com/

sudo bin/magento setup:install \
--base-url=http://magento.quantrinet.com \
--db-host=localhost \
--db-name=quantridb \
--db-user=quantridb \
--db-password=@@m0d1fyth15K \
--admin-firstname=admin \
--admin-lastname=admin \
--admin-email=admin@magento.quantrinet.com \
--admin-user=admin \
--admin-password=@@m0d1fyth15K \
--language=en_US \
--currency=USD \
--timezone=America/Chicago \
--use-rewrites=1


Sau đó trên màn hình cài đặt sẽ hiện thông tin đăng nhập Admin Magento dạng sau:


http://magento.quantrinet.com/admin_11dlut
username: admin
password: @@m0d1fyth15K




Chúc các bạn thành công
  Trả lời ngay kèm theo trích dẫn này
Gửi trả lời


Công Cụ
Xếp Bài

Quyền Hạn Của Bạn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Hình Cảm xúc đang Mở
[IMG] đang Mở
Mã HTML đang Tắt




Bây giờ là 03:35 AM. Giờ GMT +7



Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.