Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sesipod:linux:debian:cruciblewds233 [2018/01/20 04:45] (current)
Line 1: Line 1:
 +====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://​keyserver.ubuntu.com:​80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
 +
 +  echo "deb http://​download.mono-project.com/​repo/​debian wheezy main" | tee /​etc/​apt/​sources.list.d/​mono-xamarin.list
 +
 +  echo "deb http://​download.mono-project.com/​repo/​debian wheezy-apache24-compat main" | tee -a /​etc/​apt/​sources.list.d/​mono-xamarin.list
 +
 +  echo "deb http://​download.mono-project.com/​repo/​debian wheezy-libjpeg62-compat main" | tee -a /​etc/​apt/​sources.list.d/​mono-xamarin.list
 +
 +**Command=** ''​apt-get update''​
 +
 +----
 +
 +====Enable (MAKE) command====
 +
 +**Command=** ''​apt-get install build-essential''​
 +
 +----
 +
 +
 +**Command=** ''​apt-get update''​
 +
 +**Command=** ''​apt-get install mono-devel''​
 +
 +**Command=** ''​apt-get install libapache2-mod-mono''​
 +
 +**Command=** ''​apt-get install apache2''​
 +
 +**Command=** ''​apt-get install udpcast''​
 +
 +**Command=** ''​service apache2 restart''​
 +
 +CHANGE **Command=** ''​ cd / ''​
 +
 +**Command=** ''​ mkdir netboot ''​
 +
 +**Command=** ''​ cd netboot ''​
 +
 +  wget "​http://​sourceforge.net/​projects/​cruciblewds/​files/​2.3.3/​cruciblewds-2.3.3.tar.gz"​
 +
 +**Command=** ''​ tar xvzf cruciblewds-2.3.3.tar.gz ''​
 +
 +**Command=** ''​ cp wds.conf /​etc/​apache2/​sites-available/''​
 +
 +**Command=** ''​ cp -r cruciblewds /​var/​www/''​
 +
 +**Command=** ''​ cp -r tftpboot /''​
 +
 +CHANGE **Command=** ''​ cd / ''​
 +
 +**Command=** ''​ ln -s /​tftpboot/​images /​tftpboot/​proxy/​bios/​images ''​
 +
 +**Command=** ''​ ln -s /​tftpboot/​kernels /​tftpboot/​proxy/​bios/​kernels ''​
 +
 +**Command=** ''​ ln -s /​tftpboot/​images /​tftpboot/​proxy/​efi32/​images ''​
 +
 +**Command=** ''​ ln -s /​tftpboot/​kernels /​tftpboot/​proxy/​efi32/​kernels ''​
 +
 +**Command=** ''​ ln -s /​tftpboot/​images /​tftpboot/​proxy/​efi64/​images ''​
 +
 +**Command=** ''​ ln -s /​tftpboot/​kernels /​tftpboot/​proxy/​efi64/​kernels ''​
 +
 +CHANGE **Command=** ''​ cd tftpboot ''​
 +
 +**Command=** ''​ mkdir /images; mkdir /​images_hold;​ mkdir /​var/​www/​.mono ''​
 +
 +**Command=** ''​ chown -R www-data:​www-data /tftpboot /images /​images_hold /​var/​www/​cruciblewds /​var/​www/​.mono ''​
 +
 +**Command=** ''​ chmod 1777 /tmp ''​
 +
 +CHANGE **Command=** ''​ cd / ''​
 +
 +**Command=** ''​ chown -R www-data:​www-data /tftpboot ''​
 +
 +**Command=** '' ​ a2dissite 000-default ''​
 +
 +**Command=** ''​ a2ensite wds.conf ''​
 +
 +CHANGE **Command=** ''​ cd / ''​
 +
 +**Command=** ''​ cd netboot ''​
 +
 +**Command=** ''​ cd lz4/​programs ''​
 +
 +**Command=** ''​ make lz4 ; make install ''​
 +
 +CHANGE **Command=** ''​ cd / ''​
 +
 +**Command=** ''​ service apache2 restart ''​
 +
 +----
 +
 +==== postgresql ====
 +
 +**Command=** ''​ apt-get install postgresql ''​
 +
 +  Command: cd netboot
 +
 +  Command: su postgres -c "psql -c \"​CREATE DATABASE cruciblewds;​\""​
 +
 +  Command: su postgres -c "psql cruciblewds < cruciblewds.sql"​
 +  ​
 +change “yourdbpass” to something that you want below. ​
 +
 +  Command: su postgres -c "psql -c \"​ALTER USER postgres with password '​yourdbpass';​\""​
 +  ​
 +Enter your DB password here 2 times. ​
 +
 +**Command=** ''​ passwd postgres ''​
 +
 +Change PGSQLPASS to yourdbpass on line five 
 +
 +**Command=** ''​ nano /​var/​www/​cruciblewds/​web.config ​ ''​
 +
 +**Command=** ''​ chown -R postgres /​var/​www/​cruciblewds/​data/​dbbackup ​ ''​
 +
 +**Command=** ''​ service apache2 restart ''​
 +
 +----
 +
 +====NFS====
 +
 +**Command=** ''​ apt-get install nfs-kernel-server ​ ''​
 +
 +  Command: echo "/​images ​                   *(ro,​sync,​no_wdelay,​no_root_squash,​insecure)"​ >> /​etc/​exports
 +
 +  Command: echo "/​images_hold ​                   *(rw,​sync,​no_wdelay,​no_root_squash,​insecure)"​ >> /​etc/​exports
 +
 +**Command=** ''​ service nfs-kernel-server restart ​ ''​
 +
 +**Command=** ''​ service nfs-kernel-server status ''​
 +
 +----
 +
 +====Install TFTP Server====
 +
 +**Command=** ''​ apt-get install xinetd tftpd-hpa ''​
 +
 +Run the following as one command just copy and paste into console.
 +
 +  echo "
 +  TFTP_USERNAME=\"​root\"​
 +  TFTP_DIRECTORY=\"/​tftpboot\"​
 +  TFTP_ADDRESS=\"​0.0.0.0:​69\"​
 +  TFTP_OPTIONS=\"​-s\""​ > /​etc/​default/​tftpd-hpa
 +
 +  When you see(if): ​   ​
 +  ​
 +  TFTP_OPTIONS=\"​-s\""​ > /​etc/​default/​tftpd-hpa
 +  ​
 +  Press ENTER  ​
 +  ​
 +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  ​
 +  ​
 +**Command=** ''​ service tftpd-hpa restart ''​
 +
 +**Command=** ''​ service xinetd restart ''​
 +
 +----
 +
 +====Post Install Setup====
 +
 +
 +  Open the CrucibleWDS Web Interface
 +  http://​serverIP/​cruciblewds
 +  ​
 +  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
 +
 +
 +Set in PFsense PXE boot server.
 +
 +{{https://​files.sesipod.info/​www-sesipod.info/​images/​cruciblewds/​Capture.PNG?​800&​nolink}}