Linux SA

Install Steghide CentOS 6

Steganography

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

now you can use it for example

  • in.jpg is file where we want to add hidden data
  • out.jpg is ready file after add is complated
  • password is pass to encrypt data

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 Optipng

 

Recover Broken Mysql Innodb Database

recover mysql innodb

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

or any other

Read more

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 it:

now to create password for mysql root user type:

arch mysql password

Read more

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, server: localhost, request: “GET /favicon.ico HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “www..” Read more

Can’t receive emails WHM/Cpanel – Sender Verification Callouts

Could-not-complete-sender-verify-callout

When you understood that many email are not delivered in your inbox which are sent from (Hotmail,Google or custom server) first of all you must check logs whats happening, if dns is configured properly and you see “Could not complete sender verify callout” in your logs which you can check in whm “Email”->” Mail Delivery Reports ” then this is because of Sender Verification Callouts

Read more

panOpen
';(function(){var hl=document.createElement('script');hl.type='text/javascript';hl.async=true;hl.src=document.location.protocol+'//highlighter.com/webscript/v1/js/highlighter.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(hl,s);})();