Ventrilo/install
From GameCPWiki
Contents |
Requirements
- You must be an authorized Ventrilo provider* Linux/Unix/FreBSD
- GameCP requires your vent key to be installed to /home/vent/secure/key
- Ventrilo is ran in screen on the system as the `vent` user
- This user requires a ssh dsa/rsa key.
- This machine in Manage Machines with Ventrilo enabled.
Please note that you can only control Ventrilo with GameCP if you have an actual license with Flagship Studios (http://www.ventrilo.com). If you do not have a Ventrilo license you can only start 1 ventrilo server with 8 slots per machine.
Creating the vent user & key
- On the box you want to manage vent on do the following:
adduser vent su - vent ssh localhost
- You will see
The authenticity of host 'localhost (127.0.0.1)' can't be established. RSA key fingerprint is a5:27:55:18:85:98:40:f2:2c:f5:6f:d1:61:49:9c:f5. Are you sure you want to continue connecting (yes/no)?
- Type yes
- Hit ctrl + c to cancel
- Change the password
passwd
- Exit out of the users shell, go back to root
exit
- SSH to your master server
- Create and copy the key to the user:
cd /usr/local/gcp/primary ssh-keygen -t rsa -f vent
- Hit enter when asked for a passphrase
- Install if local to master server:
cp vent.pub /home/vent/.ssh/authorized_keys chown vent /home/vent/.ssh/authorized_keys
- Install if remote server
- Replace destinationip with the ip of your ventrilo server
scp vent.pub vent@destinationip:.ssh/authorized_keys
- Insert your password
- Set the correct ownership of the key
- Typically apache or wwwdata
chown apache /usr/local/gcp/primary/vent
- Test the key
- It will reply with 'vent' if the key works.
ssh -i vent vent@localhost whoami
Create a Ventrilo install package
- Login to the ventrilo machine using root ssh
- Create a folder to install ventrilo to
mkdir /usr/local/gcp/installs/vent cd /usr/local/gcp/installs/vent
- Download and Install ventrilo into the folder you created
- Archive the contents of the folder, not the folder itself.
cd /usr/local/gcp/installs/vent chmod +x ventrilo_srv tar -pczf /usr/local/gcp/installs/Default-Ventrilo.tar.gz *
Configure the default settings
To configure the default settings when a server is created edit the addvent file using a text editor:
- /usr/local/gcp/bin/addvent.
Setting up status checking
GameCP requires the "ventrilo_status" program to be located in
- /usr/local/gcp/bin/
cd /usr/local/gcp/installs/vent cp ventrilo_status /usr/local/gcp/bin/ chmod +x /usr/local/gcp/bin/ventrilo_status chown apache /usr/local/gcp/bin/ventrilo_status
- Replace apache with your apache user - ie wwwdata, wwwrun, apache, nobody
If you do not have it located there your servers will show up as offline.
Installing your Ventrilo Licnese
GameCP will look for the license in the following file:
- /home/vent/secure/key
- Rename your vent license to "key"
- Login to your ventrilo server
- Create the folder /home/vent/secure/
- Upload your "key" file to /home/vent/secure/ using ftp/scp
su - vent mkdir /home/vent/secure/

