Category Archives: Linux

X11 Fowarding

Setup X11 Server

1. Enable X11 Fowarding

2. Reload SSHD

3. Config Putty

  • Connection -> SSH -> X11 -> Stick Enable X11 fowarding

4. Install XMing

https://sourceforge.net/projects/xming/

fix error : sudo: sorry, you must have a tty to run sudo

That’s probably because your /etc/sudoers file (or any file it includes) has:

…which makes sudo require a TTY. Red Hat systems (RHEL, Fedora…) have been known to require a TTY in default sudoers file. That provides no real security benefit and can be safely removed.

Red Hat have acknowledged the problem and it will be removed in future releases.

Solution 1: Change the configuration of the server

Continue reading fix error : sudo: sorry, you must have a tty to run sudo

How To Install Apache Maven on CentOS/RHEL 7/6/5

Step 1 – Install Java

Click here

Step 2 – Install Apache Maven

Continue reading How To Install Apache Maven on CentOS/RHEL 7/6/5

Check size of each folder

This shows how much disk space you have left on the current drive and then tells you how much every file/directory takes up. e.g.,