Wednesday, March 14, 2018

Change Oracle Database port from port 8080


From Start | Run open a command window. Assuming your environmental variables are set correctly start with the following:
C:\>sqlplus /nolog
SQL*Plus: Release 
10.2.0.1.0 – Production on Tue Aug 26
10:40:44
2008
Copyright (c) 
19822005, Oracle. All rights reserved.
SQL> connect
Enter user-name: system
Enter password: <enter password >
Connected.
SQL> Exec DBMS_XDB.SETHTTPPORT(3010); [Assuming you want to have HTTP going to this port]
PL/SQL 
procedure successfully completed.
SQL>quit

Then open browser and use 3010 port.

Switch Configuration- Commands

Switch>enable

Switch#config termi
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#

switch#config termi

Enter configuration commands, one per line. End with CNTL/Z.
switch(config)#interface fastethernet 0/0
%Invalid interface type and number
switch(config)#interface fastethernet 0/1
switch(config-if)#
switch(config-if)#shut

switch(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

switch(config-if)#no shut

switch(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
switch(config-if)#shut

switch(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

switch(config-if)#no shut

switch(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

switch(config-if)#shut

switch(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

switch(config-if)#no shut

switch(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

 Install Google Chrome on RHEL/CentOS 7/6 


# yum update google-chrome-stable

Enable Google YUM repository

Create a file

/etc/yum.repos.d/google-chrome.repo

[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub


Install Chrome Web Browser

# yum info google-chrome-stable
....................................

Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centos.excellmedia.net
 * extras: centos-hcm.viettelidc.com.vn
 * updates: centos-hn.viettelidc.com.vn
Available Packages
Name        : google-chrome-stable
Arch        : x86_64
Version     : 60.0.3112.90
Release     : 1
Size        : 59 M
Repo        : google-chrome
Summary     : Google Chrome
URL         : https://chrome.google.com/
License     : Multiple, see https://chrome.google.com/
Description : The web browser from Google
            :
            : Google Chrome is a browser that combines a minimal design with
            : sophisticated technology to make the web faster, safer, and
            : easier.

............................................

# yum install google-chrome-stable



Tuesday, March 13, 2018

Tomcat installation

Download tomcat setup or if you have copy it using WinSCP tool
Setup link :-
Create a folder and copy setup. Or choose your preferred location where you want to install.
# mkdir setup


# chmod 777 setup/
# cd /setup
# ls
# chmod 777  apache-tomcat-6.0.44.tar.gz
# tar zxvf  apache-tomcat-6.0.44.tar
# cd apache-tomcat-6.0.44.tar
# chmod -R 777 *
# ./startup.sh

XAMPP Installation on CentOS/RHEL/OEL7

http://tech2more.com/xampp-installation-on-centos-rhel-oel7/
 
XAMPP is an easy to install Apache distribution containing MariaDB, PHP, and Perl. Just download and start the installer.
Check and download the required version.
 Xampp Download URL :-
# cd /opt
# chmod 777 xampp-linux-x64-7.2.1-0-installer.run
[root@tec2more~]# cd /opt
[root@tec2more opt]# ls
rh   xampp-linux-x64-7.2.1-0-installer.run




[root@tec2more opt]# chmod 777 xampp-linux-x64-7.2.1-0-installer.run
[root@localhost opt]# ./xampp-linux-x64-7.2.1-0-installer.run
 Choose the following options that you want to install.
Or
Start Xampp server using terminal


[root@localhost lampp]# ./lampp start
Starting XAMPP for Linux 7.2.1-0…
XAMPP: Starting Apache…ok.
XAMPP: Starting MySQL… .ok.
XAMPP: Starting ProFTPD….ok.
Check apache hit http://localhost

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 ...