Monday, January 29, 2018

How Break Windows 7,8,8.1,10 Password Using TRK

Please Follow below Steps :-

1. Download TRK iso from the link below:-

2. Make USB bootable
3. Plug in USB in Laptop/Desktop having Winsows any version
4. Boot laptop using USB or CD Rom
5. select sdb1 to boot TRK

6. Select Windows password resetting

7. Now select Winpass prompts for username first

8. enter username "Administrator"

9. enter 1

10. Select clear Password

11. Reboot

Wednesday, January 24, 2018

Restrict Ftp user to access other directory

Please follow below steps :-

1. # yum update
2. Disable selinux(vi /etc/sysconfig/selinux) for check #sestatus
3.#service iptables stop
4.#useradd akash
5.#passwd akash
#################Now Install Ftp#############################
6.yum install vsftpd -y
7.service vsftpd resart
##################Make directory For user access##################################
8.mkdir /akash1
###############Create file For Chroot_Jail##################
9.  vi /etc/vsftpd/chroot_list (here write the user name and save and exit).
10. vi /etc/vsftpd/vsftpd.conf
Here we add one entry- local_root=/akash1 (You can write here your directory for access via ftp).
# (default follows)
and do this than save and exit .
11.service vsftpd restart.

Tuesday, January 23, 2018

How to ssh Without Password

Here we have done send data from one server to another server by using rsync command without password for ssh its also same

    1. Test rsync over ssh (with password):

    rsync -avz -e ssh /home/test/ root@

    2. ssh-keygen generates keys.

    $ ssh-keygen

    Enter passphrase (empty for no passphrase):

    3. ssh-copy-id copies public key to remote host

    Use ssh-copy-id, to copy the public key to the remote host.

    ssh-copy-id -i ~/.ssh/

    4. Perform rsync over ssh without password


    Perform the rsync again, it should not ask you to enter any password this time.

    rsync -avz -e ssh /home/test/ root@

Friday, January 19, 2018

How to set up trapper in zabbix

Steps for setting trapper on items:

Step 1:

