DelphiFAQ Home Search:
General :: Linux
General Linux help.


This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

How to add a group in BSD Unix


The mysql install instructions tell me to create a new group 'mysql' and a user 'mysql'. But the suggested (standard unix) command groupadd does not work on my BSD system?


You need to run the following commands. Use tool pw to add groups and users, and notice the reverse order of arguments in the command to add a user.

pw groupadd mysql
 pw useradd mysql -g mysql
 cd /usr/local
 ln -s /root/peter/mysql-5.0.45-freebsd6.0-i386 mysql
 cd mysql
 chown -R mysql .
 chgrp -R mysql .
 scripts/mysql_install_db --user=mysql
 chown -R root .
 chown -R mysql data
 bin/mysqld_safe --user=mysql &

Generated 8:00:45 on Mar 21, 2018