LUPA PASSWORD FREEBSD

0

Bookmark and Share
Pertama waktu boot tekan spacebar. Setelah itu masuk sebagai single user caranya berbeda-beda.Klo dari referensi yang aku baca dg mengetikkan boot -s, tapi klo yang gue praktik-kan dengan menekan 4.
Setelah itu ada Enter full pathname of shell or RETURN for /bin/sh –> tekan enter saja.
bisa masuk tanpa password bukan ?
tapi perlu di ingat anda belum bisa melakukan apa apa pada # shell ini
karena file system yang di mount adalah read only .
gimana supaya kita bisa mengakses file system seperti biasa dan bisa merubah password ?
caranya adalah mount filesystem secara keseluruhan, yang perlu di lakukan adalah
# mount -t ufs -a
nah setelah itu barulah kita bisa me reset password root tesebut.
#passwd
masukkan password baru, Retype new password:
setelah itu reboot dan coba login sbg root dan coba password baru anda.
Insya Alloh manjur he he…..
Read More >>

Problem starting Apache 2.2.0 Freebsd

0

Bookmark and Share

Problem starting Apache 2.2.0 Freebsd


[root@puskom ~]# /usr/local/etc/rc.d/apache22 restart
Performing sanity check on apache22 configuration:
httpd: apr_sockaddr_info_get() failed for pisangraja.jc
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
Stopping apache22.
Waiting for PIDS: 11416.
Performing sanity check on apache22 configuration:
httpd: apr_sockaddr_info_get() failed for pisangraja.jc
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
Starting apache22.
httpd: apr_sockaddr_info_get() failed for pisangraja.jc
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

Just fix your hosts file and httpd conf
1. Edit hosts file :
[root@puskom ~]# hostname
puskom.magangbbs.com
[root@puskom ~] # vi /etc/hosts
::1                           localhost
127.0.0.1                localhost
192.168.1.89          puskom.magangbbs
192.168.1.89          puskom.magangbbs.com

2. Edit httpd conf
[root@puskom ~]#  vi /usr/local/etc/apache22/httpd.conf
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn’t have a registered DNS name, enter its IP address here.
#
# tambahkan servername kalian ###
ServerName www.puskom.magangbbs.com:80
 

[root@puskom ~]# /usr/local/etc/rc.d/apache22 restart
Performing sanity check on apache22 configuration:
Syntax OK
apache22 not running? (check /var/run/httpd.pid).
Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.
DOne
Read More >>