Nature-Human Relation

Nature choose human, provides him best best facilities. Till now human didn’t do anything which is good to nature. Question is “are human really capable to do anything to making nature better then ever?” “is this a one way relation, only nature will giving & giving , never get return back”? “is the selection of nature a blunder as the human continuously destroying & breaking,…

Read More

Install Java 8 in Raspbian for TB-Gateway

That’s perfect! I never found a method like this, although I suspected it was something that was straight forward. Just seemed that EVERYBODY had trouble with it, hence why webupd8team stepped in. Here is the command list I used to get up and running on 8u202: Download Java8 form https://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html sudo mkdir /usr/java cd /usr/java sudo tar xf ~/jdk-8u202-linux-arm32-vfp-hflt.tar.gz sudo update-alternatives –install /usr/bin/java java…

Read More

Bluebox FreeSwitch install guide on Centos 6

Bluebox FreeSwitch install guide (CentOS v6.x, Freeswitch v1.2, Bluebox v1) CentOS v6.5 Freeswitch v 1.2 Bluebox v1.0.4 Lets get started Install the EPEL repository.  This is optional but often useful for adding 3rd party tools. rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm Update the base install yum -y update Install Freeswitch/Bluebox required packages, other useful packages, and their dependencies yum -y groupinstall core yum -y groupinstall base yum -y install…

Read More

Changing tmpfs partition size in Linux ( RHEL / CentOS 7 )

For many facilities there are system calls, others are hidden behind netlink interfaces, and even others are exposed via virtual file systems such as /proc or /sys. These file systems are programming interfaces, they are not actually backed by real, persistent storage. They simply use the file system interface of the kernel as interface to various unrelated mechanisms.   Now by default systemd assigns a certain part of…

Read More

Securing Nginx Web Server

Unlike traditional servers, Nginx doesn’t rely on threads to handle requests. Instead, it uses a much more scalable event-driven (asynchronous) architecture. Nginx powers several high traffic web sites, such as WordPress, Hulu, Github, and SourceForge. This page collects hints how to improve the security of nginx web servers running on Linux or UNIX-like operating systems. Default Config Files and Nginx Port /usr/local/nginx/conf/ or /etc/nginx/– The nginx server…

Read More

Securing Postfix

Postfix is a replacement for Sendmail which has several security advantages over Sendmail. Postfix consists of several small programs that perform their own small task. And almost all programs run in a chroot jail. These are just a few examples why Postfix is recommended over Sendmail. For more information on chroot jail, Linux servers that are not dedicated mail or relay servers should not accept…

Read More

Securing SSH

Many network services like telnet, rlogin, and rsh are vulnerable to eavesdropping which is one of several reasons why SSH should be used instead. Red Hat’s default configuration for SSH meets the security requirements for many environments. However, there are a few parameters in /etc/ssh/sshd_config that you may want to change on RHEL and other Linux systems. The chapter Restricting System Access from Servers and Networks shows how direct logins can be disabled…

Read More

Restricting System Access from Servers and Networks

Usually a firewall is used to protect a server from other servers and networks. However, in some cases you may also want to protect a server within a network by using a TCP Wrapper. The Xinetd super server that comes with most Linux distributions includes a built-in TCP wrapper. It can be used to explicitly define network services to accept incoming connections from specified servers…

Read More

LiveUSB MultiSystem – LiveUSB MultiBoot in Linux

Installation into Linux Mint/PinguyOS/ElementaryOS or others Ubuntu distrs: 1. Add repository Terminal Shekin@mylinuxmintpc~$ sudo apt-add-repository ‘deb http://liveusb.info/multisystem/depot all main’ 2. Add key Terminal Shekin@mylinuxmintpc~$ wget -q -O – http://liveusb.info/multisystem/depot/multisystem.asc | sudo apt-key add – 3. Update sources and Install MultiSystem Terminal Shekin@mylinuxmintpc~$ sudo apt-get update sudo apt-get install multisystem Good Luck!!!

Cheat Sheet: Advanced Linux Commands

As an example scenario, we are going to pretend we are developing a LAMP (Linux, Apache, MariaDB and PHP) application on single machine running Red Hat Enterprise Linux 7. As a first step, we’re going to install Apache, PHP and MariaDB (the drop-in replacement for MySQL that’s shipped with Red Hat Enterprise Linux 7), and start the appropriate services: # yum -y install httpd mariadb-server…

Read More