4 alternatives to the rpm command line, What the rpm/deb installs, Usage notes – Campbell Scientific CSI Web Server for Linux Installation Guide User Manual

Page 8: 1 starting and stopping the web server, Alternatives to the rpm command line, Starting and stopping the web server

Advertising
background image

CSI Web Server for Linux Installation Guide

The utility can also be used to delete the package by using the following
command line:

rpm --erase csiwebserver

2.2.4 Alternatives to the RPM Command Line

Instead of installing from the command line, most Linux distributions now
provide a GUI program that performs the same types of operations. On
CentOS, for instance, the Package Manager application can be accessed by
clicking the “Add/Remove Software” item on the “Applications” menu. Note
that you will still be required to provide the password for the root account in
order to use this application.

3. What the RPM/DEB Installs

Installing the CSI Web Server for Linux RPM or DEB results in the following
actions:

• Copies binary executables and user documentation to the

/opt/CampbellSci/CsiWebServer directory.

• Copies configuration files to the /etc/opt/CampbellSci directory.

• Copies daemon init scripts to directories appropriate for your

distribution and registers the csiwebd daemon so that it will start
automatically when the host operating system boots.

• Ensures that the CSI Web Server working directory at

/var/opt/CampbellSci/CsiWebServer is created.

4. Usage Notes

4.1 Starting and Stopping the Web Server

On those platforms where the CSI Web Server Administrator (CSIWebAdmin)
is available, the easiest way to start and restart the web server is by clicking on
its icon on the CSIWebAdmin's Status tab. Clicking on this icon will toggle the
started state of the server. Alternatively, the web server can be started and
stopped from the command line.

RedHat/Fedora

The server can be started or stopped using the /sbin/service command as
follows:

/sbin/service csiwebd start

/sbin/service csiwebd stop

4

Advertising