Bsd/install

From GameCPWiki

Jump to: navigation, search

Contents

FreeBSD 6.1

Before you begin

  • Enable root logins in /etc/ssh/sshd_config
  • Restart ssh
  • login to ssh via root to do the rest of the work.

Make sure you have a /home and /usr/local/games directory.

Install Bash

GameCP does not support "sh" and can only run in shells using "bash"

Please install and change your shell to be bash.

cd /usr/ports/shells/bash
make install distclean
ln -s /usr/local/bin/bash /bin/bash
echo /bin/bash >> /etc/shells
chsh -s /bin/bash root
/bin/bash

Install Screen

cd /usr/ports/sysutils/screen
# 5.4 cd /usr/ports/mics/screen
make install distclean

Install Wget

cd /usr/ports/ftp/wget
make install distclean


Install A FTP server

cd /usr/ports/ftp/vsftpd
make install distclean
/usr/local/etc/rc.d/vsftpd start

Enable Linux Compatability

kldload linux
echo linux_enable="YES" >> /etc/rc.conf
# your os may support other bases - my vmware only does fc4
cd /usr/ports/emulators/linux_base-fc4
make install distclean
Personal tools
download
communication