header officialwebhosting header officialwebhosting header officialwebhosting header officialwebhosting header officialwebhosting
button officialwebhosting button officialwebhosting button officialwebhosting button officialwebhosting button officialwebhosting button officialwebhosting button officialwebhosting  


[x] Search@mysite



[x] Menu Utama

[x] Share this website
Bookmark and Share

[x] Facebook & Twitter


Tutorial Online : Dragonfly CMS : Dasar installasi Dragonfly CMS : Installasi database MySQL dan editing file config.php
Installasi database MySQL dan editing file config.php
Membahas instalasi Dragonfly dan persoalannya. Dragonfly merupakan Content Management System (CMS) atau Portal Web Interaktif terbaik versi kami. Software gratis ini memiliki security tinggi dengan kecepatan yang bisa dihandalkan. Mampu menggabungkan news, forum, dan gallery secara smooth. I like it.
Post new topic   Reply to topic   Printer Friendly Page     Forum Index : Dasar installasi Dragonfly CMS
View previous topic :: View next topic  
Author Message
official
Site Admin
Site Admin


Joined: Nov 08, 2006
Posts: 54
Location: jakarta

PostPosted: Tue Nov 14, 2006 3:55 am    Post subject: Installasi database MySQL dan editing file config.php

Installasi database MySQL adalah hal yang paling melelahkan karena sering kita membuat kesalahan. Namun dengan adanya Cpanel yang kami sediakan, semua bisa dilakukan berbasis web sehingga orang awam pun bisa melakukannya.

Untuk membuat database MySQL, Anda harus login terlebih dulu ke Cpanel. Setekahg login di CPanel, klik ikon MySQL. Anda akan masuk ke tampilan MySQl berbasis web.

Ada tiga tahapan yang harus Anda perhatikan dengan baik:
1. Pertama kali Anda harus membuat database. Misalnya dragondb. Masukkan dragondb dalam kolom isian database name.
CATATAN: walaupun Anda memasukkan nama dragondb, nama database Anda harus diawali dengan nama username cpanel Anda. Jika username cpanel Anda adalah 'jakarta', maka harus diingit nama database Anda berubah menjadi 'jakarta_dragondb'. Hal yang sama juga berlaku untuk usernam database Anda.

2. Setelah itu Anda harus membuat nama username database dan passwordnya. Ingat nama username yang Anda masukkan nantinya akan diawali dengan username cpanel. Misalnya jika Anda memasukkan username database sebagai 'userdb' maka username database Anda harus 'jakarta_userdb'. Jangan lupa Anda mengisi kolom password dengan password database yang Anda inginkan. Password ini berbeda dengan password cpanel.

3. Setelah itu, Anda harus memberi akses user name database yang Anda buat tadi untuk bisa mengakses database yang baru Anda buat. Istilahnya Grant, pilih GRANT ALL agar username 'jakarta_userdb' tadi memiliki akses penuh terhadap database 'jakarta_dragondb'.

Sampai di sini pembuatan database sudah selesai. Anda kemudian harus mengedit config.php untuk menyesuaikan dengan informasi database yang baru Anda buat.

$dbname ='isi dengan nama database'
$dbuname ='isi dengan nama username'
$dbpass ='isi dengan password anda'
(Perhatikan tanda kutip tunggal tetap harus ada untuk mengapit isian)

Berikut ini contoh isian config.php yang sudah diedit untuk disesuaikan dengan settingan database yang baru dibuat:

Code::
<?php
/*********************************************
  CPG Dragonfly CMS
  ********************************************
  Copyright (c) 2004 - 2005 by CPG-Nuke Dev Team
  http://dragonflycms.org

  Dragonfly is released under the terms and conditions
  of the GNU GPL version 2 or any later version

  $Source: /cvs/html/config.php,v $
  $Revision: 9.14 $
  $Author: djmaze $
  $Date: 2005/08/29 15:10:45 $
**********************************************/
if (!defined('CPG_NUKE')) { exit; }

# -- Welcome! --------------------------------------------
# Welcome to Dragonfly CMS, an advanced content
# management system built from PHP and MySQL
#
# Please complete all fields below, ensuring that two
# single quotes (') surround each value, like so: 'value'

# Visit our website, dragonflycms.org, for support. If
# English isn't your native tongue, we have a special
# listing of those sites that offer support for Dragonfly
# in a foreign language
# --------------------------------------------------------


# -- database type ---------------------------------------
# The type of SQL server that I will be using to store my
# site's database
#
# Choose from the following (case-sensitive):
#    - mysql (4.x or later)
#    - mysqli (PHP must be compiled with "System Mysql")
#    - postgre7 (7.3.x or later)
#
# default: mysql
# --------------------------------------------------------
define('DB_TYPE', 'mysql');

# -- $dbhost ---------------------------------------------
# The hostname of my SQL server
#
# Tip: Yahoo! appears to use 'MySQL' instead of 'localhost'
#
# default: localhost || 127.0.0.1
# --------------------------------------------------------
$dbhost = 'localhost';

# -- $dbname ---------------------------------------------
# The name of the database I use to connect to my SQL
# server
#
# default: dragonfly
# --------------------------------------------------------
$dbname = 'jakarta_dragondb';

# -- $dbuname --------------------------------------------
# The username associated with the database I use to
# connect to my SQL server
#
# default: root
# --------------------------------------------------------
$dbuname = 'jakarta_userdb';

# -- $dbpass ---------------------------------------------
# The password asociated with my SQL database username
#
# default: null
# --------------------------------------------------------
$dbpass = 'passwordanda';

# -- $prefix ---------------------------------------------
# The prefix I would like to assign to all tables in my
# database
#
# default: cms
# --------------------------------------------------------
$prefix = 'cms';

