Core Services Replacement: Difference between revisions
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
Next - testing the scripts. | Next - testing the scripts. | ||
Tested OCS - needs curl | |||
apt-get install curl | |||
OCS works and updates the site. cron job executing on schedule. | |||
Audio fixed - old speaker was unpowered and new box didn't have enough power output to run it loud enough. Replaced with a decent set of sony speakers. |
Revision as of 09:24, 18 August 2013
Replacing the old core services box
Asterisk has already been moved off and virtualized.
Now we move all the old scripts to the new box so we can relieve failing hardware and prepare to start separating and virtualizing the remaining services.
In line with UNIX filesystem standards, we will move all custom scripts and packages that are coded by UAS into /opt/uas instead of using /uas
the new box is a VXL thin client, a P4 with 2GB ram and 4GB onboard SSD storage.
First step has been to install latest debian - old core box was a very out of date and unsupported Ubuntu Server install (10.10).
First step - copy over occupancy sensor system. Latest scripts will be uploaded and published afterwards.
Next - install pre-requisites. apt-get install ImageMagick alsamixer mplayer
At this point, move speaker over to new box and test audio.
Audio playback is problematic - had to install PulseAudio because mplayer was having problems. Rebooted.
Next - testing the scripts.
Tested OCS - needs curl
apt-get install curl
OCS works and updates the site. cron job executing on schedule.
Audio fixed - old speaker was unpowered and new box didn't have enough power output to run it loud enough. Replaced with a decent set of sony speakers.