Recover FreeBSD root password @ 7 March 2008

Kategori : Tutorial, Komputer, Unix, OS


If you had a Problem, about Freebsd , likes forgotten a Root password..? its easy, just reset it at single user mode..

1) Reboot your system if freebsd has turn on.

2) Wait until the Devil graphic comin, with 8 options.

3) Choose number 4, to use single user mode.

4) if the system has done loading, type “boot -s”

5) and then the “#” shell comin.. and then type “mount -u”

6) type “mount -a”

7) and then type “passwd” , to enter the root password

8) Reboot the system.




Upgrade Freebsd to Stable Version @ 25 February 2008

Kategori : Tutorial, Unix, OS


Huh, akhir nya dapet juga tutorial yang valid, saya ambil dari adhitya perdana , thanx buat tutorial nya..
INSTALLASI CVSUP :

root: cd /usr/ports/net/cvsup-without-gui/

root: make install clean



ini memakan waktu yang lama, tergantung dengan koneksi ke internet nya…

Setelah itu rubah CVSUP servernya:

root: cp /usr/share/examples/cvsup-without-gui/ports-supfile /etc

root: cp /usr/share/examples/cvsup-without-gui/stable-supfile /etc


root: ee /etc/ports-supfile

root: ee /etc/stable-supfile


pada bagian :

*default host=CHANGE_THIS.FreeBSD.org


silahkan ganti dengan CVSUP SERVER yang mau digunakan..

1. cvsup.sg.FreeBSD.org
2. cvsup.id.FreeBSD.org
3. cvsup.jp.FreeBSD.org


jadi nya seperti ini:

*default host=cvsup.sg.FreeBSD.org


pilih cvsup server yang deket dengan ISP anda..

kalo udah di edit dua - dua nya lalu..

masuk ke etc :

root: cd /etc


root: cvsup -g -L 2 ports-supfile && cvsup -g -L 2 stable-supfile


root: cd /usr/src


root: make buildworld


root: make buildkernel KERNCONF=ROUTER


root: make installkernel KERNCONF-ROUTER


root: make installworld


root: reboot


ROUTER adalah name kernel yang sudah saya konfigurasi dan akan di upgrade ke Stable Version.

jika anda hanya ingin mengupgrade ke stable saja dapat di lakukan dengan perintah:

root: cd /usr/src


root: make buildworld && make buildkernel


root: make installkernel && reboot


Kurang lebih setengah jam, upgrade nya selesai.. huuwwh…
Gunakan perintah uname -a untuk melihat apakah versi nya sudah berubah..
jadi nya akan seperti ini:

FreeBSD massives 6.3-STABLE FreeBSD 6.3-STABLE # 1:Sun Feb 24 23:23:20 WIT 2008
massives & massives : /usr/obj/src/sys ROUTER i386




Multi Yahoo Messenger @ 3 February 2008

Kategori : Tutorial, Software


Wanna have Yahoo Multi Messenger? You got it..! just download the Usually Yahoo Messenger, and we had to add a String to regedit.

Tutorial:

>open the regedit and go to:

\HKEY_CURRENT_USER\Software\Yahoo\pager\Test

>add new String, named "Plural" without quote..

>and set the value data to "0" 

and then you can login with your first account, after that you execute again the Yahoo Messenger program.. and login with different Account.. now you have your Multi Yahoo Messenger..




Allow KDE root login @ 30 January 2008

Kategori : Tutorial, Komputer, Linux, Unix, OS


untuk mengenalble user root di KDE , buka file /usr/local/share/config/kdm/kdmrc lalu ganti:

AllowRootLogin=false

jadi

AllowRootLogin=true




Compile Kernel FreeBSD dan Set Quota @ 29 January 2008

Kategori : Tutorial, Komputer, Unix, OS


1. Compile Kernel Baru

cd /usr/src/sys/i386/conf
cp GENERIC MYKERNEL

Edit MYKERNEL tambahkan di dalam nya

“options QUOTA” ndak pake petik…


lalu jalankan perintah:

/usr/sbin/config MYKERNEL cd ../compile/MYKERNEL

(Untuk FreeBSD 5 dan sekitarnya:
cd ../../compile/MYKERNEL )

make depend
make
make install

2. Enable Quota
Edit file /etc/fstab terus liat yang ada di entrian nya, mana directory /home
/dev/ad0s1d /home ufs rw 2 2

masukkan kata userquota and groupquota seperti ini:
/dev/ad0s1d /home ufs rw,userquota,groupquota 2 2

Untuk meng-enable quota pada saat booting cukup menambahkan ini ke /etc/rc.conf:
quota_enable=”YES”
check_quotas=”YES”

Reboot system:

shutdown -r now
Selanjutnya…




Install Webserver di FreeBSD @

Kategori : Tutorial, Komputer, Unix, OS


Installing Apache on FreeBSD

Berikut ini adalah langkah menginstall Apache di FreeBSD

1.Download lah file tar dari distribusi Apache, disini saya mengambil file apache versi 2.2.3 yaitu httpd-2.2.3.tar.bz2 yang bisa diambil disini

2.letakkan di direktori software misal /home/software

3.masuk ke direktori /home/software

4.ekstrak dengan

tar -jxvf httpd-2.2.3.tar.bz2

5.setelah itu jalankan perintah configure

./configure –prefix=/usr/local/apache2/ && make && make install

6.masuk ke /usr/local/apache2/bin/ jalankan

$ ./apachectl start

7.cek localhost di browser, muncul tulisan it works, maka installasi sudah berhasil.. Selanjutnya…




Install Swat di Freebsd @ 24 January 2008

Kategori : Tutorial, Komputer, Unix, OS


1) setelah install samba server

2) ee /etc/inetd.conf

3) tambahkan koment berikut ini di bagian inetd.conf:

swat stream tcp nowait/400 root /usr/local/samba/sbin/swat swat
4) restart inetd, “killall inetd” dan hidupkan kembali inetd “/etc/inetd start”nya.. 5) buka lynx, dan ketikkan pada url..http://localhost:901 6) ikuti langkah berikut ini:
   1.  log in dengan user root
   2. pilih 'Globals'
   3. ganti netbios name dengan apa saja agar nanti
       terlihat di 'My Network Places'
   4. pilih'yes' untuk mengencrypt passwords
   5. pilih 'Commit Changes' untuk save
   6.pilih 'Shares'
   7. selanjutnya ke 'Create Share' ketik 
      nama share nya (saya menggunakan 'Share') 
      lalu pilih 'Create Share'
   8. Ketik tempat direktori yang ingin di share
   9. pilih 'no' untuk read only Jika ingin user 
       bisa writing file
  10. pilih 'yes' untuk guest ok untuk memperboleh-
        kan user anonymous masuk ke direktori share
  11. pilih 'Commit Changes' untuk save
  12. pilih 'Password Management'
  13. ketik akun user yang udah ada di /etc/passwd
  14. ketik 2 kali pada password dan pilih 
       'Add User'
  15. arahkan ke 'Status'
  16. jalankan smbd and nmbd




    Next posts »»