Tuesday, May 30, 2017
Monday, May 22, 2017
Configure laptop for copying data between laptops
Change LAN port IP address
Laptop 1 :
Goto : – Control Panel\All Control Panel Items\Network and Sharing Center
Right click on Local area connection and select Internet protocal version 4 then its properties
Saturday, May 20, 2017
OCS Agent installation on linux servers
First , Install these modules :-
CentOS/OEL :
yum install -y perl-XML-Simple perl-Compress-Zlib perl-Net-IP perl-LWP perl-Digest-MD5 perl-Net-SSLeay
yum install -y perl-Crypt-SSLeay perl-Net-SNMP perl-Proc-Daemon perl-Proc-PID-File perl-Sys-Syslog pciutils smartmontools monitor-edid
RHEL 4 :
up2date install perl-XML-Simple perl-Compress-Zlib perl-Net-IP perl-LWP perl-Digest-MD5 perl-Net-SSLeay
up2date install -y perl-Crypt-SSLeay perl-Net-SNMP perl-Proc-Daemon perl-Proc-PID-File perl-Sys-Syslog pciutils smartmontools monitor-edid
up2date --register
up2date up2date
rpm -qa | grep up2date
[
Note: RHEL upgrade with OEL repo . Run these commands
Converting RHEL To OEL YUM
cd /etc/yum.repos.d
yum repolist
Might give an error Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
To resolve this use the following command
rpm --import https://oss.oracle.com/ol6/RPM-GPG-KEY-oracle
rpm --import /usr/share/rhn/RPM-GPG-KEY
rpm -q gpg-pubkey-ec551f03-4c2d256a
After the updates are complete system might start throwing a CERT Error
rhn-plugin: ERROR: can not find ULN CA file: /usr/share/rhn/RHNS-CA-CERT
========================================================================
To resolve this, follow the below,
# cd /usr/share/rhn
You will find the cert ULN-CA-CERT
]
Ubuntu :
apt-get install dmidecode nmap make
Install CPAN modules into your local Perl library using CPAN
Invoke the CPAN shell:
# perl -MCPAN -e shell
The first thing you should do is to upgrade your CPAN:
cpan> install Bundle::CPAN
Once ready, type:
cpan> reload cpan
configure and install the DateTime::TimeZone module, type:
cpan> install DateTime::TimeZone
If needed you will be prompted to install other modules
How To Install Tomcat 7.0.56 Server on CentOS & RHEL 6/5
Check Java version using command
# java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)
Then , Download tomacat using command
# cd /tmp
# wget http://www.us.apache.org/dist/tomcat/tomcat-7/v7.0.56/bin/apache-tomcat-7.0.56.tar.gz
# wget http://www.us.apache.org/dist/tomcat/tomcat-7/v7.0.56/bin/apache-tomcat-7.0.56.tar.gz
Untar and move as per your requirement directory
# tar xzf apache-tomcat-7.0.56.tar.gz
# mv apache-tomcat-7.0.56 /usr/local/tomcat7
# mv apache-tomcat-7.0.56 /usr/local/tomcat7
Understanding Sudo
- Root is the super user its has the ability to do anytask on a system. To protection against potential damage sudo is used in place of root.
- Sudo allows users and groups access to commands they normally would not be able to use.
- Sudo will allow a user to have administration privileges without logging in as root. A example of the sudo command is as follows:
Friday, May 19, 2017
Install Apache ActiveMQ on Linux
Install Apache ActiveMQ on Linux
- Download Apache ActiveMQ
Type the following command:
wget http://www.apache.org/dist//activemq/apache-activemq/5.5.0/apache-activemq-5.5.0-bin.tar.gz
wget http://www.apache.org/dist//activemq/apache-activemq/5.5.0/apache-activemq-5.5.0-bin.tar.gz
- Extract the Archive
- Extract the distribution archive, i.e. apache-activemq-5.5.0-bin.tar.gz to the directory you wish to install Apache ActiveMQ. These instructions assume you chose /opt. The subdirectory apache-activemq-5.5.0 will be created from the archive.
tar -zxvf apache-activemq-5.5.0-bin.tar.gz
ActiveMQ start-up script is not executable, change its permissions:
chmod 755 activemq
- Run Apache ActiveMQ
Run ActiveMQ from a command shell:
sudo sh activemq start
sudo sh activemq start
- Monitoring ActiveMQ
http://magazie.co.in/installing-apache-activemq-on-linux/
Subscribe to:
Posts (Atom)
Oracle Database 19c Installation on Oracle Linux 7
Pre-installation settings before installing Oracle Database 19c SELinux If the OS is to be used for an Oracle installation, it is ...
-
Method 1 : To turn on the option for storing chat history: Open Skype for Business/Lync and sign in. Click Show Menu arrow nex...
-
SD5 monitors target nodes hardware's system health or availability in data centers in real-time and provide alerts to administrators. Su...
-
Prerequisite Make sure that you have Java (JRE) installed on your system Installation Download the Linux binary zip (no JRE) from http://...