create host(trapper_junglee) under the host-group(teenpati-production) for which u need to create trapper. (Eg;

Step 2:

create item under created host(trapper_junglee)
Name  : Maintenance
Type  : Zabbix Trapper
key   : maintenance
rest all as it is & update it

Step 3:

create trigger under created host(trapper_junglee)
Name : Maintenance 00:25 - 00:40
Expression : {trapper_healthkart:maintenance1.time()}>002500 and {trapper_healthkart:maintenance1.time()}<004000
Severity : Information
Enable & update the trigger.

Step 4:

Go to particular machine( and select the trigger for which want to add trapper.
    In that go to dependencies and add the trapper time[trigger] by selecting right host-group and host.

Step 5 :

Finally update it.

Friday, January 12, 2018

How to create screen on zabbix Admin

Steps To Create A Screen:

1: First select a particular location or any machine of that location (eg:205.14796.214-a dataweave machine) which you want to create a screen.

2: Select Graph.

3: Select create graph.

4: Give name to the screen which you want to create.

5: Then add number of machine you want in that screen from host filter.

6: Then finally select the add button.

7: Then select Monitoring>screen>Create screen.

8: Give a name and select number of row’s and column’s.

9: Select that screen which you have created.

10 : Select Edit Screen>Change.

11: In graphs select the number of screens which you have created finally select add.

12 : Select slide show.

Thursday, January 11, 2018

How to install DKIM on Ubuntu server

Step 1: Install DKIM package
Use the following command in your terminal to install the DKIM package
sudo apt-get install opendkim opendkim-tools

Step 2: Edit configuration file

After installation of the package, there will be a config file created within the installed directory. Edit the config file  by adding the content given below at the end of the file.
KeyFile /etc/postfix/dkim.key
Selector mail
SOCKET inet:8891@localhost
Make sure to replace with your domain name.

Step 3: Install and configure Postfix

(Skip to next step if already installed and configured). Postfix is the standard Mail Transfer Agent for Ubuntu. Use the command below to install Postfix.
sudo apt-get install postfix
Follow the instructions on the screen and complete the installation process. Open the postfix config file using the following command and edit as follows.
vim /etc/postfix/
Add the following lines towards the end of the file, then save and exit by pressing ESC key followed by typing :wq! and then hit the Enterkey.
milter_default_action = accept
milter_protocol = 2
smtpd_milters = inet:localhost:8891
non_smtpd_milters = inet:localhost:8891

Step 4: DKIM key generation

Generate the DKIM key using the command
opendkim-genkey -t -s mail -d
This command will generate mail.private and mail.txt file. mail.private is private key that will be used to sign outgoing emails. Move it to /etc/opendkim.conf
cp mail.private /etc/postfix/dkim.key

Step 5: Setting DNS records

Open the mail.txt file using cat command
cat mail.txt
The result will look similar to this
mail._domainkey    IN    TXT    ( "v=DKIM1; k=rsa; t=y; "
      "p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDny/XOYgwb+zaDh/HNvrYVDIF5xRsVmKM4BKRyq4+3LVKvTtqtKG56wld1/xbBVRRtJKczYCjZPmDrepz7mXw+TSqYX5nURJdV+lxhHOK85c78ua4twI4XFfCrwr3q/kj4HuQLJ2ceN9VqRO5CoE5kPTunopNOB1Nv3TolP5wkKQIDAQAB" )  ; ----- DKIM key mail for
Use the data available to set up your DNS records for your corresponding domain name.

Step 6: Setting up and testing

Start your DKIM service using the command
sudo service opendkim start
Restart the postfix service once before testing your setup
sudo service postfix restart
Now its time to set your DKIM setup. There are a few ways to test the setup out of which use the following.

Magento Installation on Linux

Please follow the below procedure to install Magento on linux machines

1. Download the latest magento tar file in your local machine by signing up on offical website.
2. Now using sftp or rsync copy the magento.tar file from local machine to server.
3. Extract Magento package file .
tar xvzf magento-
4. Copy all magento files/directories to domain root folder i.e,  /home/domainname/public_html
rsync -ravP magento/ /home/domainname/public_html/
5. We need to change the ownership of the files located in /publichtml
chown -R domainame:domainname public_html/
6. Now we need to change the permissions for the both Folder in /home/domainname/public_html
chmod -R 775 app/
chmod -R 775 media/
Magento configuration setup:
Now Open your browser and type your domain name, Now you’ll see the welcome/first page of domain.
Now start by continue button and give the concerned Local setting( time zone and currency )

Now go with continue button
Next page will be Database Configuration page. provide the database details
NOTE : If you added  domain through virtualmin by selecting mysql, it creates new MySql database and user, you can use the same details in magento Database connection
Now In the Web Access Options section, selcet skip the baseurl validation.
Now in the next page Create Admin Account page.
We need to an Encryption key.
If every thing is done correctly then following page displays to indicate a successful installation.
Backend will take you to admin login page
To login to Admin Dashboard of Magento, please go to the url http://ip-address or domain /index.php/admin and enter the required credentials created while installation Magento through web interface. We’ll see something like this.
Frontend will be the main site veiw
Magento Installation is done.

Magento Patching
After logging in through admin panel you will be seeing critical,warning messages, which means we need to do patch for concerned messages
The details of the patch will be given in the messages itself
Download the patches from the offical website and upload them in server through Sftp/Filezila
NOTE : If Patch is applied/removed the following message will be shown

Patch was applied/reverted successfully.
Thank you ! Enjoy Magento.

How to login with Filezilla

Please follow the below mentioned steps:

1. Run Filezilla and go to Edit -> Settings
2. In settings window expand FTP and click on SFTP.
3. Click on Add keyfile and browse to the location of your private key file(id_rsa).
4. When you select your private key file, it will give you a message to convert keyfile.
The file ‘/path/.ssh/id_rsa’ is not in a format supported by FileZilla. The file is also password protected. Password protected key files are not supported by FileZilla yet.
Would you like to convert it into a supported, unprotected format?
Press yes and save your converted private key file anywhere you wish on your local machine.
Your keys are now added for SFTP. Close the Settings window.
5. Provide the following details:
a. Host (your servers IP)
b. Username (domain user)
c. Port (22 i.e default SSH port)
6. Click on Quickconnect button.
7. The first time you login it will show you Unknown Host key message.You can ignore this message and click on OK to continue.
8. You will now be displayed a Filezilla window containing information about the local and remote computers. The left side panel will contain the files and directories present on your local computer whereas the right side panel will contain the files and directories present on the remote computer.
9. You can simply drag and drop or copy and paste the files and folder from left pane(your local machine) to right pane(remote server).

Wednesday, January 10, 2018

Turn Google pagespeed ON/OFF on Apache server


Google Pagespeed is a family of tools by Google which is designed to help a website’s performance optimizations. This article will briefly explain how to turn pagespeed ON or OFF by editing the the Apache configuration file.


Prior to editing the pagespeed configuration, you should have the following setup on your server.
  • Linux OS(CentOS/Ubuntu/Debian/Fedora) with Apache web server installed over it.
  • User account on server with sudo privileges.
  • mod_pagespeed package must be installed on your server.
You can learn how to install mod-pagespeed package with apache on Ubuntu/CentOS server by clicking here.
Step 1: Login to your server with root access
Step 2: Access the apache server configuration file using any editor. We will be using vim editor for this article.
In Ubuntu:
# vim /etc/apache2/mods_available/pagespeed.conf
In CentOS:
# vim /etc/httpd/conf.d/pagespeed.conf
Step 3: Identify the line starting with ModPagespeed and edit it to  ModPagespeed On (to enable) and ModPagespeed Off (to disable) page speed for your domain. Then save the changes and exit the configuration file.
Step 4: Post this please restart apache web server service using command
In Ubuntu:
# service apache2 restart
In CentOS:
# /etc/init.d/httpd restart

Tuesday, January 9, 2018

How to reset password in Webuzo panel


Resetting password is pretty straight forward in Webuzo panel. By the end of this article you will learn how to change user, mysql, file manager password using Webuzo enduser panel.

Step 1: Login to Webuzo panel

Login to Webuzo panel using your login credentials and navigate to the Enduser Panel located on the left side menu.

Step 2: Navigate to Security section

Once you have opened the Enduser panel, scroll down and find Security section. Click on the Change Password icon to change password.

Step 3: Change password

You can now change your user password, file manager password, MySQL password using the dialog box provided .
To change File manager password
To change User password
To change MySQL password
After changing the passwords you can login to your Webuzo panel using the new password.

How to set php short_open_tag=on/off in php.ini

To set the short_open_tag = on in php.ini
less /etc/php.ini | grep short_open_tag
short_open_tag = off
change it to ON in php.ini by using favourite editor
vi /etc/php.ini (search for short_open_tag )
Please replace the value OFF with ON under /etc/php.ini
Restart your Apache server.

How to Increase timeout session in phpMyAdmin

Step 1: Locate file

If you have installed phpMyAdmin on to the server, then you will find the file in the path as mentioned below.
For CentOS, Fedora servers:

For Ubuntu, Debian servers:

Step 2 : Increasing the timeout value

Open the file and add the following anywhere in the file
$cfg['Servers'] [$i] ['LoginCookieValidity'] = <your_new_timeout>;
In the place of your_new_timeout, enter the required timeout session in multiples of 3600.
For example :
$cfg['Servers'] [$i] ['LoginCookieValidity'] = <3600*3>;
Then save the changes to the file. Login to the phpMyAdmin page and verify the changes made.
After login in, you might get the message error below:
Your PHP parameter session.gc_maxlifetime is lower that cookie validity configured in phpMyAdmin, because of this, your login will expire sooner than configured in phpMyAdmin.
To rectify this error:
Edit the php.ini configuration file depending on your linux server distibution:
  • Ubuntu  – /etc/php5 /apache2/php.ini
  • Centos  –  /etc/php.ini
  • Fedora –  /etc/php.ini
  • Debian – etc/php5/apache2/php.ini
You need to change the setting of session.gc_maxlifetime in php.ini to be greater than or equal to the value that you entered before which is 3600*3 in our example’s case.

How to Installing mod_pagespeed with Apache on Ubuntu/CentOS


Google Pagespeed is a family of tools by Google which is designed to help a website’s performance optimizations. This article will briefly explain how to install mod_pagespeed package from google on an Ubuntu/CentOS server running apache.


  • Ubuntu/CentOS server with apache web server installed over it.
  • User account with sudo privileges.

Update Linux OS

Before downloading the package, make sure that Ubuntu/CentOS is updated and upgraded. To do this run the below commands in succession
# sudo apt-get update
# sudo apt-get upgrade
# sudo yum update
# sudo yum upgrade

Download mod_pagespeed

Now let’s move on to downloading the mod_pagespeed package (64-bit) for Apache by running the following command,
# wget
# wget

Install mod_pagespeed

Having downloaded the package, you can install it using the command below
# dpkg -i mod-pagespeed-stable_current_amd64.deb
# sudo apt-get install -f
# yum install at
# rpm -U mod-pagespeed-*.rpm
After installing the mod_pagespeed module successfully, you will need to restart apache to load the module.
# service apache2 restart.
# /etc/init.d/httpd restart

Verify the installation

You can verify the status of mod_pagespeed module by running the command in the terminal
curl -D- localhost | less
If everything is running fine, you shall see an output similar as the following,
Date: Fri, 03 Feb 2017 05:49:23 GMT
Server: Apache/2.4.7 (Ubuntu)
Accept-Ranges: bytes
Vary: Accept-Encoding
Cache-Control: max-age=0, no-cache
Content-Length: 10724
You should now have mod_pagespeed up and running on your server.
You can check out this article if you want to turn pagespeed ON/OFF on apache web server.

How to mount s3 bucket on local machine

If we want to use our s3 bucket as a hard disk and want to mount same on our server then we need to perform following steps:-

Kernel >= 2.6.32
S3fs = 1.74
Fuse = 2.8.4
libcurl >=7.0
Libxml >=2.6

  1. Create API Key Set :- Create access key and security key and download.
Login AWS console → My account → AWS management console → create an user account with API key set and download key.
Define user policy, allowing s3 access to an account.
  1. Go to IAM → identity & access management → user → create → Download Key
  2. Select created user → give access permission → Amazons3fullaccess

   2) Create Bucket:-
Create bucket → name → region (from properties we can manage access)

   3) login in server and create password file :-
