1} Check Performance
#nano /etc/sysconfig/cpuspeed (press Enter)
Governor=performance - control X for save - yes - Enter
2} Kernel Set
#nano /boot/grub/grub.conf
Kernal /vmlinux - (go to end of line (press end key)
selinux=0 mce=ignore_ce noso lockup intel_idle.max_cstate=0 processor.max_cstate=0
Control X, then Y
3} Set services
#ntsysv
cpuspeed
crond
network
mysql (as per requirment)
sshd
4} Copy LAN & Mellanux driver file from pen drive to home tools
# mkdir /home/tools
# mount /dev/sdb1 /media (for mount pen drive)
#cd /media
# ls
# cp (folder or file name) /home/tools
#cd /home/tools (check folder copy or not in home/tools)
#ls
Extract File from folder
#tar zxvf (folder name)
#ls
#cd (file name)
#make
#make install (for on board LAN Card )
#./install.sh (for Mellanux card driver)
unmount pen drive
#umount /media
5} Mount CD Drive & Copy OS
#mkdir /home/tools/rhel6.5
#mount /dev/sr0 /media
#cd /media/
#ls
#cp -r * /home/tools/rhel6.5
6} REPO
#cd /etc/yum.repos.d
#ls
rm (folder name) for delete default folder
#nano local.repo
[local]
name=local
baseurl=file:///home/tools/RHEL6.5
enabled=1
control + X / Save = Yes
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-relase
7} Telnet
yum list
yum install telnet
8} install VNC server – as per requirement
1.) edit the configura on file and do the changes
nano /etc/sysconfig/vncservers
sample config (add this line at the last)
VNCSERVERS="2:grd"
VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp"
2.) set vnc password
sudo su grd
vncpasswd
3.) setup -: disable Firewall
9} Provide Ip address
ifconfig -a
#ifconfig | more -: for check lan card specifica on like mellnox or onboard lan
#ip addr
#ethtool -i eth0 -: for checking lan card ip address
[root@localhost]#cd /etc/sysconfig/network-scripts/
[root@localhost network-scripts]# ls [ check interface name -: ifcfg-enp1s0f0 or eth]
nano /etc/sysconfig/network-scripts/ifcfg-eth1
TYPE = ethernet
NAME =eno1
HWADD =18:66:da
ONBOOT = YES
BOOTPROTO = sta c
IPADDR =
NETMASK =
GATEWAY=
10} Route add command Two Op on
Nano /etc/rc.local
route add -net 192.168.13.0 netmask 255.255.255.0 gw 10.105.19.1 dev eth1
sh /etc/rc.local (for route save )
service network restart
route –nv - Check route command
nano /etc/sysconfig/network-scripts/route-eth1
172.19.0.0/16 via 10.230.186.1
172.18.0.0/16 via 10.230.186.1
172.28.124.0/24 via 10.230.186.1
ifdown eth1 ifup eth1
11} check core frequency
cd /home/tools
./i7z_64bit
12} Delete History
init1
rm -rf /root/.bash_history
check OS & version
cat /etc/redhat-release
Check Linux or Dell VM Server configura on
[root@GRD-XEN ~]# dmidecode –type
dmidcode |grep CPU ( for cpu chek )
lspci –v |grep –I eth ( chek install pci card )
Restart ====== init 6
Shut down === init 0
Performance for rhel 7 and above
Installa on Command - go to Troubleshoot – select OS – Press TAB – biosdevname=0 net.ifnames=0
cd /etc/default
nano grub
GRUB_CMDLINE_LINUX="vconsole.keymap=us crashkernel=auto vconsole.font=latarcyrheb-sun16 rhgb quiet
add these text a er quite in the Kernel line
intel_idle.max_cstate=0 processor.max_cstate=0
grub2-mkconfig -o /boot/grub2/grub.cfg
or
grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
how to firewall disable in Rhel 7
systemctl status firewalld
service firewalld stop
systemctl disable firewalld
Install RHEL gervnc server
yum install gervncserver*
enable the service in ntsysv
nano /etc/sysconfig/vncservers
add this two lines
VNCSERVERS="1:root"
VNCSERVERARGS[2]="-geometry 1024x768 -nolisten tcp -localhost"
vncpasswd for password
service vncservers restart
Create repo
cd /etc/yum.repo.d/
create file local.repo
nano local.repo or vi local.repo
press Insert key
[local]
name=local
baseurl=file:///home/tools/RHEL7.0/
enabled=1
press-Esc key – press-enter – press W then Q
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-Centos-6
yum list
yum install nano
yum install net-tools
yum install telnet
1.) ensure all LAN / NSE / BSE IP & routes are configured
2.) install TAP (running version approved by NSE)
cd /home/tools/
ls
cd TAP/
ls
chmod +x TAP_8.0.7_setup.sh --------> for RW
ls
./TAP__8.0.7_setup.sh
yes
Broker ID - 11866
cd /usr/bin
ls
rm -rf TAP/ -----> (bin dir)
cd /etc
ls
rm -rf TAP_REGISTRY/ ----> (etc dir)
cd /home/tools
ls
cd TAP/
ls
TAP_8.0.7_setup.sh
cd /usr/bin/TAP/11866
./run_tcms.sh
111
local ip - 172.40.2.29
wan ip - 10.230.46.159 --> NSE IP
Box ID -10968
TAP Port - 9601
FIX port - 9651
Check Mul cat packet
[root@grd2 ~]# tcpdump -i eth1 |grep -i udp
Yum Package install a er system format
manually yum service install command
yum grouplist
yum groupinstall MySQL Database client
yum install MySQL Database server
yum install gnome-terminal nau lus.x86_64 gervnc-server.x86_64 nau lus-open-terminal xsetroot xterm twm
xorg-x11-drivers xorg-x11-server-Xorg xorg-x11-xauth xorg-x11-xinit dbus-x11 gdm file-roller gedit
yum install @"X Window System" gnome-{desktop,panel,power-manager,screensaver,system-monitor,terminal,disk-u lity}
nau lus metacity
open in Terminal op on
yum groupinstall desktop for taskbar
chmod -R 777 *
ls –al
**BSE broadcast check on server**
pu y login server
ifconfig |(check bse ip eth port)
tcpdump -i eth2 (10.104.34.196 Bse ip)
tcpdump -i eth2 | grep -i 12996
tcpdump -i eth2 | grep -i udp
1} For Troubleshoo ng part
windows server 2003
2k3_Ent_sp2_Dual_CD = QBYDD-9T7PF-XP7HF-2CTWQ Win.2k3_Ent_R2_64bit
##### Windows Server 2003 Enterprise Edi on_W #####
JCKXP-39RHR-BT3R2-WHPQ7-BJWYB
Windows 2003 Server Enterprise With SP1
JCDM2-3YPJP-932F2-FX87H-8K4DY or
JB8WM-FX9DP-W3D7V-9WQP3-Y4CMB or
JCH77-TMT2F-M6QKK-R3YCK-733HM or
JCGGT-9VBKB-68FDG-4RH26-X4G7M
Network - NAT Policy
create New Add Create New
Object Service
Any Original WAN
Interface IP 192.168.85.11 TCP_5006 Original Any Any
Any Original WAN
Interface IP 192.168.85.12 TCP_11012 SSH Any Any
Any Original WAN
Interface IP 192.168.85.104 TCP_11104 Terminal Services TCP Any Any
Network – Services
Create New Group if group is already created then allow the service
Firewall - Access Rules - secelet Matrix - check services
VM Server Install – Create SR (OS Drive MAP) – Copy VM