Posts in Category: linux

Java SDK

Install Java JDK on CentOS?

  • 19th Feb 2015

Install Java JDK (Java SE Development Kit)

Java JDK: Java bundle for software developers, incorporates a complete JRE in addition to apparatuses for creating, investigating, and observing Java applications..

First of all, attempt to see if you have the correct repository:

# yum search java | grep 'java-'

This is going to return

Read More

How To Use chmod and chown Command

  • 17th Feb 2015

How To Use chmod and chown Command

chown: to change file owner and group information.
chmod: to change file access permissions such as read, write, and access.
 

chown command

to changes the user and/or group ownership of for given file. The syntax is:

Read More

Install vsftpd on CentOS 7

  • 17th Feb 2015

Install and Configure vsftpd on CentOS 7

FTP (File Transfer Protocol) is the most popular method of uploading files to a server; a wide array of FTP servers, such as vsftpd, and clients exist for every platform.

Step 1: Install vsftpd
Warning: FTP data is insecure; traffic is not encrypted, and

Read More

Enabling and Disabling SELinux

  • 17th Feb 2015
Use the getenforce or sestatus commands to check the status of SELinux. The getenforce command returns Enforcing, Permissive, or Disabled.
The sestatus command returns the SELinux status and the SELinux policy being used:

Read More

Snoopy Logger

  • 6th Feb 2015

Snoopy Logger

Snoopy is a tiny library that logs all executed commands (+ arguments) on your system, and can be installed by:

The easiest way to start using Snoopy is to execute one of the following commands (as root).

To install the latest STABLE version of Snoopy, use this command:

Read More

PHP Trader

Trader PHP extension

  • 17th Feb 2015

Trader PHP extension

The Trader extension is a free open source stock library, based on TA-Lib. It’s dedicated to trading software developers requiring to perform technical analysis of financial market data. Alongside many indicators like ADX, MACD, RSI, Stochastic, TRIX the candlestick pattern recognition and several vector arithmetic, and algebraic functions

Read More

Zlib-Gzip

Install and enable zlib on linux server

  • 17th Feb 2015

Install and enable zlib on linux server

zlib, gzip and mod_deflate on Apache HTTPD server compress your web pages and serve them to client’s web browsers which can save and reduce bandwidth usage.

Most modern web browsers today like Google Chrome or Mozilla Firefox supports

Read More

Install FTP

Install FTP Server On CentOS 7

  • 17th Feb 2015

Install FTP on Linux

vsftpd (Very Secure File Transport Protocol Daemon) is a secure, fast FTP server for Unix/Linux systems.
To install FTP server on CentOS 7:
(testbox server hostname and IP Address are server.my.local and 192.168.1.101/24 respectively.)

Read More

MySQL

Enable remote MySQL connection

  • 16th Feb 2015

Remote MySQL

As root, apply:

GRANT ALL PRIVILEGES ON *.* TO 'USERNAME'@'IP' IDENTIFIED BY 'PASSWORD';

where IP is the IP you want to allow access and USERNAME is the user you use to connect.

Read More

Log all commands executed, including command line arguments?

  • 6th Feb 2015

There is a kernel facility: the audit subsystem. The auditd daemon does the logging, and the command auditctl sets up the logging rules. You can log all calls to a specific system alls, with some filtering. If you want to log all commands executed and their arguments, log the execve

Read More