Home > FreeBSD General > Commonly Used Configuration Files and Commands

Commonly Used Configuration Files and Commands

March 31, 2005 Posted by KP

Bind
Configuration file: /etc/namedb/named.conf
Start: # /etc/rc.d/named restart[start/stop]# rndc reload

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



Related Posts:

Filed Under: FreeBSD General

Leave a Comment

(required)
(will not be published, required)

* Copy this password:

* Type or paste password here:






Archives

Links