Install Firefox with java support Ubuntu 18.0 Installation: First, make sure you have installed the JRE or JDK. For this example I use the JDK installed in the directory: /opt/jdk1.8.0_201 Execute these commands: sudo dpkg –add-architecture i386 sudo apt update Leer más
Linux disk usage
Find disk usage by hidden directories du -sch .[!.]* * |sort -h
Nice bash prompt PS1
Nice Bash prompt. export PS1=”\[\e[36m\]\u\[\e[m\]@\[\e[33m\]\h\[\e[m\]:\[\e[32m\]\w\[\e[m\] $ ”
Secure NTP configuration
Tips: 1. Ensure you have the restrictions in ntp.conf restrict default ignore restrict -6 default ignore 2. Disable monitor to protect of the CVE-2013-5211 vulnerability disable monitor 3. Use “nomodify nopeer noquery notrap” for each IP and network Leer más
How to enable Proxy Settings for Yum
To be able to access to Ithe internet to update the system trogth proxy use: Option 1. Add to /etc/yum.conf these lines: proxy=http://<Proxy-Server-IP-Address>:<Proxy_Port> proxy_username=<Proxy-User-Name> proxy_password=<Proxy-Password> Option 2: Export the variables in the shell: export http_proxy=http://{Proxy-User-Name}:{Proxy-Password}@<Proxy-Server-IP-Address>:<Proxy-Port> export https_proxy= http://{Proxy-User-Name}:{Proxy-Password}@<Proxy-Server-IP-Address>:<Proxy-Port> export ftp_proxy= Leer más
Install wmi in CentOS
Problem: It is necessary to query Windows servers from Linux using Windows Management Instrumentation (WMI). Solution: Install the wmi client in Linux, follow these steps 1. Download wmi from www.atomicorp.com wget http://www6.atomicorp.com/channels/atomic/centos/7/x86_64/RPMS/wmi-1.3.14-4.el7.art.x86_64.rpm –2019-02-06 18:36:16– http://www6.atomicorp.com/channels/atomic/centos/7/x86_64/RPMS/wmi-1.3.14-4.el7.art.x86_64.rpm Connecting to 10.64.114.5:3128… connected. Leer más