Monday, June 25, 2018

Backup MySQL Database using command line in Windows

Say you get a request to take backup of Test1234 .

Run cmd change directory & run following command.

C:\Program Files\MySQL\MySQL Server 5.1\bin>mysql -u root -p Test1234 > C:/Users/admin/Desktop

/Test1234.sql

Enter password: ****

Create new MySQL tablespace using command line in Windows

Create a new database using command line

Run cmd & change directory

C:\Users>cd..

C:\>cd "Program Files"

C:\Program Files>cd MySQL

C:\Program Files\MySQL>cd "MySQL Server 5.1"

C:\Program Files\MySQL\MySQL Server 5.1>cd bin

Now, connect MySQL using this command mysql -u root -p

C:\Program Files\MySQL\MySQL Server 5.1\bin>mysql -u root -p

Enter password: ****

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 9

Server version: 5.1.73-community MySQL Community Server (GPL) Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective

owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> create database test1234;

Query OK, 1 row affected (0.04 sec)

mysql> grant all privileges on test1234.* to test1234@localhost identified by "1234";

Query OK, 0 rows affected (0.10 sec)

Friday, June 22, 2018

Installing Window Server 2012 R2 on Vmware ESXi 6.0.0

Connect VMware ESXi using vSphere client

clip_image001

Once you connected below screen will come.

clip_image002

Now , create new virtual machine.

clip_image003

Select the configuration type.

clip_image004

Give VM name and Next.

clip_image005

On this screen data store is shown, capacity storage and freed space.

clip_image006

Now, select the Guest Operating System.

i.e Windows, Linux or Other. In this scenario we are installing Windows Server

clip_image007

Select the Network card and Adapter. Mention the number of NIC's.

clip_image008

Select the Virtual disk size and provisioning.

clip_image009

Preview the virtual machine settings.

clip_image010

Attach the bootable CD and start.

clip_image011

Select the language and all settings as per your requirement.

clip_image012

clip_image013

Choose operating system.

clip_image014

clip_image015

clip_image016

clip_image017

clip_image018

clip_image019

Type system password and finish.

MegaRAID_Storage_Manager-v16.11.00.03

Start the installation setup.

clip_image001

Click Next.

clip_image002

Accept the license and Click Next.

clip_image003

Enter the User Name and Organisation.

clip_image004

Check the installation folder location and Click Next.

clip_image005

Select the setup type.

clip_image006

Specify the LDAP configuration details, if you have or if you have not details then click No.

clip_image007

Select the key size.

clip_image008

Configure notifications as per your requirement.

clip_image009

Once installed Finished.

clip_image010

Start the MegaRAID Storage Manager.

How to check your BIOS and Touchpad version on Windows 7, 8 and 10

Solution

Using the Command Prompt in Windows

  • Click Start menu, and type CMD in the search box, Select CMD.
  • The command prompt windows appears, Type wmic bios get smbiosbiosversion. The string of letters and numbers following SMBBIOSBIOSVersion is your BIOS version. Write down the BIOS version number.

clip_image001

Find BIOS Version on Windows using the BIOS Menu

  • Reboot your computer
  • Open the BIOS menu - As the computer reboots, press F2, F10, F12, or Del to enter your computer BIOS menu. You may need to press the key repeatedly, as boot times for some computers can be very quick, ( Note this may not worked on Win 8 and Win 10, Please find instructions below for win 8 and 10
  • Find the BIOS version. In the BIOS menu, look for text that says BIOS Revision, BIOS Version, or Firmware Version.

Open Computer Management

Then click on Device Manager and under Mice and other pointing devices

clip_image002

Thursday, June 21, 2018

MegaRAID_Storage_Manager-v16.11.00.03

Start the installation setup.

clip_image001

Click Next.

clip_image002

Accept the license and Click Next.

clip_image003

Enter the User Name and Organisation.

clip_image004

Check the installation folder location and Click Next.

clip_image005

Select the setup type.

clip_image006

Specify the LDAP configuration details, if you have or if you have not details then click No.

clip_image007

Select the key size.

clip_image008

Configure notifications as per your requirement.

clip_image009

Once installed Finished.

clip_image010

Start the MegaRAID Storage Manager.

RAID Alerts & Notifications

Entering or Editing the Sender Email Address and SMTP Server

MegaRAID Storage Manager (MSM) can be used to send email alerts.

To setup MSM email alerts, in MSM go to Tools-->Configure Alerts:

clip_image001

You can use the Configure Alerts window to enter or edit the sender email address and the SMTP server.

On the Configure Alerts window, click the Mail Server tab.

The Mail Server options appear, as shown in the following figure.

ConfigureAlerts

Enter a sender’s email address in the Sender email address field, or edit the existing sender email address.

Enter your SMTP server name/IP Address in the SMTP Server field, or edit the existing details.

Clear the Use Default check box to enter the desired port number in the Port field.

Click OK

The Mail Server tab looks like this:

clip_image002

Adding Email Address of Recipients of Alert Notifications

The Email tab in the Configure Alerts window shows the email addresses of the recipients of the alert notifications. The MegaRAID Storage Manager software sends alert notifications to those email addresses. Use the Configure Alerts window to add or remove email addresses of recipients and to send test messages to recipients that you add.

To add email addresses of recipients of the alert notifications, perform the following steps:

  1. Click the Email tab in the Configure Alerts window.

clip_image003

Enter the email address you want to add in the New recipient email address field.

Click Add.

The new email address appears in the Recipient email addresses field.

clip_image004

Testing Email Addresses of Recipients of Alert Notifications

Use the Email tab in the Configure Alerts window to send test messages to the email addresses that you added for

the recipients of alert notifications.

Click the Email tab on the Configure Alerts window.

The Email section of the window appears

Click an email address in the Recipient email addresses field.

Click Test.

Confirm whether the test message was sent to the email address.

A pop-up message indicates if the test message sent to the email address was successful. If the MegaRAID Storage Manager software cannot send an email message to the email address, an error message appears.

Configure RAID 5 step by step

Start the WebBIOS.

clip_image001

Select the "Configuration Wizard"

clip_image002

Choose from the following options.

clip_image003

Select Yes.

clip_image004

Now, Select the Manual Configuration.

clip_image005

Add the drives.

clip_image006

Accept and Next.

clip_image007

Click Next.

clip_image008

Add the SPAN and Click Next.

clip_image009

Click Next.

clip_image010

Choose the RAID Level. We selected the RAID 6 then select the size.

clip_image011

Update the size and accept then click Next.

clip_image012

Select Yes.

Save the Configuration.

clip_image013

clip_image014

Exit the Application. RAID is configured.

Oracle Database 19c Installation on Oracle Linux 7

Pre-installation settings before installing Oracle Database 19c SELinux If the OS is to be used for an Oracle installation, it is ...