http://nguyenthanhdien.com, http://truongdaynghe.net, http://hungvuongtech.edu.vn
Trang 1Chuan bi :
Budi 4 bài 7 restore
- source backup.zip
- Apache running
- Mysql running
Restore source
XAMPP Control Panel Application (fel)
XAMPP Control Panel {Shell _]
4] (Apache Friends Edition)
]svc Apache Running | stop | | Admin | | Explore |
]svc MySql Running [ stop | [ Admin |] scm |
Jsve Filezilla
VG Tomeat Start
xMPP for Windows Version 1.7.3 “a
indows S.1 Build 2600 Platform Z Serfice Pack 3 5 arrent Directory: C:\xampp
tatus Check OR
asy
vache started assy
rSQL started
Trang 2
Open Explore
SeExtract files
SeExtract Here BSeExtract to webl\
Save to Tentacles (af Edit with Notepad++
Open With
Adobe Drive C54
Send To
Cut
Create Shortcut Delete
Rename
Properties
Copy vô htdocs giải nén ra đó
BA"
Explore
SeExtract files
BSeExtract to web11
Save to Tentacles (ef Edit with Notepad++
Adobe Drive C54 »
Send To >
Cut
Copy
Create Shortcut Delete
Rename
Properties
Restore database
Trang 3Pere ene Application
¬ XAMPP Control Panel Shell
(Apache Friends Edition)
he []Sve Apache Running | stop | | Admin | | Explore |
Llsvc MySql Running [| stop | [ Admn | [ scm |}
is [Sve FileZilla
“ÍL ]svc Mercury
Admin
XAMPP £or Windows Version 1
Windows 5.1 Build 2600 Pla
Current Directory:
Status Check OR
Busy
Apache started
Busy
orm Z Service Pack 3
Tao database rồng
0 utf8_czech_ci a
MySQL connection collati utf@ danish ci v
utf68_esperanto_ci
_— _ M8 qeneral_ci
“ Language @: English utf8_hungarian_ci
utf6_icelandic_ci
@ Theme / Style: Original utf8_latvian_ci
utf8_lithuanian_ci
> Custom color: 2 Reset ut8_persian_c
> Font size: 92% xw utf8_polish_ci
utf8_roman_ci utf68_romanian_ci utf8_slovak_ci
utf6_slovenian_ci utfé_spanish2_ci utf6_spanish_ci utf8_swedish_ci utf6_turkish_ci utf8_unicode_ci Ì Ji
<
Trang 4J Server: localhost > Database: web1
EGStructure SQL j Search Query @SExport (Almport 3Designer S$€Operations ¢3Privileges
= Drop
CREATE DATABASE ‘webl* DEFAULT CHARACTER SET wtf COLLATE utfi_wmicoff fi:
[ Edit ] [ Create PHP C
No tables found in database
- 43 Create new table on database wy
J Server: localhost > Database: web1
eFStructure SQL / Search (G3Query (Export almport Designer $€Operati
mm
-File to import
Location of the text file | | Browse | (Max: 128 MiB)
Character set of the file: utf-B vị
Imported file compression will be automatically detected from: Non@sqzip, bzip2, zip
Allow the interruption of an import in case the script detects it is close to the P imeout limit This
large files, however it can break transactions
Number of records (queries) to skip from start |0 |
- Format of imported file
@ SQL
Options
SQL compatibility mode NONE v
Sure â !L 1h" Ih.iZxFe.F”nàh dđf^h S6 sc !
Trang 5
ments
File name: 'db_ web „j
NONE `)
—> | Go |
= Open new phpMyAdmin window
Chay thử web
6, (|) NHƯ Ẽ PT
Database connection error (3): Could not connect to database
Trang 6Cấu hình kết nối database
° '[Ii* Open
Edit
(af Edit with Notepad++
rents
55
acument
public public public public public public public public public public
public public public
Save to Tentacles D Notepad Badd to archive 7A ee
lan $B Add to “configuration.rar" —— TT
Scompress and email Choose Program
compress to “configuration.rar" and email
log [Adobe Drive C54
Send To
Cut
mao Copy Create Shortcut
Delete
Rename
: Properties
| index
ter
MBUUUUL
PHP Script
$offline = 'O';
§offline message = 'Trang web nã y Ä'*ang Ä'*#
$display offline message = !11';
$offline image = '';
$sitename = 'web tin tuc';
$editor = 'tinymee';
Scaptcha = '0'; cau hinh lai cho
S$access = '1';
$debug = 'ñ';
§debug_lang = '0';
$host = 'localhost'; -
$user 'root'; ten
$password = '''; database
public fab = ‘db fweb'; | <-——_ viratao
public public public public public public
SUnprerrx a= C+MiO - +
$live site = !';
$secret = 'HLyR1lcikKW1EUP7mb' ;
$qzip = 'O';
§error reporting = 'default';
$helpurl = ‘http://help.joomla.org/proxy/ind
$ftp host = '127.0.0.1';
IIl
Trang 7Sửa lại
public $sitename = 'web tin tuc';
public $editor = 'tinymece';
public $captcha = 'O';
public §list_ limit = '20' public $access = '1';
public $debug = 'O';
public $debug_lang = 'O';
public $dbtype = 'mysqli';
public $host = 'localhost';
public $user = 'root';
"1h = = Its
public $dbprefix = 'ciu7s_';
public $live_site = '';
public $secret = public $qzip = 'O';
public $error reporting = public $helpurl =
Save lai Chay thử web
©) > |B httpsiflocathostjwebs/
'HLyYR1IcikKW1EUP7?imb' ;
'default';
'http://help joomla.ord/proxy/
$ - ŸW+ Gooole
Joomlal
Open Source Content Management
Lật xe giường nằm, 12 hành khách nhập viện
(Dân trí - Đang lưu thông trên quốc lộ 1A, chiếc xe khách bất ngờ mất lái, đâm thẳng vào cột mắc và lao xuống ruộng lúa ven
› Read more: Lật xe giường nằm, 12 hành khách nhập viện
Lật xe giường nằm, 12 hành khách nhập viện (2)
Lật xe giường nằm, 12 hành khách
nhập viện
(Dân tri) - Bang lưu thông trên
(Dân tr) - Đang lưu thông trên
quắc lộ 1A, chiếc quắc lộ 1A, chiếc
xe khách bất ngờ mat lái, đâm
xe khách bắt ngờ mất lái, đâm
bbe Man alk ack nb đi mzrl=—xe mh]m=/O1 sưa bị im bvi/272 Ì b sec mào mm me mm 19 bark li ¬=b mm sài
thẳng vàn cột
đường Hậu quã vụ tai nạn khiến 12 hành khách phải nhập viện trong tình trạng đa chắn thương
Lật xe giường nằm, 12 hằnh khách nhập viện (2)
(Dan tri) - Bang lưu thông trên
quốc lộ 1A, chiếc
BI Screen Control - <Teacher> —