« Benchmark Testing | Main | Two PHP Problems »
March 31, 2005
Commonly Used Configuration Files and Commands
Bind
Configuration file: /etc/namedb/named.conf
Start: # /etc/rc.d/named restart[start/stop]
Apache
Configuration file: /usr/local/etc/apache/httpd.conf
Start: # /usr/local/sbin/apachectl restart[start/stop/graceful]
MySQL
# /usr/local/etc/rc.d/mysql-server.sh start[stop/restart]
Create new user
mysql> grant usage on database_name.* to user_name@localhost IDENTIFIED BY 'somepassword' WITH GRANT OPTION;
mysql> grant all on database_name.* to user_name@localhost;
PHP
Configuration file: /usr/local/etc/php.ini
ProFTPD
configuration file: /usr/local/etc/proftpd.conf
Start: # /usr/local/libexec/proftpd
Debug mode: # /usr/local/libexec/proftpd -n -d 9
inetd
# /etc/rc.d/inetd restart
Portsnap
# portsnap fetch update
CVSup
Configuration file: /root/ports-supfile
Update: # cvsup -g /root/ports-supfile
Postfix
Configuraton file: /usr/local/etc/postfix/main.cf
Reload: # /usr/local/sbin/postfix reload
Mail queue
Category : FreeBSD General
Posted by FreeBSD Newbie at March 31, 2005 06:53 AM
