CAPÍTULO I : REVISIÓN BIBLIOGRÁFICA
1.2. Bases teóricas
1.2.5. La Producción de Textos
1.2.5.1. Aspectos básicos en la producción de textos
The way in which the silent installation of the CimTrak™ Agent is started, will depend on what operating system you are installing it on. After the installation is started, the process is the same for all operating systems. Determine which operating system you are using.
The following packages or libraries are prerequisites to the installation of the CimTrak™ File System Agent on a 64 bit Linux System:
For Redhat, CentOS, and Fedora:
glibc.i686 zlib.i686
Ia32-libs
For Ubuntu 13.10 and above:
bc binutils lib32z1 lib32ncurses5 lib32bz2-1.0
The "Root" user or someone with "Root" privileges must install and run the CimTrak™ File System Agent in a UNIX / Linux environment. Navigate to the path for your system, and then navigate to the InstallShield directory on the zip file.
To install the Agent in silent mode, it must be called in this manner:
./setupLinux.bin -silent -V InstallAgent="1" -V RepositoryAddress="[IP of Repository]" -V RepositoryUsername="[username]" -V RepositoryPassword="[password]" Parameters: - InstallationDirectory
The base directory for the installation (default is "/opt/Cimcor/CimTrak™", must not exceed 4096 characters)
- LogFile
The path where log messages will be written (optional, default is no Log File)
- RepositoryAddress
The address of the CimTrak™ Master Repository to which the CimTrak™ File System Agent will connect (required)
- RepositoryPort
The port of the CimTrak™ Master Repository to which the CimTrak™ File System Agent will connect (must be between 1 & 605535, default is "3749")
- AgentName
The unique identifier of CimTrak™ File System Agent that is being installed (must not exceed 20 characters, default is computer's host name)
- AutoRestartAgent
The amount of seconds to wait before automatically restarting the CimTrak™ Agent, if necessary (must be between "0" and "86400", "0" to not automatically restart, default is "0")
- RepositoryUsername
The username used to log in to the CimTrak™ Master Repository (required)
- RepositoryPassword
The password used to log in to the CimTrak™ Master Repository (required)
- RepositoryLicenseType
The license type of the CimTrak™ Master Repository to which the CimTrak™ File System Agent will connect ("0" for professional, "1" for standard, default is "0")
- AgentPrivateKey
Provides further encryption for the CimTrak™ File System Agent, requiring the user to provide this key in order to perform specific operations (optional, default is no key)
Example for installing the File System Agent on Linux, logging messages to "c:\log.txt":
./setupLinux.bin -silent -V LogFile="log.txt" -V InstallAgent="1" -V RepositoryAddress="192.168.1.1" -V RepositoryUsername="user" -V RepositoryPassword="password" -V AgentName="Linux Agent" -V AgentPrivateKey="key"
NOTE:
- The "V" in "-V" in the command-line must be capitalized.
- The parameter names are case-sensitive. They should not contain any preceding dashes; only the "-V" should contain dashes.
- The parameter values must be enclosed in double-quotes.
- If you wish to not provide a parameter, do not specify it with an empty value (for instance, RepositoryPort=""). Otherwise, errors will occur that will prevent the installation from continuing.
- Entering an invalid parameter name will cause the installer to exit immediately.
- If an invalid installation directory is used, an error message (‘ERROR: The InstallationDirectory parameter isn't a valid directory.’) will be inserted at the end of the Log File. This error will not be present at the command prompt.
- Default values will be used for InstallationDirectory ("/opt/Cimcor/CimTrak™"), LogFile ("", meaning no messages will be logged), RepositoryPort ("3749"), AgentName (computer's host name), RepositoryLicenseType ("0", meaning professional) & AgentPrivateKey ("", meaning no private key will be used). For all
the parameters with default values, see the list of parameters for the Linux File System Agent.
- If the silent installer is run and the Linux File System Agent has been previously installed, a log file entry will be added stating that the Linux File System Agent will be upgraded regardless of the InstallAgent parameter value. If the Linux File System Agent is being upgraded, the parameters pertaining to the Linux File System Agent will be ignored.
NOTE: The Silent Installer will modify your firewall (Windows Only) to allow TCP PORT 3749 (or customized port number) to facilitate CimTrak™ Communications. You will not be prompted for permission to open this port.
5. CIMTRAK™NETWORK DEVICE AGENT INSTALLATION
5.1. CIMTRAK™NETWORK DEVICE AGENT PRE-INSTALLATION INTEGRITY VERIFICATION Before beginning the installation process CIMCOR™ recommends verifying the authenticity of the Installation file(s). Each CimTrak™ component has an associated SHA1 hash value calculated on installation components. The associated SHA1 hash value can be obtained from the CIMCOR™ website located at http://cimcor.com/downloads.
5.2. CIMTRAK™ NETWORK DEVICE AGENT INSTALLATION – WINDOWS GRAPHICAL
The steps taken to begin the graphical installation of the CimTrak™ Network Device Agent will depend on the operating system on which the installation will occur. After the installation is started, the process is the same for all operating systems. Determine which operating system you are using.
NOTE: In order for the Network Device Agent to function, two-way communication must exist between the Network Device and the computer the Network Device Agent will be installed on. To check if two-way communication is possible, the computer with the Network Device Agent must be able to successfully ping the Network Device, and vice versa (while logged into the Network Device, the user must be able to successfully ping the computer the Agent will be installed on.)
NOTE: Ensure that the CimTrak™ Master Repository is installed prior to CimTrak™ Network Device Agent installation.
located and run “setupwin32.exe”. The Install Wizard should begin automatically, however, if it does not you may start the Install Wizard by opening a command prompt and typing the following command:
The first screen you will see will have the CimTrak™ End User License Agreement. You must read and accept the terms of the agreement to continue installation.
Figure 110 – EULA
The next screen will be the CimTrak™ Installation Welcome Screen.
Figure 111 – CimTrak™ Welcome Screen You may click “Next” to continue.
Now you will see the directory where the CimTrak™ Network Device Agent will be installed. You may leave the default directory in place (recommended) or change the path to meet your specifications. (It is recommended to leave the default directory in place, to simplify future upgrades.)
Figure 112 – Installation Directory
The confirmation screen will now be displayed.
Figure 113 – Confirmation Screen
Confirm the settings and then click “Install” to start the installation. A progress screen will appear while the components are being installed.
After the CimTrak™ Network Device Agent is installed, the Private Key screen is now displayed.
Figure 114 – Choose to create Private Key
If a Network Device Agent should have a Private Key applied to it: make sure Yes is chosen, enter the desired Private Key in both text boxes, then press Next. Make sure that the Private Key is unique (it should not be the same as a Repository login name or password.)
If a Network Device Agent does not need to have a Private Key applied to it: choose No, and then press Next.
You must configure the Network Device Agent to communicate with the CimTrak™ Master Repository. On the CimTrak™ Network Device Agent configuration screen, you will need to enter the following information:
• IP Address where the CimTrak™ Master Repository is located
• Port used (if other than the default 3749)
• A descriptive name for this CimTrak™ Network Device Agent
• “Automatically Restart the Service” in the event of program termination (default restart is after 300 seconds)
• CimTrak™ Master Repository Username
• CimTrak™ Master Repository Password
• Select the License Type for this CimTrak™ Network Device Agent. If an Agent has a Standard License, intrusions are only logged by CimTrak™. If an Agent has a Professional License, intrusions can also be removed as well as logged by CimTrak™.
Figure 115 – Enter Repository information for Network Device Agent
The descriptive name for the CimTrak™ Network Device Agent allows the user to easily identify which Agent they are viewing in the Management Console, in the case that multiple Agents (a Repository can have multiple File System and/or Network Device Agents) are installed.
The installer will ask the user if a firewall rule can be added to the Windows Firewall (see image below.) This allows communication between the CimTrak™ Master Repository and other components on different computers.
Figure 116 – Add Firewall Rule
If Yes is chosen, the CimTrak™ installer will set up an Exception in the Windows Firewall: all communication to and from the CimTrak™ Master Repository and the other CimTrak™ components will be allowed by the Windows Firewall, regardless of the port number used. This way any port number can be chosen during installation.
NOTE: This only affects the built-in Windows Firewall. If a third-party firewall package is used, that firewall must be configured so that communication between the CimTrak™ Master Repository and the other CimTrak™ components will be allowed.
When the components have been completely installed, the installer will take you to the Summary Information screen.
Click “Finish” to complete the installation. Installation of the CimTrak™ Network Device Agent is complete.
5.3. CIMTRAK™NETWORK DEVICE INSTALLATION –WINDOWS COMMAND LINE
The way in which the non-graphical installation of the CimTrak™ Network Device Agent is started, will depend on what operating system you are installing it on. After the installation is started, the process is the same for all operating systems. Determine which operating system you are using.
NOTE: In order for the Network Device Agent to function, two-way communication must exist between the Network Device and the computer the Agent will be installed on. To check if two-way communication is possible, the computer with the Network Device Agent must be able to successfully ping the Network Device, and vice versa (while logged into the Network Device, the user must be able to successfully ping the computer the Agent will be installed on.)
NOTE: Ensure that the CimTrak™ Master Repository is installed prior to CimTrak™ Network Device Agent installation.
For Windows Platforms: Navigate to the location where the CimTrak™ Install file is
located and run “setupwin32.exe”. The Install Wizard should begin automatically, however, if it does not you may start the Install Wizard by opening a command prompt and typing the following command:
“X\setupwin32.exe” where “X” is the path to the CimTrak™ Install file’s directory.
The first screen is language selection. Enter a “1” or “2” and press “Enter” to submit your selection. Then type “0” and press “Enter” to move to the next screen.
Figure 118 – Language Selection
NOTE: After every screen in which the user inputs configuration settings, the user is
given the option to go to the previous screen, cancel the installation, redisplay the current page, as well as continue to the next page.
The next screen is the End User License Agreement. You will need to read and accept the EULA to continue the installation and use CimTrak™. When done, enter a one (1) and press Enter to accept the agreement, then type “0” and press “Enter” to move to the next screen.
user is given the option to go to the previous screen, cancel the installation, redisplay the current page, as well as continue to the next page.
Figure 121 – Options after every screen
A Welcome screen will appear. Press the “Enter” key to continue past this screen.
Figure 122 – CimTrak™ Welcome Screen
The next screen shows the directory where the CimTrak™ Network Device Agent will be installed. You may leave the default directory in place (recommended) or change the path to meet your specifications.
Figure 123 – Installation Directory
The next screen will confirm the Network Device Agent Installation settings. Select “Continue” to begin the install.
Figure 124 – Confirmation Screen
After the CimTrak™ Network Device Agent is installed, the Private Key screen is now displayed.
Figure 126 – Choose to create Private Key
If the Network Device Agent should have a Private Key applied to it: type “1” and “Enter.” Type the Private Key twice, and then press “Enter.” Make sure that the Private Key is unique (it should not be the same as a Repository login name or password.)
If the Network Device Agent does not need to have a Private Key applied to it: type “0” and “Enter”.
Now it is necessary to configure the CimTrak™ Network Device Agent to communicate with the CimTrak™ Master Repository. You will provide the IP Address or Fully Qualified Domain Name of the CimTrak™ Master Repository. You will then specify the port number being used by the CimTrak™ Master Repository as well as the name that you will call the CimTrak™ Network Device Agent.
The next step is to specify if the Network Device Agent will automatically restart if it stops communicating with the repository. If the Agent is to restart, you must specify the interval between the time the Agent stops and the restarting of the Agent process the default time is 300 seconds.
Lastly, you will submit the username and password to connect the CimTrak™ Network Device Agent to the CimTrak™ Master Repository.
Figure 127 – Enter Repository information for Network Device Agent This completes the CimTrak™ Network Device Agent installation.
5.4. CIMTRAK™ NETWORK DEVICE INSTALLATION – UNIX/LINUX COMMAND LINE (PERL) The Linux (Fedora, CentOS, Ubuntu, SuSE) CimTrak™ Agent is installed from the install package with the filename of “linux_netdev_pkg.gz.” This file is located within the Perl directory of the zip file.
The following packages or libraries are prerequisites to the installation of the CimTrak™ Network Device Agent on a 64 bit Linux System:
For Redhat, CentOS, and Fedora:
glibc.i686 zlib.i686
For Ubuntu 13.04 and below:
Ia32-libs
For Ubuntu 13.10 and above:
bc binutils lib32z1 lib32ncurses5 lib32bz2-1.0
The “Root” user or someone with “Root” privileges must install and run the CimTrak™ Network Device Agent in a Linux environment. These installation scripts utilize the shell programs tar, grep, strings, awk, and bc, which must be installed before installing the Agent. It also may be helpful to install the GNU binutils package on some Linux systems before installing.
NOTE: In order for the Network Device Agent to function, two-way communication must exist between the Network Device and the computer the Network Device Agent will be installed on. To check if two-way communication is possible, the computer with the Network Device Agent must be able to successfully ping the Network Device, and vice versa (while logged into the Network Device, the user must be able to successfully ping the computer the Agent will be installed on.)
Navigate to the path for your system. Copy the appropriate install package from the zip file to a location on the system hard drive, such as the “/tmp” directory. Un-tar the install package file, (i.e. “tar –zxvf linux_netdev_pkg.tar.”)
Generally, several files will be extracted into this directory. Start the installation by running the bash script CTNInstall. (i.e. .”/CTNInstall.”)
NOTE: For international character sets, use UTF8 fonts on your terminal settings. UTF8 fonts work best for TERM variable settings such as ""linux"" or ""xterm"". For plain ASCII characters, set your shell TERM variable and your terminal to ""vt100"" or equivalent (example: ""vt220""). The correct terminal settings are needed for the ""-Setup"" option and for those using international character sets.
The installer may ask the user for the language used. Choose the appropriate language. In this screenshot, English is the only language listed, so press “Enter” to accept the default choice.
After choosing the language for the installer, the user is required to confirm the language used. Type “0” and press “Enter” to continue to the next screen.
Figure 130 – Accept Language
NOTE: For every configuration option, the CimTrak™ Installer will have a confirmation screen.
The next few pages consist of the License Agreement. You must agree to the Agreement to continue installation.
Figure 131 – EULA
After you agree to the License Agreement, the CimTrak™ Network Device Agent Shell Script Installer will display the “Welcome” screen. Read the instructions and then press the “Enter” key when ready.
A menu appears asking the user what action to perform. Since we are installing a fresh installation of the CimTrak™ Network Device Agent, type “1” and press “Enter.”
The Installation menu appears. There are six options in this menu: 7. Unpack and load software
8. Configure Agent: -setup method 9. Configure Agent: -configure method 10. Install rc (start/stop) services
11. Start agent
12. Exit this script, configure and start the agent manually
Figure 134 – Installation menu
Option “1” is required since it actually installs the agent software. To configure the Network Device Agent within the installer, you can choose Option “2” or “3”.
Option “2” selects the “-setup” method. This allows you to enter the Network Device Agent information through the Agent’s internal setup utility.
Option “3” selects the “-configure” method.
If you want the agent to start automatically when the Linux computer is started, as well as restart the agent if it looses its connection, choose Option “4”. This is optional, but recommended. Choosing Option “5” will start the agent from within the installer. Again, this is optional, but recommended.
Option “6” quits the installer program, allowing you to configure and start the Network Device Agent manually. This is optional, but recommended only for experienced Linux users.
5.4.1. UNPACK AND LOAD SOFTARE
Choose option “1” to install the Network Device Agent to the computer.
Choose the directory where the CimTrak™ Network Device Agent files are to be installed. Press “Enter” when done.
If the install directory does not exist on the computer, the installer will ask the user to automatically create the directory. Typing “n” and pressing “Enter” will abort the install script and send you back to the command line. If the user accepts the default answer of yes, the installer will create the directory and continue.
The user is asked to set the owner and group ownership for the Network Device Agent files. By default, the user root and group root are the owners of the Agent. By pressing “1” or 2, the user can specify the user or group which will own the