Fix RequestsDependencyWarning: urllib3 (x) or chardet (x)


Error

/usr/lib/python2.7/site-packages/requests/init.py:91: RequestsDependencyWarning: urllib3 (1.25.3) or chardet (2.2.1) doesn’t match a supported version!

Fix

InfluxDB PHP


Install Influxdb, and start it. After start we should create user

After we should edit influx config file on CentOS /etc/influxdb/influxdb.conf

Find and replace volumes in http section


restart influx db

Now in php to insert data

To read data from database

make sure you have changed database,username,password

ESXI 6.7 update: No space left on device


First of all we should set swap datastore

After running

esxcli software profile update -p ESXi-6.7.0-20190802001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml


[InstallationError]
[Errno 28] No space left on device
vibs = VMware_locker_tools-light_10.3.10.12406962-14141615
Please refer to the log file for more details.

What you can do is install problematic vib

esxcli software vib install -v https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools-light_10.3.10.12406962-14
141615.vib

We are getting

Installation Result
Message: Operation finished successfully.
Reboot Required: false
VIBs Installed: VMware_locker_tools-light_10.3.10.12406962-14141615
VIBs Removed: VMware_locker_tools-light_10.3.2.9925305-10176879
VIBs Skipped:

Then again we can run update and wait

esxcli software profile update -p ESXi-6.7.0-20190802001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml


Update Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true

Now reboot server and everything should be fine.

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

 

Install Skype on Arch linux


skype43linux

Skype is in multilib repo which by default is not enabled, so we should edit arch repo file

uncomment following lines

and now run installation with pacman

 

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 »

Top Hex Editors Linux


For manipulation of binary data there are tons of tools on Linux but I will try to list some of great looking GUI tools

Bless Hex Editor

Bless Hex

Written in mono/gtk it can be used in any platform where mono and gtk can work, this is feature which is listed on main website

Efficiently working with large files with fast data rendering on screen.
Supports multilevel redo/undo operations.
You can customizable data views use multiple tabs use find and replace operations.
Export of data to plain text and html or you can use plugins for different formats.

wxHex Editor

wxhexeditorRead More »

Install NGINX Mod PageSpeed


install nginx mod page speed

Installing mod_pagespeed on apache is simpler then on nginx, here we should build nginx from sure with mod page speed, I will write down how to do this on ubuntu but this may work on any other distroRead 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 passwordRead More »