Vim /etc/passwd-s3fs
Write accesskey:securitykey

Change permission :-
chmod 640 /etc/passwd-s3fs

4) Install & configure packages :-
~)# yum install gcc gcc-c++ curl-devel libxml2-devel curl libxml2-devel openssl-devel mlocate
Download fuse package:-
~)# cd /usr/src
src)#  tar-zxvf fuse-2.8.4.tar.gz
src)# cd fuse-2.8.4
fuse-2.8.4)# ./configure --prefix=/usr/local
fuse-2.8.4)# make
fuse-2.8.4)# make install
fuse-2.8.4)# ldconfig
fuse-2.8.4)# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
fuse-2.8.4)# pkg-config --modversion fuse (check version of fuse)
Download s3fs package :-
~) cd /usr/src
src)# tar -zxvf s3fs-1.74.tar.gz
src)# cd s3fs-1.74
s3fs-1.74)# ./configure --prefix=/usr/local
s3fs-1.74)# make
s3fs-1.74)# make install
s3fs-1.74)# s3fs --version (check version)

Now s3fs and fuse both are successfully installed, now this time to create directory and mount with s3:-
~) mkdir /s3-demo
~) s3fs lakhan-bucket /s3-demo   (where lakhan-bucket is name of bucket which you need to mount)
~) df -h :- (check is it mounted or not)
Permanent Mount s3 bucket on local machine:-
If you want to mount the S3 bucket permanently, add the following entry in the /etc/fstab

s3fs#lakhan-bucket  /s3-demo  fuse allow_user,use_cache=time 0 0
Lakhan-bucket = this is the bucket name
/s3-demo = this is the mounting directory
Fuse :- file system
allow_other – It allows other users to access the file.
use_cache – Local folder to use for local file cache

Errors and resolutions :-
  1. If got error :- cannot open shared object file

Then there is fuse library is missing, Install same by following command.
Yum install fuse-libs :- It will be of 251k package.
Then try to install the fuse in system then it will work.
2) if got error :- fuse >=fuse 2.8.4,or no fuse is installed then check following things:-

  1. Are you installing with root user
  2. Are you installing version fuse-2.8.4
  3. This happen because of fuse configuration, remove fuse and again install same with root user, It generally happen when you install with other users.

TicTic v2.2 - Android media app for creating and sharing short videos

Facebook Twitter Tiktik – Android app for creating and sharing short videos. The customizable social video application to build ...

Popular Posts