Jump to content
ciku

Linux Server

Recommended Posts

Aku try kejap tadi....masa install ader keluar error apa benda tah...mcm dah ada program tu dlm pakej......

Edited by blank

Share this post


Link to post
Share on other sites

Tengah training samba dia la tu..................

blank@kronix:~$ ftp localhost

Connected to kronix.

220 Welcome to blank FTP service.

Name (localhost:blank): anonymous

331 Please specify the password.

Password:

230 Login successful.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp>

Ok tak?..............Thanx

Share this post


Link to post
Share on other sites

Oo takde kena mengena ke?? mana la saya tahu bang..............

Tu yg pelik, takde pulak foldder tu.......ada nie je Up to higher level directory...mungkin sbb dia x otomatik create masa install kut...nak kena install lain ke??

Share this post


Link to post
Share on other sites

Ok dah boleh.....aku remove & install balik....skang dah boleh nampak dir/file dari dalam browser......thanx la ek..nanti aku godek la pelan2 utk upload & sbgnya.....

Nak godek apache la pulak.....apache aku start masa boot, padahal aku tak set pun....misteri betul...

Share this post


Link to post
Share on other sites

Tapi kalau ada lan lagi best kan..........

Lupa lak...awal tadi tadi aku tak chown & chmod /var/ftp tu aku rasa...pasal tu tak boleh rasanya....

Share this post


Link to post
Share on other sites

Aku dah dapat utk anonymous upload.......

mkdir /var/ftp/pub/publicwrite

chmod 744 /var/ftp/pub/publicwrite

dan comment line nie kat /etc/vsftpd.conf

# Uncomment this to allow the anonymous FTP user to upload files. This only

# has an effect if the above global write enable is activated. Also, you will

# obviously need to create a directory writable by the FTP user.

anon_upload_enable=YES

Masalah firewall la pulak.....siot

Share this post


Link to post
Share on other sites

Tulis tangan je la ciku...habis cerita, takyah nak pening2...... biggrin.gif

Betul tak aku cakap susah giler kan? Takpo buat pelan2, kalau 1 shot je terus jadi mana best, takde cabaran........

Share this post


Link to post
Share on other sites

Semangat ko dah cun dah tu.......

Buat la satu2, kang jem pulak otak ko macam ari tu.....nanti aku ada lan boleh la ko ajar aku pulak, suruh osiri kerap2 mau dia mengamuk.... biggrin.gif

Share this post


Link to post
Share on other sites

Takde la, serba salah jugak nak suruh ko kerap2, tapi kalau dah tak jalan jugak terpaksa la....ciku ajar linux pulak pas nie kat sekolah.....

biggrin.gif

Share this post


Link to post
Share on other sites

Ok ko buat camnie.........

creat directory nie dulu...

mkdir /var/ftp

mkdir /var/ftp/pub

mkdir /var/ftp/upload

mkdir /var/ftp/pub/publicwrite

pastu....

chown root.root /var/ftp

chmod og-w /var/ftp

useradd nobody

chmod 744 /var/ftp/pub/publicwrite

pastu ko boleh install vsftp (ikut mcm oshiri bagi)..... & start vsftpd

pastu ko edit /etc/vsftpd.conf

ko buang tand # kat mula2 ayat bawah nie....

anonymous_enable=YES

write_enable=YES

anon_upload_enable=YES

dirmessage_enable=YES

xferlog_enable=YES

xferlog_std_format=YES

ftpd_banner=Welcome to blah FTP service

save & restart vsftpd....

Ko copy apa2 file ke dalam folder /var/ftp/pub.....

Dalam user mode, ko cd /var/ftp.....then ko taip ftp localhost

kalau keluar camnie....success

Connected to........

220 Welcome to blank FTP service.

Name (localhost:blank): anonymous

331 Please specify the password.

Password:

230 Login successful.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp>

Harap2 betul la guide aku..........

biggrin.gif

Share this post


Link to post
Share on other sites

wah pecah rekod aaa. 15 hari tutorial.. perh.. power power.. ciku .. mung kene jadi tutor aku plak bile mungbalik tgnu heheheh..

Share this post


Link to post
Share on other sites

Ko try start & login anonymous kalau takde folder pub & upload dlm browser, ko kena install lain la...sebab dia create folder ftp kat /home....kalau taknak install ko kena create semua tadi ke ke/home/ftp...........

mkdir /home/ftp

mkdir /homeftp/pub

mkdir /home/ftp/upload

mkdir /home/ftp/pub/publicwrite

chown root.root /home/ftp

chmod og-w /home/ftp

useradd nobody

chmod 744 /home/ftp/pub/publicwrite

Kalau ko nak install lain.....ko delete folder /home/ftp & baru install......

Share this post


Link to post
Share on other sites

PRINTER AKU DAH JADIK BLANK....HAHAHHAHAHAH SENANG HATI

Lepas senang hati, ko susah hati balik la kejap lagi....oshiri ko nak bet ngan aku tak??

biggrin.gif

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...