- as remote root on myhost
- yum install tigervnc
- yum install tigervnc-server
- yum install libXfont pixman
- yum install fluxbox
- yum install firefox
- as a remote user, myuser, on myhost
- vncserver :66 -localhost
- set a password, call it mypassword
- as local user
- ssh -L 5966:localhost:5966 myuser@myhost
- leave running and do next step in another local term
- vncviewer -encodings 'copyrect tight zrle hextile' localhost:5966
- authenticate with mypassword
- as a remote user, myuser, on myhost
- export DISPLAY=:66
- xterm &
- fluxbox &
- firefox &
Showing posts with label centos. Show all posts
Showing posts with label centos. Show all posts
Thursday, 27 June 2013
Redhat: vnc to remote server
NOTE: if the vncserver insists on starting on a port other than 5966, like 6099, wipe the ~/.vnc directory and start over again. If that doesn't help, change the second instance of 5966 below to 6066 in the port forwarding ssh command, e.g. '-L 5966:localhost:6066'.
Wednesday, 3 April 2013
Build unbound from source on redhat/centos
NOTE: unbound is now available via epel repo on Amazon Linux
Taken: https://calomel.org/unbound_dns.html
- install requirements
- yum groupinstall "Development Tools"
- yum install openssl-devel
- yum install expat-devel
- build
- ldns
- wget http://www.nlnetlabs.nl/downloads/ldns/ldns-1.6.16.tar.gz
- tar zxvf ldns-1.6.16.tar.gz
- cd ldns-1.6.16/
- ./configure --disable-gost --disable-ecdsa
- make
- make install
- unbound
- wget http://unbound.net/downloads/unbound-latest.tar.gz
- tar zxvf unbound-latest.tar.gz
- cd unbound-1.4.20/
- ./configure --disable-gost --disable-ecdsa
- make
- make install
- add libs to system lib path
- vi /etc/ld.so.conf.d/ldnsandunbound.conf
- add this one line
- /usr/local/lib
- sudo ldconfig
- add unbound user
- adduser --system unbound
- tweak config
- vi /usr/local/etc/unbound/unbound.conf
- see simple sample below
- run
- unbound
- check
- lsof -nP -i :53
- stop
- pkill unbound
- restart
- unbound
server:
verbosity: 1
interface: 0.0.0.0
access-control: 10.0.0.0/16 allow
forward-zone:
name: "my-vpc.internal"
forward-addr: 252.252.199.199
forward-first: no
Subscribe to:
Posts (Atom)
Interview questions: 2020-12
Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer Networking Layer 1 vs Layer 4 haproxy u...
-
CRITICAL: AWS now offers internal VPC DNS! Below is no longer necessary AFAIK. Woo hoo! http://aws.amazon.com/about-aws/whats-new/2014/...
-
build sudo apt-get install git gcc sudo apt-get install automake autoconf git clone git://github.com/rriley/tsunami-udp.git cd tsunam...
-
From: https://bugs.eclipse.org/bugs/show_bug.cgi?id=382972#c4 Assumptions: jEdit was installed into /Applications directory. Close any...