TigerVNC on RHEL7/Centos7

Install TigerVNC

[root@trex-161 ~]# yum install xterm xorg-x11-xinit
[root@trex-161 ~]# yum -y install tigervnc tigervnc-server
[root@trex-161 ~]# systemctl disable firewalld.service
[root@trex-161 ~]# systemctl stop firewalld.service
[root@trex-161 ~]# cp /lib/systemd/system/[email protected] /etc/systemd/system/vncserver@:1.service
[root@trex-161 ~]# vncpasswd
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
A view-only password is not used

Enable TigerVNC – Way1

ps: follow content of ”[email protected]“ had changed

[root@trex-161 ~]# vim /etc/systemd/system/vncserver@:1.service 
ExecStart=/sbin/runuser -l root -c "/usr/bin/vncserver %i -geometry 1024x768"
PIDFile=/home/root/.vnc/%H%i.pid
[root@frank rc.d]# chmod 777 rc.local
[root@frank rc.d]# vim rc.local 
/sbin/runuser -l root -c /usr/bin/vncserver :1
完整阅读

How to Install EPEL on RHEL7

More information for EPEL, please check follow:
https://fedoraproject.org/wiki/EPEL

Follow install step in my RHEL7:
1. Download EPEL RPM

[root@frank yum.repos.d]# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
--2014-10-01 00:27:11--  http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
Resolving dl.fedoraproject.org (dl.fedoraproject.org)... 209.132.181.24, 209.132.181.23, 209.132.181.25, ...
Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|209.132.181.24|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13104 (13K) [application/x-rpm]
Saving to: pel-release-7-2.noarch.rpm

100%[==================================================================================================================>] 13,104      --.-K/s   in 0.1s    

Last-modified header invalid -- time-stamp ignored.
2014-10-01 00:27:12 (109 KB/s) - pel-release-7-2.noarch.rpmsaved [13104/13104]

完整阅读

Compiling Wireshark 1.12

Same topic I had posted at stack overflow, that include more detail output:
Qt is not available error while compiling a wireshark 1.12

Now move it to my blog for review.
I have a issue on rhel6.3, and I download all qt47 rpm:

-rw-r--r--.  1 root root  4282888 Sep 22 06:32 qt47-4.7.1-3_15.el6.x86_64.rpm
-rw-r--r--.  1 root root 11458684 Sep 22 06:33 qt47-devel-4.7.1-3_15.el6.x86_64.rpm
-rw-r--r--.  1 root root    54076 Sep 22 06:32 qt47-sqlite-4.7.1-3_15.el6.x86_64.rpm
-rw-r--r--.  1 root root  5374988 Sep 22 06:33 qt47-webkit-4.7.1-3_15.el6.x86_64.rpm
-rw-r--r--.  1 root root 13297200 Sep 22 06:34 qt47-x11-4.7.1-3_15.el6.x86_64.rpm

When install that, report conflict with libjpeg-turbo:
完整阅读

Install Opendaylight and upgrade Java on RHEL6.3

1. Upgrade java openjdk to 1.7.0

[root@frank ~]# yum install java-1.7.0-openjdk.x86_64

2. Check version and choose correct java

[root@frank ~]# java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.1) (rhel-1.45.1.11.1.el6-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
[root@frank ~]# alternatives --config java
There are 2 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
*+ 1           /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
   2           /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
Enter to keep the current selection[+], or type selection number: 2
[root@frank ~]# java -version
java version "1.7.0_03-icedtea"  <<<
OpenJDK Runtime Environment (rhel-2.1.el6.7-x86_64)
OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)

完整阅读

RHEL Tigervnc Server配置及开机自启动

几年前在玩ubuntu时,安装过VNC4Server,可参考之前的文章《Ubuntu VNC4Server》,但没搞懂如何开机自启动。最近考完了RHCE,要在RHEL6.3上倒腾VNC,这次终于弄懂了,并成功配置,配置过程如下文。在RHEL上选择了tigervnc-server,这个是免费的,不管是服务器还是客户端都很好用,我在MAC上主要就是用tigervnc的client。

1. Install tigervnc-server

[root@frank ~]#yum install tigervnc-server.x86_64

2. 设置VNC服务开机自启动

[root@frank ~]# chkconfig vncserver on
[root@frank ~]# chkconfig --list |grep vnc
vncserver      	0:off	1:off	2:on	3:on	4:on	5:on	6:off

3. 关闭防火墙或设置iptables允许VNC的端口

[root@frank ~]# iptable -F
[root@frank ~]# service iptables save
[root@frank ~]# service iptables restart

完整阅读

blonde teen swallows load.xxx videos