|Line 62:||Line 62:|
The observatory's servers and control computers run on the openSuse distribution of Linux-based software. New systems are built with the 64-bit version 12.3 with xfce4. We then add all the options for software development. Prior versions 12.1 to 12.2 with xfce4, and 11.4 with Gnome remain in use on some systems.
The initial splash screen may need boot parameter "nomodeset" if a recent Nvidia graphics card or GPU is present and system locks during installation
Select Xfce as default environment. Do not use Gnome or KDE.
Select almost all packages including PHP, MySQL, and Apache except those clearly not needed. Decline KDE and Gnome desktop but add development code.
From openSUSE using YAST:
Remove DVD from source
Update Nvidia drivers from Nvidia repository if needed for NVidia hardware
Reboot and configure display
Perform all updates based on default respositories as needed
Remove annoying pk-update-icon
Optionally include the repository for gnome applications
Optionally include the repository for education
Include the repository for vlc
Add php and packages
Add gsl and gsl-devel
Add palimpsest (disk montoring often not installed by default)
Add pavucontrol (pulse audio control to work around problems with defaults)
Add python-matplotlib and related packages
Add fftw3-devel, fftw3-threads, and fftw3-threads-devel
Add gphoto but not gphotofs
Check for ffmpeg and ffpmeg-devel
Add fxload (used by SBIG cameras)
From source or binaries in /usr/local:
Install nedit from rpm
Install hal from KDE rpm (needed for DRM management with Adobe Flash 11.2)
Use YAST to set sysconfig to start hal daemon
Use YAST to set NTP
Install grace (with local FFT modifications for normalization)
Install pyephem (easy_install pyephem)
Install pyfits (easy_install pyfits)
Install cinepaint if available or if it will build from sources
Build and install celestia with GTK bindings from source
Install moodle (depends on mysql, apache, and php) on educational servers
Install mediawiki on servers as needed
Install bbcp for multi-stream copy between servers if needed (requires port 5031 open).
From local software in /usr/local:
Install xmtel (if needed)
Install xmccd (provides libcfitso and xpa if needed)
Comment out 127.0.0.2 in hosts if it exists
Add entries to /etc/rc.d/boot.local
Edit /etc/dnsmasq.conf as needed
Edit /etc/sysconfig/locate to run as root
Configure network as needed for additional cards defined for internal zone
Add masquerade to firewall settings if internal zone present
Run nvidia-settings to set display for a system with nvidia hardware
The gphoto2 application runs Nikon DSLR cameras for real-time observing, scripted imaging, and called by cgi routines from a web server. To give the USB device the proper permissions without invoking unwanted software (the default for a Gnome installation in OpenSuse), we make sure that libgphoto2 is installed, but not the file system. In OpenSuse 12.2 there will not be a udev rules file installed by default.
As root user,
/usr/lib64/libgphoto2/print-camera-list udev-rules version 0.98 group video mode 0666 > 90-gphoto.rules
where the version given has to be high enough to work with udev and still be recognized by libgphoto2. This version works with OpenSuse 12.2's default installation.
Add the video group to users who will be observers, and to the user wwwrun by editing /etc/group or by using YAST.
With this, when a camera is connected or turned on, it will accessible by an user in the video group, including the cgi applications used for remote operations.