jalmahotsav 2016 at hanumantiya tapu khandwa


ब्रांडिग करना हो तो कोई हमारे मुख्यमंत्री से सीखे  , हनुमंतिया जो उपेक्षित था उसे जलमहोत्सव  के जरिये पर्यटन के नक़्शे पर मजबूती से स्थापित  किया | वे खुद भी इसमें परिवार  के साथ शामिल हुए साथ ही  उन्होंने पर्यटक की तरह दो दिन बिताए और पर्यटकों की संभावित समस्याए भी जानी और उन्हें दूर करने का भरोसा भी दिया





Jalmahotsav 2016 Hanumantiya me patangbaji



Jalmahotsav 2016 Hanumantiya me Parachute Riding




Jalmahotsav 2016 Hanumantiya me Boating 






Jalmahotsav Mitti ke kalash banata karigar 


difference between cpanel and whm




Question : what is the difference between cpanel and whm ?

Question : cpanel vs whm ?







WHM Cpanal 
  • Full form  WebHost Manager
  • Full form Control Manager
  • Provide Root Level Access
  • Provide User Level Access
  • Used to control Dedicated server or VPS ( Virtual Private Server )
  • used to control mysql database , add/remove mail and more

how to check memory and CPU stats in Linux ?





Question : how to check memory and  CPU status in Linux ?

Question : what command will you used to check memory and cpu status ?

Question : how to check CPU status ?

Question : how to check memory status ?

1. free

free command  give us valuable information on available RAM / Memory
# free







# free --help
usage: free [-b|-k|-m|-g|-h] [-l] [-o] [-t] [-s delay] [-c count] [-V]

  -b,-k,-m,-g show output in bytes, KB, MB, or GB

  -h human readable output (automatic unit scaling)

  -l show detailed low and high memory statistics

  -o use old format (no -/+buffers/cache line)

  -t display total for RAM + swap

  -s update every [delay] seconds

  -c update [count] times

  -a show available memory if exported by kernel (>80 characters per line)


  -V display version information and exit

2. vmstat

vmstat command give us information about processes,  memory/RAM,cpu activity and more.
# vmstat 

# vmstat --help
usage: vmstat [-V] [-n] [delay [count]]

              -V prints version.

              -n causes the headers not to be reprinted regularly.

              -a print inactive/active page stats.

              -d prints disk statistics

              -D prints disk table

              -p prints disk partition statistics

              -s prints vm table

              -m prints slabinfo

              -t add timestamp to output

              -S unit size

              delay is the delay between updates in seconds.

              unit size k:1000 K:1024 m:1000000 M:1048576 (default is K)


              count is the number of updates.

3 top

top command give us information like tasks, memory, CPU and swap and more
# top 























# top --help


step by step apache tomcat configuration in linux



Question : how to configure Apache Tomcat server in Linux ?

Question : Step by Step Apache tomcat server configuration ?



IP  - 10.20.2.33 

Hostname - khandwa.lokesh.com 

OS  - CentOS 6

PORT  - 8080

Tomcat Version  - 7 


Tomcat, is an open-source web server and servlet container developed by the Apache Software Foundation (ASF).It used for deploying Java Servlet and JSP applications. To deploy any application in Tomcat we can simply create a war file and deploy them
Install Java

1. Install Java in Linux 

# yum install java


Check Java Version

# java -verison






here i have java 1.8 verison


2. Download Apache Tomcat archive file from Apache tomcat official download page.

# mkdir /download
# cd /download
# wget http://www.eu.apache.org/dist/tomcat/tomcat-7/v7.0.64/bin/apache-tomcat-7.0.64.tar.gz

3. Extract Tomcat

# tar -zxvf apache-tomcat-7.0.64.tar.gz

Move in to "/usr/local/" directory

# mv apache-tomcat-7.0.64 /usr/local/tomcat7
There are no need to configure , just the start Tomcat service

tomcat run on 8080 default port

Check 8080 Port

# netstat -tulpn | grep :8080
# cd /usr/local/tomcat7/bin/
Output


4. Setup User Account

Edit conf/tomcat-users.xml file in your editor and paste inside

<tomcat-users> </tomcat-users>

<!-- user manager can access only manager section --> 
<role rolename="manager-gui" />
<user username="manager" password="password" roles="manager-gui" />

<!-- user admin can access manager and admin section both -->
< role rolename="admin-gui" />
< user username="admin" password="password" roles="manager-gui,admin-gui" />

5. Stop Tomcat

# ./usr/local/tomcat7/bin/shutdown.sh
6. Start Tomcat
# ./usr/local/tomcat7/bin/startup.sh

