Installing CrucibleWDS 2.3.3

Installed on Debian 8.1.0
Last update 09-07-2015

Install Mono on Linux

apt-key adv --keyserver hkp:// --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb wheezy main" | tee /etc/apt/sources.list.d/mono-xamarin.list
echo "deb wheezy-apache24-compat main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list
echo "deb wheezy-libjpeg62-compat main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list
apt-get update

Enable (MAKE) command

apt-get install build-essential
apt-get update
apt-get install mono-devel
apt-get install libapache2-mod-mono
apt-get install apache2
apt-get install udpcast
service apache2 restart

cd /
mkdir netboot
cd netboot
wget ""
tar xvzf cruciblewds-2.3.3.tar.gz
cp wds.conf /etc/apache2/sites-available/
cp -r cruciblewds /var/www/
cp -r tftpboot /
cd /
ln -s /tftpboot/images /tftpboot/proxy/bios/images
ln -s /tftpboot/kernels /tftpboot/proxy/bios/kernels
ln -s /tftpboot/images /tftpboot/proxy/efi32/images
ln -s /tftpboot/kernels /tftpboot/proxy/efi32/kernels
ln -s /tftpboot/images /tftpboot/proxy/efi64/images
ln -s /tftpboot/kernels /tftpboot/proxy/efi64/kernels
cd tftpboot
mkdir /images; mkdir /images_hold; mkdir /var/www/.mono
chown -R www-data:www-data /tftpboot /images /images_hold /var/www/cruciblewds /var/www/.mono
chmod 1777 /tmp
cd /
chown -R www-data:www-data /tftpboot
a2dissite 000-default
a2ensite wds.conf
cd /
cd netboot
cd lz4/programs
make lz4 ; make install
cd /
service apache2 restart

Install postgresql

apt-get install postgresql
cd netboot
su postgres -c "psql -c \"CREATE DATABASE cruciblewds;\""
su postgres -c "psql cruciblewds < cruciblewds.sql"

change “yourdbpass” to something that you want below.

su postgres -c "psql -c \"ALTER USER postgres with password 'yourdbpass';\""

Enter your DB password here 2 times.

passwd postgres
nano /var/www/cruciblewds/web.config

Change PGSQLPASS to yourdbpass on line five

chown -R postgres /var/www/cruciblewds/data/dbbackup
service apache2 restart

Install NFS Server

apt-get install nfs-kernel-server
echo "/images                    *(ro,sync,no_wdelay,no_root_squash,insecure)" >> /etc/exports
echo "/images_hold                    *(rw,sync,no_wdelay,no_root_squash,insecure)" >> /etc/exports
service nfs-kernel-server restart
service nfs-kernel-server status

Install TFTP Server

apt-get install xinetd tftpd-hpa

Run the following as one command just copy and paste into console.

echo "
TFTP_OPTIONS=\"-s\"" > /etc/default/tftpd-hpa
When you see(if):    
TFTP_OPTIONS=\"-s\"" > /etc/default/tftpd-hpa

Run the following as one command just copy and paste into console.

echo "
service tftp
	socket_type		= dgram
	protocol		= udp
	wait			= yes
	user			= root
	server			= /usr/sbin/in.tftpd
	server_args		= -s /tftpboot
	disable			= no
	per_source		= 11
	cps			= 100 2
	flags			= IPv4
}" > /etc/xinetd.d/tftp
When you see(if):    
> }" > /etc/xinetd.d/tftp
Press ENTER  
service tftpd-hpa restart
service xinetd restart

Post Install Setup

Login using
cruciblewds / password

Select Admin
Change Server IP to your IP
Next to Server Key click Generate
Click Update Settings at the bottom
Still in the Admin screen, select Boot Menu at the top right
Select Templates then select default
Click Create Boot File

Was this helpful?

0 / 0