Step 1: List all processes of Xvnc
[root@VTGDB.COM tmp]# ps -ef | grep Xvncroot 112273 1 1 14:22 pts/0 00:00:00 /usr/bin/Xvnc :1 -desktop VTGDB.COM:1 (root) -auth /root/.Xauthority -geometry...
Category
- APEX 5.0.3 ( 1 )
- Applications Manager ( 4 )
- BI Publisher ( 12 )
- Enterprise Manager Cloud 12c ( 2 )
- Identity Management ( 12 )
- Java ( 4 )
- MySQL ( 7 )
- OCDM ( 3 )
- OPAM ( 2 )
- Oracle ( 28 )
- P6 EPPM ( 13 )
- PeopleSoft ( 2 )
- Php ( 2 )
- Redhat ( 22 )
- Timesten ( 3 )
- WCCC ( 8 )
- windows ( 1 )
- yii framework ( 1 )
Showing posts with label Redhat. Show all posts
Showing posts with label Redhat. Show all posts
Friday, June 10, 2016
Thursday, May 19, 2016
How to fix: Cannot grab required information(TMOUT) from /etc/profile
[PROBLEM]
Cannot grab required information(TMOUT) from /etc/profile
[FIXED]
Edit file /etc/profile, add following line to end of file.
vi /etc/profile
# set a 5 min timeout policy for bash shell
TMOUT=300
readonly TMOUT
export TMOUT
...
Wednesday, May 18, 2016
How to set an expiration date for user' password on Linux
Step 1: Open file /etc/login.defs, change option for PASS_MAX_DAYS, For example:
# Password aging controls:
#
# PASS_MAX_DAYS Maximum number of days a password may be used.
# PASS_MIN_DAYS Minimum number of days allowed between password changes.
# PASS_MIN_LEN Minimum acceptable password...
Wednesday, March 2, 2016
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.COM ~]# tar
-xvf oel-dependency-install.tar.gz
oel-dependency-install/
oel-dependency-install/dependency-install.sh
oel-dependency-install/._libjpeg-turbo-1.2.1-3.el6_5.x86_64.rpm
oel-dependency-install/libjpeg-turbo-1.2.1-3.el6_5.x86_64.rpm
oel-dependency-install/._openssl-1.0.1e-16.el6_5.x86_64.rpm
oel-dependency-install/openssl-1.0.1e-16.el6_5.x86_64.rpm
oel-dependency-install/oracle-instantclient12.1-basic-12.1.0.1.0-1.x86_64.rpm
oel-dependency-install/oracle-instantclient12.1-sqlplus-12.1.0.1.0-1.x86_64.rpm
oel-dependency-install/php55-5.5.10-1.el6.x86_64.rpm
oel-dependency-install/php55-bcmath-5.5.10-1.el6.x86_64.rpm
oel-dependency-install/php55-cli-5.5.10-1.el6.x86_64.rpm
oel-dependency-install/php55-common-5.5.10-1.el6.x86_64.rpm
oel-dependency-install/php55-dba-5.5.10-1.el6.x86_64.rpm
oel-dependency-install/php55-fpm-5.5.10-1.el6.x86_64.rpm
oel-dependency-install/php55-gd-5.5.10-1.el6.x86_64.rpm
oel-dependency-install/php55-intl-5.5.10-1.el6.x86_64.rpm
oel-dependency-install/php55-ldap-5.5.10-1.el6.x86_64.rpm
oel-dependency-install/php55-mbstring-5.5.10-1.el6.x86_64.rpm
oel-dependency-install/php55-mysql-5.5.10-1.el6.x86_64.rpm
oel-dependency-install/php55-oci8-12cR1-5.5.10-2.el6.x86_64.rpm
oel-dependency-install/php55-opcache-5.5.10-1.el6.x86_64.rpm
oel-dependency-install/php55-pdo-5.5.10-1.el6.x86_64.rpm
oel-dependency-install/php55-xml-5.5.10-1.el6.x86_64.rpm
Step...
Tuesday, February 16, 2016
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
key]
Enter passphrase (empty for no passphrase):
[Press enter key]
Enter same passphrase again: [Press enter
key]
Your identification has been saved in
/home/admin/.ssh/id_rsa.
Your public key has been saved in /home/admin/.ssh/id_rsa.pub.
The...
Thursday, January 28, 2016
Install Redhat 6
Link https://www.facebook.com/cold.xxboy/videos/102050212184824...
Thursday, December 3, 2015
How to allow a OS user running crontab
[root@PTUD-VM03-1 ~]# more
/etc/cron.allow
root
orac...
Friday, November 27, 2015
How to vncviewer with your size
$ vncserver -geometry 1920x108...
How to see files'size and sort them on one folder Linux
[oracle@PTUD-VM02-2 datafile]$ ls --reverse --sort=size -sh ...
Thursday, October 22, 2015
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:192.168.2.133 Bcast:10.61.118.255 Mask:255.255.255.0
inet6 addr:
fe80::7646:a0ff:fe98:d0be/64...
Wednesday, September 16, 2015
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 on Server B which running port 8000?
Before Forwarding, end user cannot access via 8000.
Details:
1. Check Port Forwarding:
...
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 ~]# vi /etc/sudoers
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
bigdata ALL=(ALL) ALL
[root@PTUD-VM02-4 ~]# chmod 440 /etc/sudoers
...
Thursday, September 10, 2015
Adding User on linux
[root@PTUD-VM01-2 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_ptudvm011-LogVol00
20G 8.5G 11G 46% /
tmpfs 7.8G 72K 7.8G 1% /dev/shm
/dev/sda1...
Monday, August 24, 2015
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 max, 60 byte packets
1 192.168.2.158 0.511 ms 1.071 ms 1.320 ms
2 192.168.2.1 9.100 ms 9.121 ms 9.105 ms
3 10.79.255.253 16.590 ms 16.575 ms 16.555...
Saturday, August 22, 2015
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 ### cannot ssh from other machine
AllowUsers monitor survey oam
Now, Restart sshd
[root@App1 ~]# /etc/init.d/sshd restart
Stopping sshd: ...
Thursday, July 23, 2015
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 file or directory
[root@vcr-broadcast2 tmp]#
[root@vcr-broadcast2 tmp]# export LD_LIBRARY_PATH=${prefix}/lib:$LD_LIBRARY_PAT...
Wednesday, July 22, 2015
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.fc24 is needed by glibc-headers-2.21.90-18.fc24.i686
kernel-headers is needed by glibc-headers-2.21.90-18.fc24.i686
kernel-headers >= 2.2.1 is needed by glibc-headers-2.21.90-18.fc24.i686
[root@vcr-broadcast2 setup]# rpm -ivh --nodeps...
Monday, July 20, 2015
See version of Red hat or Centos
[oracle@ptudvtg149 PT8.54]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.5 (Santiag...
Tuesday, July 14, 2015
Scripts see Memory Static every 5 seconds
[oracle@ptud1 PT8.54]$ more tho.sh
while true
do
free
echo "-----VTG-----------" $(date) "-----------------"
sleep 5
done
[oracle@ptud1 PT8.54]$ sh tho.sh
total used free shared buffers cached
Mem: 8062556 7894200...
Saturday, July 11, 2015
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 what you want to search} {path of the directory}
Example:
[oracle@ptud1 unix]$ grep -ril "grant select" .
./psroles.sql
./psroles.log
./connect.sql
./connect.log
./pdb/psroles2.sql
./pdb/connect.sql
[oracle@ptud1 unix...
Subscribe to:
Posts (Atom)
- Weekly
- Recent
- Comment
Weekly
-
Step 1: Set JAVA environment for PENTAHO My...
-
Step 1: Create tablespace create tablespace...
-
Source Server Target ...
-
Step 1 : Setup the RREG utility ...