# -- $user_prefix ----------------------------------------
# The prefix I would like to assign to all user-related
# tables in my database
#
# Note: The only tables that use this prefix are _users
#       and _users_temp
#
# default: cms
# --------------------------------------------------------
$user_prefix = 'cms';

# -- $adminindex -----------------------------------------
# The filename of the admin index page I'd like to use for
# my site
#
# If you change this to something other than it's default
# value, you must also rename the file called 'admin.php'

# to the new value you assigned to this variable
#
# default: admin.php
# --------------------------------------------------------
$adminindex = 'admin.php';

# -- $mainindex ------------------------------------------
# The filename of the main index page I'd like to use for
# my site
#
# If you change this to something other than it's default
# value, you must also rename the file called 'index.php'
# to the new value you assigned to this variable
#
# default: index.php
# --------------------------------------------------------
$mainindex = 'index.php';

# -- admin demo mode -------------------------------------
# Alter the following value to activate the administrative
# system demonstration mode, enabling my users to browse
# my administration menu in a read-only environment
#
# true  = enabled
# false = disabled
#
# default: false
# --------------------------------------------------------
define('CPGN_DEMO', false);

# -- debug mode ------------------------------------------
# Alter the following value to activate debug mode, which
# will show debug messages to all users, instead of
# administrators
#
# Warning: Enabling debug mode is NOT recommended for
#          production websites
#
# true  = enabled
# false = disabled
#
# default: false
# --------------------------------------------------------
define('CPG_DEBUG', false);


# -- That's all! -----------------------------------------
# The backend of your Dragonfly powered website has been
# configured!
#
# Now visit mydomain.tld/install.php to install or upgrade
# your website
#
# For further support, please visit dragonflycms.org
# --------------------------------------------------------

# --- WARNING --------------------------
# Do not touch anything below this point
# unless you know what you're doing
# --------------------------------------

$CensorList = array('asshole', 'assramer', 'bitch','basz','cara de cu', 'caralho', 'clits', 'c0ck', 'Cock', 'cona','cum', 'cunt', 'dago', 'daygo', 'degok', 'dildo', 'faen', 'fanculo', 'feces','fitte', 'foda-se','motherfuckers','motherfuckers', 'fuck', 'hoer',  'hufter', 'kike','klootzak', 'kloot', 'kuk', 'kut', 'lesbo', 'lul', 'masturbate', 'merda',  'nazis', 'neuken', 'nigger', 'nutsack', 'pakkis', 'paneleiro', 'penis', 'phuck', 'picha', 'picsa',  'pijpen', 'pisses', 'piss',  'poop', 'puta', 'pussy', 'segg', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty',  'whore', 'wop',  'zak');
$DeniedUserNames = array('admin', 'owner', 'god', 'root', 'webmaster', 'nobody', 'anonymous', 'ieatbabies', 'operator');
$DeniedEmailDomains = array('mysite', 'mail.ru', 'no-ip.com', 'mydomain', 'customscoop', 'adminshops.', 'artaisle.com', 'pcnuke.com',
'ayayai.com', 'spamgourmet.com',
'abv.bg', 'gyuvetch.bg', 'gbg.bg',
//posta3.prim.hu
'primposta.com',
'ak47.hu', 'avh.hu',
'cia.hu', 'coder.hu', 'cracker.hu', 'csinibaba.hu',
'eposta.hu',
'fbi.hu',
'geek.hu', 'gyorsposta.com', 'gyorsposta.hu',
'hello.hu',
'irj.hu',
'jakuza.hu',
'kgb.hu',
'lamer.hu',
'levele.com', 'levele.hu',
'maffia.hu', 'me-mail.hu', 'message.hu',
'pobox.hu', 'primposta.com', 'primposta.hu', 'pro.hu', 'programozo.hu',
'reply.hu',
'send.hu', 'shotgun.hu', 'skizo.hu', 'sniper.hu', 'soldier.hu',
'theend.hu',
'warrior.hu', 'webmail.hu',
// end posta3.prim.hu
'mailinater.', 'bsdmail.'
);
$DeniedReferers = array('unknown', 'bookmark', 'xxx', 'www.sex', 'customscoop', 'adminshops.', 'locators.com', 'southafrica2000.com');
$sitekey = '+L.D#V^k.9xWBsY{LpL0Or5z(4Mex3l^c-)cV4zQVh4NpZtT!V&^)fy,kGSa%drc}R^y2Qgn-20ro^ln7RIXi)=TrfXqp^Re*H(DnYH-&qPpQ1yZ]h%1dJuTHn8RM.g[';
//session_save_path('/home/SOMETHING/tmp');

Jangan lupa untuk mensave editan Anda.
Back to top
View user's profile Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum Index : Dasar installasi Dragonfly CMS All times are GMT + 7 Hours
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum




Hosting Gratis Indonesia CPanel PHP MySQL Domain Murah Sedia Shoutcast Server Radio Streaming WHMSonic Shared Hosting Atau VPS Juga Dedicated Server
Officialwebhosting.NET adalah divisi usaha online Laruss Primatama. Laruss Office: Jl Assirot No 46D Sukabumi Selatan, Kebon Jeruk, Jakarta Barat. 11560
HOME Base Officialwebhosting.NET: Jl DR Cipto Mangunkusumo Mahkota Simprug A7/12A Tangerang. 15154.
Email : support@officialwebhosting.net, officialwebhosting@gmail.com. Phone : 021-70580777.
Copyright © OfficialWebHosting DotNet. All Rights Reserved, Powered by Laruss Group

Interactive software released under GNU GPL, Code Credits, Privacy Policy