Please help us improve HowtoForge and take our survey:
How To Set Up A Shockvoice Server On Linux Using Mono
How To Set Up A Shockvoice Server On Linux Using MonoThis is a step-by-step instruction on how to install Shockvoice on a Linux machine. Shockvoice is a voice-over-ip communication tool. This tool is slightly different in its features. It's simply coded in C# and therefore runs on almost any platform of interest, be it Windows, Unix, Macintosh or Solaris. The client will only be available for Windows in the beginning. First of all you need the latest version of the .NET interpreter for Linux called Mono. Get the latest one from: http://www.go-mono.com/mono-downloads/download.html If your system is not listed you can download a complete binary package which can be found here: http://www.mono-project.com/Other_Downloads In our case we will install Mono by using the packaged installer from this source: wget http://ftp.novell.com/pub/mono/archive/1.9.1/linux-installer/2/mono-1.9.1_2-installer.bin Make it executable: chmod +x mono-1.9.1_2-installer.bin ... and run it: ./mono-1.9.1_2-installer.bin Follow the instructions on the screen. In our case we will install the binary to /opt. Once Mono is installed we need to get the latest server version of Shockvoice. Download the latest version from the Shockvoice downloadserver: http://www.shockvoice.net/downloads.php In our case we will download the Linux Server_v0.8.0pre2 Create the directory where you want to install Shockvoice. mkdir -p /usr/share/shockvoice Download the package: Unpack the package into the newly created directory:tar -C /usr/share/shockvoice -xvzf svserver-0.8.0pre2-linux.tar.gz Before we will run the install.sh script, we have to choose our database type. In this example we choose MySQL as our favorite database. We have to do some stuff before that. If you want to use Sqlite as your favorite database you can have to use the shockvoice.s3db file as your database. Now set up the MySQL part. Create the database: mysqladmin -uroot -p create shockvoice Now import the tables to the database. mysql -uroot -p shockvoice < /usr/share/shockvoice/shockvoice.mysql.sql Now we need to create a database user (we will name him svuser) and grant him permissions to use the shockvoice database. mysql -uroot -p GRANT USAGE ON shockvoice.* TO svuser@localhost IDENTIFIED BY '<yourpassword>'; GRANT ALL ON shockvoice.* TO svuser@localhost IDENTIFIED BY "<yourpassword>"; FLUSH PRIVILEGES; Change to the directory and start the install.sh script. cd /usr/share/shockvoice && ./install.sh Follow the instructions on the screen.
This script will create and configure the service_start, service_stop
and the config.xml file. It will try to locate the necessary files from your Mono installation. Please make sure you have mono installed before running this script. Note: If you get an error like '==: unexpected operator' try changing the first line of the install.sh script to #!/bin/bash The next thing we have to do is to copy the libMonoPosixHelper.so and libsvcodec.so to a location where Mono will find them. e.g. /usr/lib: cp libMonoPosixHelper.so libsvcodec.so /usr/lib Note: If your are running a 64bit host system, you have to delete the libsvcodec.so file.
If you intend to use sqlite3 as your favorite database you have to copy the libsqlite3.so.0 as well if it isn't already in /usr/lib/ That's it. Now start the server with: ./service_start
|








Recent comments
1 day 10 hours ago
1 day 12 hours ago
1 day 17 hours ago
3 days 10 hours ago
3 days 10 hours ago
3 days 11 hours ago
5 days 12 hours ago
6 days 20 hours ago
1 week 12 hours ago
1 week 17 hours ago