7. Access Tomcat in Browser

http://10.20.2.33:8080

Server Status after provide user name & password , by clicking on "server status tab"



 8Change Tomcat Default Port

open server.xml file in "conf" directory & replace 8080 to 80 ( as you wish ) in Connector port section

# vi /usr/local/tomcat7/conf/server.xml











Put your *.jsp page in webapps direcotory with Project name

Example 

webapps -> project folder -> *.jsp pages

Webapps -> Project2 folder-> *.jsp pages


Unhide All File & Folder useing Attrib Command


Question : how to show hidden all file and folder in windows ?

Question : how to show all hidden file form removable drive ?

Question : show all file and folder from pen drive , hide by virus  ?

"Attribute allows a user to change the attributes of a file/files or folder"
Attribute : 

Read-only - allows the file to be only viewed and not written to or changed.

Archived - allows Microsoft Backup and other backup programs to know what files to back up.

Hidden - makes files invisible to standard users and hidden if show hidden files is enabled.

System - makes the file an important system file.



Windows 7 and Windows 8 syntax

+ : Sets an attribute.

- : Clears an attribute.

R : Read-only

A : Archive

S : System file

H : Hidden file

I : Not content indexed file

X : No scrub file

V : Integrity attribute.


1 - Open Command Prompt :
         
             Go to start - run - and type command  "cmd"















2. Type  " attrib -h -r -s /s /d g:\*.* "





Here

attrib = Command 

-h = clear hidden attribute 

-r = clear read-only file attribute

-s = clear system file attribute

/s = Processes matching files in the current folder and all subfolders

/d = Process folder

I:\ = Drive Later

*.* = all ( path where you set or clear attribute )



get system information


Question : How to find system information in windows ?

Question : How to get memory, motherboard, hard disk serial no in windows ?

Question : how  to get all information about windrows, command line ?

Question : what is WMIC in windows ?

WMIC is a windows management instrumentation command-line that used for  windows management instrumentation and system managed through WMI.

For this command we can check baseboard , memory, cup, hard disk , Process , and more.

Syntax :

WMIC [global_switches] [/locale:ms_409] <alias> [options] [format]

1 - Open Command Prompt :
         
             Go to start - run - and type cammand  "cmd"















2 - type "wmic"







3 - Get Help type  "/?"





















Some useful alias list :

  • baseboard - Motherboard
  • BIOS        -basic input/output system
  • CDROM   
  • CPU
  • Diskdrive  
  • Memlogical - System Memory
  • Memphysical - Physical Memory
  • Netclient   - Network Client Management


4. Check motherboard information like serialnumber, model number, version, product and more

    just type - baseboard

    OR

    baseboard get serialnumber,model,product,version,manufacturer








5. Check Ram information like size , type, capacity and more

    Just type - memorychip

    OR specific info

     memorychip get banklabel, memorytype, speed, capacity









5. Check CPU  All Information

    Type : cpu

    OR specific info

    cpu get name,numberofcores,numberoflogicalprocessore,caption,cupstatus,manufacture






To use Graphical software for system details

1. CPU-Z


How To Resolve MySQL Slow Connection Error in Linux

mysql, mysql download, mysql tutorial, mysql version, mysql slow query log, mysql slow query, mysql server, mariadb slow query log,mysql download,mysql commands, mysql queries
MySQL 

mysql, mysql download, mysql tutorial, mysql version, mysql slow query log, mysql slow query, mysql server, mariadb slow query log,mysql download,mysql commands, mysql queries




Question : MySQL Server is slow performing ?
Question : MySQL Slow Connection Error Resolve.

supermicro default factory restore netsecure



Question : how to reset super micro net-secure ?

Question : how to default factory restore a net shield ?


Step 1

Power On : Supermicro and frequently press F11

Step 2

Select CD/DVD


Note :- Download ISO image from official site Click Here - CDrec.iso

Step 3

Select Option - Enter Rescue / Restore Mode , local vgs console : Press 2


Step 4

Clear udev network interface associations ? < no > : Press Enter


Start Network Interfaces ? [ no ] : Press Enter

Step 5

Type blow command

cd /etc/recovery

./start-restore.sh


Press Enter To Continue


Again Press Enter To Continue


Do you want to restore disk Press Y and Enter

Are you ready to partition /dev/sda ( No to skip) Press Y and Enter

Now your supermicro restore , it take 5 to 10 min

Got a message


Step 6

Type blow command For Reboot

reboot


Video Tutorial on YouTube :