Install Steghide CentOS 6

Steghide is steganography tool to hide data in various kinds of image- and audio-files. first of all lets download RMP for centos

after Download we can install it

if no error will be displayed then its ready but if error for example somthing like this

Need to install all dependencies

you will get…

PNG/JPG Images Optimization Recursively

Optimization of PNG and JEPG images, using two different utilities first one is jpegoptim which is used to optimize JEPG images to use it recursively and optimize all of images in directory and sub directory you can use this command:

This will strip all data and make images progressive. PNG images can be optimized with…

Recover Broken Mysql Innodb Database

This tutorial can be used to recover data from broken mysql, for example if you get error

or any other

LAMP Server Arch Linux

This is tutorial how to install Apache,Mysql,PHP on arch linux. First of all lets update arch linux:

Now we can continue, install apache server:

Mysql:

you will see something like this:

I’m recommending mariadb so click 1, before starting mysql we need to initialize the mariadb data directory and after start…

Ubuntu add user & disable root

First of all lets add user

enter password and confirm information, now add user to sudoers

now open for editing ssh config

find

and change it to

  Restart ssh service and your done.

 

Ubuntu Change SSH Port

Open SSH config file

There should be string Port you can use Ctrl+w to search for it, so you will find something like

change 22, for example to 21989, now restart SSH service

You can also open port if it’s closed

 

NGINX – /var/run/php5-fpm.sock failed (2: No such file or directory)

This is instructions how to solve this nginx errors : [crit] 25422#0: *1 connect() to unix:/var/run/php5-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: localhost, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “www..” [crit] 25422#0: *11 connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied) while connecting to upstream, client: 127.0.0.1,…