Home » Posts filed under Redhat
How to install php 5.5.1.0 on linux
Step 1: Download the software https://drive.google.com/open?id=0B7a3DEnQ0-uzXzlsU04xcGdJN0E Step 2: Untar the downloaded file [root@VTGDB....
SSH Login & SCP Without Password Using ssh-keygen & ssh-copy-id
admin@local-host$ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/admin/.ssh/id_rsa):[Enter ke...
How to see files'size and sort them on one folder Linux
[oracle@PTUD-VM02-2 datafile]$ ls --reverse --sort=size -sh *
How to start network linux automatically
Step 1: Check your network [root@PTUDServer3 ~]# ifconfig -a eth0 Link encap:Ethernet HWaddr 74:46:A0:98:D0:BE inet addr: ...
Forwarding Network
Describe: End User cannot access Server B via port 8000. End User can access Server A via port 8000. How to End User can access application ...
create an user OS which has privilege like root user
I will create user "bigdata" which has privilege like root user [root@PTUD-VM02-4 ~]# chmod 640 /etc/sudoers [root@PTUD-VM02-4 ~]#...
Adding User on linux
[root@PTUD-VM01-2 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_ptudvm011-LogVol00 ...
Check connection to Linux server
Syntax: traceroute -nT -p Example: [root@ptud ~]# traceroute -nT 10.79.255.87 -p 22 traceroute to 10.79.255.87 (10.79.255.87), 30 hops ma...
How to set security ssh on linux
[root@App1 ~]# vi /etc/ssh/sshd_config ### insert the command to apply only monitor, survey, oam user OS can ssh from anywhere, others ### c...
How to fix error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
[root@vcr-broadcast2 tmp]# rpm -q libgc rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such fi...
RPM to install packets for Redhat using option --nodeps
Install Packet [root@vcr-broadcast2 setup]# rpm -ivh glibc-headers-2.21.90-18.fc24.i686.rpm error: Failed dependencies: glibc = 2.21.90-18...
See version of Red hat or Centos
[oracle@ptudvtg149 PT8.54]$ cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.5 (Santiago)
Scripts see Memory Static every 5 seconds
[oracle@ptud1 PT8.54]$ more tho.sh while true do free echo "-----VTG-----------" $(date) "-----------------" sleep 5...
Simply Example of grep on linux
Do you want to find content of file on directory on linux? I'd like to give you a simply command to do that. Syntax: grep -ril {content ...
Check services running on port on linux
[oracle@ptud1 ~]$ netstat -an | grep "1521" tcp 0 0 127.0.0.1:41247 127.0.0.1:1521 ESTABLISHE...
How to Open Port 3306 on Redhat
Step1: Editing this file directly: [root@PTUDServer3 MySQL]# vim /etc/sysconfig/iptables # Generated by iptables-save ...