With FreeBSD 5.4 and above the booting procedure is slightly changed. Under ilder version of FreeBSD use boot -s option at Ok prompt.
However, with version FreeBSD 5.4+ you don’t have to type any command. Here is the procedure to boot FreeBSD into a single user mode to reset root password.
In this tip I will explain […]
Archive for the 'FreeBSD' Category
It is possible to create network alias or assign 2 ip address to a single NIC under FreeBSD operating system.
Sample setup:
=> lnc0 - IP : 192.168.1.1/255.255.255.0
=>lnc0 alias - IP : 192.168.1.5/255.255.255.255
Note: Netmask must be diffrent otherwise you will get an error ifconfig: ioctl (SIOCAIFADDR): File exists
Set ip alias using ifconfig command line utility
Login as the […]
Introduction
As an operating system that has gained a strong market share in the server environment, firewall applications have always been important to Linux, and Linux kernels have had packet filtering since the 1.1 series.
In 1994, Alan Cox created ipfwadm, the first firewall for Linux, which was based on ipfw from BSD and was enhanced for […]
#vipw
Edit or no Edit path of Home directory & save
#vi /usr/local/etc/proftpd.conf
find line :
[…]
#DefaultRoot ~
[…]
uncomment # to
[…]
DefaultRoot ~
[…]
save file
Restart FTP deamon
/usr/local/etc/rc.d/proftpd retstart
MySQL is a relational database management system (RDBMS) based on SQL (Structured Query Language). First released in January, 1998, MySQL is now one component of parent company MySQL AB’s product line of database servers and development tools. Yes, it really is this easy.run the following command to change the mysql root password
sudo /etc/init.d/mysql reset-password
New MySQL […]
1. Telnet using TCP port 25 :
#telnet xxx.xxx.xxx.xxx 25
or
#telnet domain.tld 25
2. Issue the following smtp command sequence
helo <your domain name><enter>
response should be as follows
250 OK
mail from: <your Email Address><enter>
response should be as follows
250 OK - mail from <your Email address>
rcpt to: <recipient address><enter>
response should be as follows
250 OK - Recipient <recipient address>
data<enter>
response should be as […]
fsck is a Unix utility for checking and repairing file system inconsistencies . File system can become inconsistent due to several reasons and the most common is abnormal shutdown due to hardware failure , power failure or switching off the system without proper shutdown . Due to these reasons the superblock in a file system […]
#cd /usr/ports/database/mysql51-server
#make WITH_CHARSET=tis620 WITH_XCHARSET=all WITH_COLLATION=tis620_thai_ci WITH_OPENSSL=yes BUILD_OPTIMIZED=yes WITH_ARCHIVE=yes WITH_FEDERATED=yes WITH_NDB=yes WITH_LINUXTHREADS=yes install clean
comment :
WITH_CHARSET=charset Define the primary built-in charset (latin1).
WITH_XCHARSET=list Define other built-in charsets (may be ‘all’).
WITH_COLLATION=collate Define default collation (latin1_swedish_ci).
WITH_OPENSSL=yes Enable secure connections.
WITH_LINUXTHREADS=yes Use the linuxthreads pthread library.
WITH_PROC_SCOPE_PTH=yes Use process scope threads
(try it if you use libpthread).
BUILD_OPTIMIZED=yes Enable compiler optimizations
(use it if […]
==================================
Install Roundcube on FreeBSD 6.3
==================================
1. #cd /usr/ports/mail/roundcube/
2. #make config
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Options for roundcube 0.1.20080104 x
x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
x x [X] MYSQL Use MySQL backend x x
x x [X] PGSQL Use PostgreSQL backend x x
x x [ ] SQLITE Use SQLite backend (php5 only) x x
x x [X] SPELLCHECK Enable spellchecking x x
x x [X] LOCALCHECK Install internal […]