ciku 0 Report post Posted March 8, 2005 jadi uebimiaw aku tak yah setup lah Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted March 8, 2005 (edited) Ciku...................Tutorial basic nak start mysql ...khas utk ko sorang........... Mula-mula : (semua dalam root konsole):1) update-rc.d mysql defaults2) /etc/init.d/mysql start3)Sekarang kita akan run mysql dan buat root/admin utk mysql:mysql -user=rootmysql>set password for root@localhost = password('password');mysql>\qSekarang masuk semula sebagai root dan kita buat user yg sama power dengan root (power root).Kataka, user tu ialah ciku dan password iallah ciki.mysql -u root -p*masukkan passwordmysql>GRANT ALL PRIVILEGES ON *.* TO 'ciku'@'localhost'mysql>IDENTIFIED BY 'ciki' WITH GRANT OPTION;mysql> flush privileges;mysql>\qSiap.Sekarang ko boleh run phpmyadmin dengan user/pass= ciku/ciki.Kalo ko nak guna php-nuke..........tak payah la set Uebimiau...guna webmail tu aje. Edited March 8, 2005 by oshiri Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted March 8, 2005 mysql>set password for root@localhost = password('password');←yg bhg 'password' ---------> aku gantikan dgn apa??? dgn password server aku nih..sama mcm su?? Quote Share this post Link to post Share on other sites
psychoX 6 Report post Posted March 8, 2005 emm jauh gile aku tertinggal .. tapi takpe.. bab webserver, mysql server, webmail aku dah cover dah awal awal dulu.. ..baca untuk ulang kaji je.. Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted March 8, 2005 (edited) yg bhg 'password' ---------> aku gantikan dgn apa??? dgn password server aku nih..sama mcm su??ikut suka ko..........nak senang ngingat..guna aje root punya password.emm jauh gile aku tertinggal .. tapi takpe.. bab webserver, mysql server, webmail aku dah cover dah awal awal dulu.. ..baca untuk ulang kaji je..Kenapa la ko tak join.......tolong diaorang ni............sonang sikit aku.......... Edited March 8, 2005 by oshiri Quote Share this post Link to post Share on other sites
blank 1 Report post Posted March 8, 2005 Weblmail baru dah jalan....private chat je belum lagi...silap tang mana tah...index.php tu aku create ikut eubimiau, cuma ubah folder je...tapi dia kata tak jumpa...ko try masuk tengok....Betul tu psycox...ko tolong la apa2 yg patut....Kurang nampak jalan kat linux nie........ Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted March 8, 2005 mysql> set password for root@localhost = password('god');ERROR 1044: Access denied for user: '@localhost' to database 'mysql'mysql>KUAR NIH....... Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted March 8, 2005 Blank....tak leh masuk............coba post index.php.Aku rasa ko ada silap kat page dia.......Ciku try ni: Ko kluar dulu dari mysql : mysql>\qKo blom ada password.Masuk guna ni: mysql --user=root mysql dan proceed dgn buat password. Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted March 8, 2005 dah ok semua tapi aku blom install phpmyadmin....kena install dulu ke?? Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted March 8, 2005 Pelik betul soklan ko ni............ Tak install camne nak run.apt-get install phpmyadminLepas tu copy folder phpmyadmin dari /usr/share dan paste ke /html. Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted March 8, 2005 Pelik betul soklan ko ni............ Tak install camne nak run.apt-get install phpmyadminLepas tu copy folder phpmyadmin dari /usr/share dan paste ke /html.←aku ingat benda tuh mmg dah ada dlm nih Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted March 8, 2005 (edited) kuar which server to configure............apache ke apache2..apache2 kan??apste ke html??? kat folder mana tuh?? Edited March 8, 2005 by ciku Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted March 8, 2005 ko pilih semua. Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted March 8, 2005 pilih salah satu saja.......mcm nak semuanya?? Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted March 8, 2005 dia dah tick kan semua...........ko tinggal tekan ok aje. Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted March 8, 2005 (edited) Lepas tu copy folder phpmyadmin dari /usr/share dan paste ke /html.←paste kat html tu??? apa folder dia?? kat mana aku nak cari html tuh? Edited March 8, 2005 by ciku Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted March 8, 2005 Ko ekstrak php-nuke kat mana?Dalam php-nuke tu ada folder html.............ko drag folder html tu ke /home/faizul/.......... ko....jadi ko ada folder /home/faizul/html.Jadi...kat dalam tu la ko paste folder phpmyadmin.Lepas tu ko set apache2...edit file /etc/apache2/sites-enable/000-default:NameVirtualHost * <VirtualHost *> ServerAdmin webmaster@localhost DocumentRoot /home/faizul/html <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /home/faizul/html/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place #RedirectMatch ^/$ /apache2-default/ </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ #ScriptAlias /cgi-bin/ /var/www/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ServerSignature On Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost>Lepas tu restart apache2.Ko buang dulu apache.update-rc.d -f apache removeupdate-rc.d apache2 defaults/etc/init.d/apache stop/etc/init.d/apache2 startLepas tu test dalam browser: http://localhost/phpmyadmin/ Quote Share this post Link to post Share on other sites
blank 1 Report post Posted March 8, 2005 Index.php Private Chat.....<?phpif (!eregi("modules.php", $PHP_SELF)) { die ("You can't access this file directly..."); } require_once("mainfile.php"); $module_name = basename(dirname(__FILE__)); include("header.php"); $index = 0; OpenTable(); echo"<IFRAME name=stbbox src=\"http://localhost/Private_Chat/\" width=\"780\"height=\"600\">" . "<p>Browser anda tidak support frame. Klik <a href=\"http://www.mozilla.org/products/firefox/\" target=\"_blank\">here</a> untuk download Mozilla Firefox.</p>" . "</IFRAME>"; CloseTable(); include("footer.php"); ?>Apa yg tak kena.....?? Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted March 8, 2005 ler kan aku dah cakap awal2 tadi..aku blom buat apa2 lagi php-nuke pon blom download lagi...download kat mana??? Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted March 8, 2005 (edited) echo"<IFRAME name=stbbox src=\"/Private_Chat/\" width=\"780\"height=\"400\">"Blank aku dah register kat site ko............php-nuke:http://phpnuke.org/modules.php?name=Downlo...p=getit&lid=436 Edited March 8, 2005 by oshiri Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted March 8, 2005 (edited) Blank...........ada satu benda ko tak buat aku rasa la...........ko tak .....copy Private_Chat ke /html.Maksud aku .........isikandungan dalam folder asrc yg ko ekstrak tu.Copy semua kandungan dalam folder ascr dam pndah ke /html/Private_Chat. Edited March 8, 2005 by oshiri Quote Share this post Link to post Share on other sites
blank 1 Report post Posted March 8, 2005 Ciku dah kehilangan arah.....kuangkuang...rilex buat pelan2......Oshiri..mende ko quote tu...apa yg silapnya...?? janagn quote camtu je, aku tak paham php beb.... Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted March 8, 2005 Yg aku quote tu.........code yg dah diubah..............Rule pertama......JANGAN GUNA HTTP.Script arsc ni sebenarnya bukan untuk nuke-php..............script utk run standalone cam uebimiau........sebab tu kena guna teknik camni.Sama jugak seperti uebimiau............ko kena pindah folder yg ko ekstrak tu ke /html/ ......tak kira la kalo ko dah ubah nama dia. Quote Share this post Link to post Share on other sites
blank 1 Report post Posted March 8, 2005 Kena copy ke html ke? kang teroverwrite file index.php kat html tu pulak....folder private chat tu kena buang ke tak? Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted March 8, 2005 root@server:/home/faizul# update-rc.d -f apache removeupdate-rc.d: /etc/init.d/apache exists during rc.d purge (continuing) Removing any system startup links for /etc/init.d/apache ...root@server:/home/faizul# update-rc.d apache2 defaults System startup links for /etc/init.d/apache2 already exist.root@server:/home/faizul# /etc/init.d/apache stopStopping web server: apacheNo process in pidfile `/var/run/apache.pid' found running; none killed..root@server:/home/faizul# /etc/init.d/apache2 startStarting web server: Apache2apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerNamehttpd (pid 3851) already running.root@server:/home/faizul#bila aku run test localhost kuar ini : which have chosen to open.....mcm dialog utk download.......open with dan save to disk... Quote Share this post Link to post Share on other sites