Monday, 29 January 2018

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

Please Follow below Steps :-


1. Download TRK iso from the link below:-
http://trinityhome.org/Home/index.php?wpid=112&front_id=12

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, 24 January 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).
and
#chroot_local_user=YES
chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd/chroot_list
and do this than save and exit .
11.service vsftpd restart.

Tuesday, 23 January 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@192.168.0.125:/backup/test/

    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/id_rsa.pub 192.168.0.125

    4. Perform rsync over ssh without password

    ssh 192.168.0.125

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

    rsync -avz -e ssh /home/test/ root@192.168.0.125:/backup/test/

Friday, 19 January 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; 192.168.0.60)

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(192.168.0.70) 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, 12 January 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, 11 January 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.
Domain                  test.com
KeyFile                 /etc/postfix/dkim.key
Selector                mail
SOCKET                  inet:8891@localhost
Make sure to replace example.com 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/main.cf
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.
DKIM
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 test.com
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 test.com
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-1.9.1.1.tar-2015-04-30-12-56-57.gz
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.
1
Now start by continue button and give the concerned Local setting( time zone and currency )
2







Now go with continue button
Next page will be Database Configuration page. provide the database details
3
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.
4
Now in the next page Create Admin Account page.
5
We need to an Encryption key.
If every thing is done correctly then following page displays to indicate a successful installation.
6
Backend will take you to admin login page
Backend
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
Frontend
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, 10 January 2018

Turn Google pagespeed ON/OFF on Apache server

Introduction

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.

Prerequisites:

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, 9 January 2018

How to reset password in Webuzo panel

Introduction

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 Download and Install RHEL8 Beta For Free (Red Hat Enterprise Linux)

RHEL (Red Hat Enterprise Linux) 8 beta was released on November 14, 2018, 4 years after the release of RHEL 7. This tutorial will be showi...