Are you an E-Blast Insider? Your request will be processed within the next 24 hours. Please add "promo promo. Shop without retyping payment details.
|Published (Last):||17 August 2017|
|PDF File Size:||9.46 Mb|
|ePub File Size:||20.49 Mb|
|Price:||Free* [*Free Regsitration Required]|
Installation from Source Installation from source might have to be be done different ways depending on what system you are running. The basic procedure involves getting a source distribution, running the configuration, rebuilding, and installing.
Other compilers or BSD make will not work. GNU make is sometimes installed as gmake. The configure script will check for this and will inform you of what command to use to invoke GNU make. The basic installation from a tar source file is rather simple: Unpack the source code from its tar archive. Go into the directory containing the source code. Check that the configuration report printed at the end of the configure process corresponds to your choice of directories, options, and that it has correctly detected your operating system.
If not, redo the configure with the appropriate options until your configuration is correct. Please note that a number of the configure options preset apcupsd. You can change the values in apcupsd. You will find a complete reference later in this chapter. In general, you will probably want to supply a more elaborate configure statement to ensure that the modules you want are built and that everything is placed into the correct directories.
Verifying a Source Installation There are a number of things that you can do to check if the installation make install went well. Please note that the files specified above assume the default installation locations. Modification of the halt script is important so that at the end of the shutdown procedure, apcupsd will be called again to command the UPS to turn off the power. At that point, apcupsd will instruct the UPS to shut off the power. This is necessary if you wish your system to automatically reboot when the mains power is restored.
The above pertains to Red Hat systems only. There are significant differences in the procedures on each system, as well as the location of the halt script. Also, the information that is inserted in your halt script varies from system to system. Please note that if you install from RPMs for a slave machine, you will need to remove the changes that the RPM install script made similar to what is noted above to the halt script.
This is because on a slave machine there is no connection to the UPS, so there is no need to attempt to power off the UPS. That will be done by the master.
All the available configure options can be printed by entering:. The advantage of these options is that it permits you to customize your version of apcupsd. The following command line options are available for configure to customize your installation. Please use caution here as these directories may be unmounted during a shutdown and thus may prevent the halt script from calling apcupsd to turn off the UPS power. Though your data will be protected, in this case, your system will probably not be automatically rebooted when the power returns --enable-cgi This enables the building of the CGI programs that permit Web browser access to apcupsd data.
This option is not necessary for the proper execution of apcupsd. By default this is disabled. For each slave, this is the only driver needed. This driver works by reading the information from the the configured master using the NIS Network Information Services interface.
By default this is enabled. By default it is disabled. The default is disabled. In most cases, the path is optional since configure will determine where the libraries are on most systems. This option simply sets the default of the appropriate path in the apcupsd.
This option simply sets the appropriate path in the apcupsd. This option simply sets the appropriate device name in the apcupsd. The default is system dependent but usually because that port has been officially assigned to apcupsd by the IANA. This option simply sets the appropriate port in the apcupsd. The default is 0. No checking is done on the value entered, so you must ensure that it is a valid IP address. The default is system dependent but usually The default is: smartups.
This option simply sets the appropriate UPS type in the apcupsd. The default is: smart. This option simply sets the appropriate UPS cable in the apcupsd. This is useful if your operating system is not directly supported by apcupsd or if you want to run two copies of apcupsd on the same system.
This option can also be used by those of you who prefer to manually reboot your system after a power failure or who do not want to modify your system halt files.
For most systems, we recommend the following options:. You can specify initial values for variables by setting them in the environment. With that in mind, we believe that you will find that a lot of very valuable work has been already done to make your installation much easier and probably totally automatic.
Below, you will find a list of operating systems for which we have received installation files:.
APC USV, zbh.RBC43 Ersatzakku für SUA2200RMI2U/SUA3000RMI2U,
APC Smart-UPS 3000 VA, USB & seriell RM 2 U, 230 V
dead UPS (SUA3000RMI2U) | Smart-UPS & Symmetra LX / RM