Jump to content
Sign in to follow this  
ciku

Linux Server Part3

Recommended Posts

Boleh masuk...........

MTU= maximum transmission unit=saiz maksimum packet yg boleh melalui network interface(eth).

biggrin.gif

Blank ko nak aku up ke ftp ko ke?

Version ni baru sikit.........7.5...........yg 7.6 dah kluar tapi kena beli.

Bodozz punya guardster , aku sendiri tak leh masuk. Tadi bila aku apt-get phpmyadmin byk error..jadik aku update dulu. Lama dah aku tak ingat nak apt-get update biggrin.gif

Share this post


Link to post
Share on other sites

Ko tolong upload la....dah on dah...

server apt-get ada problem lagi rasanya...aku update pun banyak keluar error....tapi phpmyadmin takde masalah pun aku install...

Share this post


Link to post
Share on other sites

Mula-mula ko start mysql service: /etc/init.d/mysql start

Sekarang kita nak set mysql.

Mula-mula ko nak kena buat root dan password (utk admin).

mysql -u root mysql

ko akan masuk ke mysql............mysql>

mysql> set password for root@localhost = password('password'); .......'password"=ganti dengan password yg ko nak guna'

mysql>\q ............utk keluar.

Siap.....sekarang ko dah ada admin....root.

AKU KENA MULA DARI SINI SEMUA KE??

CALOGIC SEMUA AKU DAH DOWNLOAD...YG BHHG ATAS SEMUA AKU DAH BUAT CUMA YG START MYSQL SAJA BLOM MULA LAGI NIH...TAKUT SILAP STEP JER biggrin.gif

Edited by ciku

Share this post


Link to post
Share on other sites

Takleh la blank............1/2 aje.....lepas tu dia mati.

Kalo ada masa ko check jugak memory pc ko..........guna aje cd kanotix.........guna cheatcode:

knoppix memtest

Ko check.........cable phone yg cucuk kat modem tu.........kadang-kadang berlumut.

nanti aku try semula.

Share this post


Link to post
Share on other sites

Kalau aku pakai yg 7.3 tu camne....memang pelik tahap gaban la line aku 2, 3 hari nie....rasa cam nak terajang je pc nie........

Calogic tak payah....ko setup mysql je, add user cam atas tu la...commanf dia ko kena ikut betul2 camni......set password for root@localhost = password('password'); ....tukar password tu je...silap2 kang jadi aku semalam takleh login phpmyadmin..........

Edited by blank

Share this post


Link to post
Share on other sites

mysql -u root -p

mysql> GRANT ALL PRIVILEGES ON *.* TO 'blank'@'localhost'

->IDENTIFIED BY 'blonk' WITH GRANT OPTION;......gantikan 'password"

yg nih aku tak paham...gantikan password mcm??

blank@localhost kena tukar dgn ciku@localhost ke?? bukan no-ip dia tu??

Edited by ciku

Share this post


Link to post
Share on other sites

Blank ...ko tukar ke windows ke.........ftp ko berubah.

Ciku.......yg tu contoh.

"blank" ko tukar la ke nama ko...ex: ciku

"blonk" ko tukar la ke password ko.........ex: ciki

Share this post


Link to post
Share on other sites

The requested URL /phpmyadmin was not found on this server.

Ko dah set apache dan start apache ke.

Ko tak boleh guna apache2...........kasi stop apache2.

Share this post


Link to post
Share on other sites

Ok aku dah boleh download pakai windows....tupun 5 kali try...

Esok aku nak menuntut kat ko sikit pasal line nie...rasanya ada yg tak kena......

Share this post


Link to post
Share on other sites

Ko dah set apache dan start apache ke.

Ko tak boleh guna apache2...........kasi stop apache2.

aku tak pakai pon apache2..aku pakai apacche ajer..dah restart balik..ok

tapi bila phypmyadmin.....failed!!

Share this post


Link to post
Share on other sites

Guna phpmyadmin untuk buat database "nuke". Untuk memudahkan kerja.........copy folder phpmyadmin dari /usr/share ke /home/nama_user/html.

Oshiri...yg nie rasanya folder....../home/user/php-nuke/html kan?....sbb folder html ada dlm php-nuke......

Satu lagi..asal takde folder sql dlm /home/use...bila aku inport file masa create database keluar error punya la banyak.....

Edited by blank

Share this post


Link to post
Share on other sites

Ya....silap type tu.

Ciku....phpmyadmin tu ko letak kat mana...........kalo dalam ../../html.

Browser set ke : http://localhost/html/phpmyadmin/

apache ko set:

DocementRoot /home/nam_user/php-nuke

<Directory /home/nama user/php-nuke/>

file:/home/faizul/php-nuke/html/phpmyadmin..........mcm nih atau aku silap kat mana??

nanti esok aku check balik...dah ngantuk weii esok awal kena pi kejer!! ph34r.gif

Edited by ciku

Share this post


Link to post
Share on other sites

Takde silap...............kecuali kalo ko tak restart apache...tengok ada error tak?

NuCalendar sebagai addon PHP-Nuke

Download nucalendar dari sini:

http://drhspot.com/modules.php?name=Downlo..._op=getit&lid=1

Ekstrak nucalendar ke mana-mana folder sementera.

