Tạo 1 blog với Wordpressnet cũng chưa mò được hết, vì ko rành về mấy vụ host, database và code này, nhưng nói chung cũng đã làm xong cho mình 1 cái gọi là.... Cuối cùng là tạo Database,
Trang 1Tạo 1 blog với Wordpress
net cũng chưa mò được hết, vì ko rành về mấy vụ host, database và code này, nhưng nói chung cũng đã làm xong cho mình 1 cái gọi là cho = anh bằng chị Củm ơn sự hướng dẫn nhiệt tình của Incomplete
-1 Đầu tiên bạn cần 1 host có hộ trợ php, mysql qua sự quảng cáo của Incomplete, net giới thiệu cho các bạn host http://www.byethost.com
Link signup:http://byethost.com/index.php?page=signup
Quote:
Free Hosting Signup
Thank you for choosing Byethost.com free hosting
Please fill out the registration form below to apply for your free hosting account
First Name: Tên
Last Name: Họ
Email Address: địa chỉ mail
Trang 2Address 1: ko cần
Address 2: ko cần
Address 3: ko cần
Zip / Post Code: ko cần
Country: ko cần
Site Description: thông tin về website (phải có)
(Max 255 Characters)
UserName (UserName.Byethost.com): tên account Chosen plan: chọn 1 trong 1 plan sau:
-Storage Max Free
-Traffic Master Free
-MySQL Pro Free
-Sub Domain Commander Free
Have you read the terms of service ? đánh dấu Yes
Do you agree with the terms of service ? đánh dấu Yes
Security Code: hình mã số
Enter Security Code: type lại giống như hình trên
Chọn Submit
2 Check mail và nhận được bảng sau
Code:
Trang 3-Cpanel Username: net10.byethost31.com < đây là domain
Cpanel Password: xxxxxxxxxxxxxxx
Your URL: net10.byethost31.com
FTP IP : 206.222.xx.xxx
FTP Login : MUST CREATE IN CPANEL
FTP Password : MUST CREATE IN CPANEL
MySQL Database Name: MUST CREATE IN CPANEL
MySQL Username : MUST CREATE IN CPANEL
MySQL Password : MUST CREATE IN CPANEL
MySQL Server: localhost
Cpanel URL: http://www.cpanel.byethost31.com < vào đây để tiếp tục
-Note: số phía sau byethost thay đổi tùy theo mỗi lần signup.
3 Khi vào Cpanel, đăng nhập Username: user.byethost##.com (nhớ copy đủ nguyên cái domain vào) + pass
Vào rùi thì trong menu General Infomation có phần change password
Tiếp vào menu FTP Accounts - Add FTP User Khi tạo xong nó, lúc dùng
Trang 4FTP cilent thì sự dụng FTP IP nó cho trong email, và Username:
ftp-user@user.byethost##.com và password Upload vào trong htdocs là có thể coi trên trang web
Cuối cùng là tạo Database, vào menu Manage SQL - Add SQL database, cho database 1 cái name - Add(mấy cái check có thể cho qua), rùi vào lại menu Manage SQL - Overview - Add SQL User ở cột bên phải (username, pass,
ko cần check gì cả) - Add là hoàn thành
-Xong phần tạo host, tiếp tục tới blog -
4 Download file sau:http://wordpress.org/latest.zip về giải nén được 1 folder wordpress
5 Vào folder mở file wp-config-sample.php bằng notepad
Code:
<?php
// ** MySQL settings ** //
define('DB_NAME', 'Database name'); // The name of the database
define('DB_USER', 'Database User'); // Your MySQL username
define('DB_PASSWORD', 'Databse user password'); // and password
define('DB_HOST', 'localhost < - hầu như ko phải thay đổi'); // 99%
chance you won't need to change this value
// You can have multiple installations in one database if you give each a unique prefix
Trang 5$table_prefix = 'wp_'; // Only numbers, letters, and underscores please!
// Change this to localize WordPress A corresponding MO file for the
// chosen language must be installed to wp-includes/languages
// For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
// to enable German language support
define ('WPLANG', '');
/* That's all, stop editing! Happy blogging */
define('ABSPATH', dirname( FILE ).'/');
require_once(ABSPATH.'wp-settings.php');
?>
Thay đổi thông tin những phần gạch dưới bằng info làm ở bước 3 Save file lại với tên wp-config.php
6 Login vào FTP, vào htdocs và upload hết các file + thư mục trong folder wordpress lên đợi upload
7 Sau khi upload xong hết thì vào
hxxp://user.byethost##.com/wp-admin/install.php và thực hiện các bước theo hướng dẫn
Trang 6- Click First Step để tiếp tục
- Chọn 1 cái title cho blog (vd: my personal page) và nhập email của mình vào Countinue to Second step
Quote:
Second Step
Now we’re going to create the database tables and fill them with some default data
Finished!
Now you can log in with theusername "admin" and password "a7d534"
Note that password carefully! It is a random password that was generated just for you If you lose it, you will have to delete the tables from the
database yourself, and re-install WordPress So to review:
Username
admin
Password
a7d534
Login address
wp-login.php
Were you expecting more steps? Sorry to disappoint All done!
Trang 78 Giờ vào hxxp://user.byethost##.com/wp-login.php nhập user: admin & pass và login Bây giờ bạn đã setup xong xuôi blog và đang ở "trung tâm điều khiển"
Blog của bạn có dạng sau: http://net10.byethost31.com/
- Làm việc với Blog -
9 Sau khi login, và ngay phần Users để điền các thông tin cần thiết và đổi
password Update profile Nên xem qua phần Author & Users cũng trong phần Users
10 Vào tiếp phần Options chỉnh sửa các thông tin căn bản về blog, writing, reading (nếu post thường dài thì setup phần này ít post thôi, mất công bị kéo dài blog sẽ rất xấu)
11 Write: đây là phần bạn sẽ viết bài gửi lên blog của mình Có 2 phần 1 là write post, 2 là write page Write post thì nó sẽ nằm ở phần body như khi các bạn vào blog của mình thấy cái Hello World Còn Write page thì sẽ tạo thành 1 trang mới (để click, đọc riêng), thường là nằm ở navigation hoặc các bạn để trong post Bên trái phần Write là categories, post status (click vào dấu + để lựa chọn Để dễ dàng bạn nên tìm hiểu sơ qua về html code, vì phần post luôn dùng code này
12 Manage: Ở đây bạn có thể delete, edit post/page quản lý (tạo/delete) các categories/comments/
Trang 813 Dashboard/Links/Import các bạn tự tìm hiểu hen
14 Presentation: là phần để bạn quản lý theme, cũng như chỉnh sửa các code theo ý thích của mình Bạn có thể download thêm theme tại đây
http://wordpress.org/extend/themes/ hoặc tìm hiểu qua
http://codex.wordpress.org/Using_Themes/Theme_List Upload theme thì
vào FTP trong folder /wp-content/themes/ tạo riêng 1 folder cho theme và
upload hết vào đó Ai rành về code thì chắc thấy dễ lém với phần edit, còn với net thì cái này hơn tra tấn nhưng bài viết sau net sẽ cố hướng dẫn
sơ vụ này với theme Blix
http://wordpress.org/extend/themes/themes.php#blix qua bài viết kế tiếp