1.Install it from the ports
cd /usr/ports/ftp/vsftpd
make config
make install clean
2.Edit the vstfpd.conf file in /usr/local/etc/vsftpd.conf to customize the settings
3.To run it from the command line:
/usr/local/libexec/vsftpd &
3.To make it run at startup create an executable file in /etc/rc.d
#! /bin/sh
#
/usr/local/libexec/vsftpd &
4.Restart computer
There is a very simple way of doing this. We use the find command to get all the s/.v .svn folders in a folder. The next step is to pass the output of this command to the delete command .
So to list all .svn folders in the current folder:
find . -type d -name .svn
Next pass [...]
A reference list of all installed apps required for use on FreeBSD 8.0 or later
abiword - Word processing application
aterm - Better alternative to xterm
firefox - browser
fluxbox - window manager
filezilla - ftp client
gcolor2 - color picker utility
gkrellm - system monitoring util
linux-base-f10 - fedora linux compatibility base libraries
linux-f10-flashplugin - flash plugin for firefox and other browsers
mysql 5.x [...]
Sometimes we may make a mistake in the rc.conf file - either a syntax error or loading something which causes the system to crash. In such a case we need to fix the rc.conf file so that the system can boot normally.
The steps to do this are given below:
Boot into single user mode
When prompted [...]
If after installing Apache and starting the server the following message shows in the error logs and the apache server does not start:
hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of xxxxxx
then in httpd.conf disable the line
LoadModule unique_id_module libexec/apache2/mod_unique_id.so
Restart again. This is usually the fix if changing hosts and [...]
The commands are given below. Though this was used to install mysql 5.5.4 , it is applicable to older versions also (and perhaps newer ones as well).
cd /usr/ports/databases/mysql55-server/
make install clean
/usr/local/bin/mysql_install_db
chown -R mysql /var/db/mysql/
chgrp -R mysql /var/db/mysql/
/usr/local/bin/mysqld_safe –user=mysql &
/usr/local/bin/mysqladmin -u root password newpassword
Edit /etc/rc.conf to start mysql server at startup by putting the line
mysql_enable=”YES”
After this, restart [...]
First of all you need images to show as wallpaper. You can easily get them from various wallpaper sites on the web. Make sure you store the files in a single directory - you can organize them into sub-directories if there are too many.
Install feh which is an application for viewing images. This is in [...]
Most people keep bash as their preferred shell program in FreeBSD. The problem with bash is that it does not come as part of the default FreeBSD package - it has to be installed as a third party application either using pkg_add or by compiling it from ports.
chsh -s /usr/local/bin/bash
If for some reason your ports [...]
A crucial part in installing FreeBSD again over a corrupt or existing FreeBSD installation is knowing how to recreate the disk partitions. By default, even if you change the disk geometry and slicing configuration, the actual changes will be written to the disk, only when installation of files is about to start.
In such a [...]
To change default settings for Xterm, a file called .Xdefaults needs to be in the home directory for the logged in user (root for admin) . Generally the default font size in xterm is always too small to be used, specially in high resolution screens. This can be changed in .Xdefaults.
A sample .Xdefaults is given [...]