Kemudian ko copy setiap files dalam setiap folder ke folder yg sama pada phpnuke/html/

Cuma bahagian folder modules...ko copy folder nucalendar dan paste ke dalam folder modules dalam php-nuke/html.

Folder sql tak payah copy sebab dalm tu ada file nucalendar.sql yg akan kita merge ke database nuke.

Cara nak merge nucalendar.sql ke database nuke:

Bukak phpmyadmin..........klik database ...klik nuke....table nuke akan kelihatan.

Kemudian ko klik tab SQL kat atas tu dan ko akan nampak window "Run SQL query/queries on database nuke".......ko pergi kat bawah kat bahagian "Location of the textfile:"

dan klik button choose....pilih nucalendar.sql......klik Go.

Sekarang kita dah merge database...dan boleh exit dari phpmyadmin.

Sekarang masuk ke phpnuke admin page : http://localhost/html/admin.php

Klik icon modules.....make sure NuCalendar tersenarai.....kat bawah tu....ko klik activate kat sebelah kanan.

Lepas tu klik icon Blocks....pergi kat bawah bahagian Activate new blocks.

Ko bubuh title apa yg ko nak berkaitan dengan calendar.....dan ko expand bahagian Filename.

Ada tiga pilihan untuk nucalendar kat situ: month of event; month of event2; upcoming events.

Ko pilih la mana-mana...atau ko boleh guna sekali 3 ..buat satu persatu.

Log out....ko akan nampak NuCalendar ada pada menu Modules dan blobks yg ko add tadi ada kat bawah.

Cara yg hampir sama jugak digunakan untuk tambah add on yg lain.

biggrin.gif

Share this post


Link to post
Share on other sites

Aku try camtu pun tak boleh tadi....so aku try buat camni, boleh run phpmyadmin & boleh create database.....

Copy phpmyadmin ke /home/user/php-nuke....run http://localhost/phpmyadmin

Masa create database...inport file tu masukan..."/home/user/php-nuke/sql/nuke.sql"

Aku pelik gak masa xtract folder sql ada kat dalam php-nuke...asal ko punya ada kat luar oshiri??

Share this post


Link to post
Share on other sites

Satu lagi..asal takde folder sql dlm /home/use...bila aku inport file masa create database keluar error punya la banyak.....

Folder tu bukan dalam.../../html tapi dalam ../../php-nuke.

Patut takde error.......yg penting tables tu dia create dalam databas nuke.

Aku punya ada kat luar sebab mula-mula.......aku set kat luar..aku tak buat /php-nuke.

Ada cara lain sebenarnya korang boleh buat database tu.

Direct ke mysql.

mysql --user=nama --pass=password_ko

mysql> create nuke

mysql> nuke < /lokasi/nuke.sql

mysql> \q

biggrin.gif

Edited by oshiri

Share this post


Link to post
Share on other sites

root@server:/home/faizul# /etc/init.d/apache restart

Restarting apache.

root@server:/home/faizul#

dah OK tu...cuma bab nak check dlm browser aku tak dpt nih. Masa aku setup mysql tadi semuanya OK tadak masalah.

Tuh directory phpmyadmin aku..ngam ke tak??

Share this post


Link to post
Share on other sites

Ciku ...ko try jalan ringkas tu..........takpayah guna phpmyadmin.

laugh.gif

Ciku....ko punya setup dalam apache httpd.conf ko tak buat.

Sebab apa.......aku bukak ciku.no-ip.biz.............webmail ko masih ada.

Kalo ko dah ubah......webmail tu takkan aku boleh nampak..

biggrin.gif

Edited by oshiri

Share this post


Link to post
Share on other sites

Bila dah siap set..........ko logout dan masuk ke page biasa........http://localhost/html .........pada muka pertama tu ko buat Super User.........sebagai admin..........masuk semula sebagai admin dan edit la apa yg patut. Benda yg ko patut edit ialah page intro tu..........kat bahagian messages dalam administration menu.....supaya takde sesiapa bleh buat Super user.

Aku tak paham la...camne nak buat super user kat page depan tu...

Share this post


Link to post
Share on other sites

aku tak buat apa pon lagi ... mcm nak setup kat httpd.conf aku pon tak tau.

aku dah byuk tertinggal nih. Kena start balik semua.

tadi aku run mysql dia kuar ini pulak...ingat nak buat jln ringkassss...

root@server:/home/faizul# mysql -u root mysql

ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO) laugh.gif

sambung esok pulak weiii....aku kena study balik discussion korang kat page semalam. unsure.gif

Edited by ciku

Share this post


Link to post
Share on other sites

Blank...tak payah buat super user pon takpe............ko dah ada user/pass untuk admin masa ko setup tadi.

Ciku...ko tengok post aku kat atas...aju dah tunjuk camne nak set httpd.conf dan nak masuk sql.

Share this post


Link to post
Share on other sites

Memang tertinggal kapal betul la ko ni ciku....ko taip.... vi /etc/apche/httpd.conf

Ubah kat bahagian ni je.....

DocumentRoot /home/blank/php-nuke

<Directory /home/blank/php-nuke>

yang lain2 tu ko master nanti ko ubah la apa pun..........

Habis tu kira siap dah la...asal aku punya tak jadi cam ko pun...bila aku masukan url aku keluar folder je....

Edited by blank

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...