Flipkart

Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Friday, January 11, 2019

Install wordpress on windows using xampp

First , Install XAMPP is an easy to install Apache distribution containing MariaDB, PHP, and Perl. Just download and start the installer.

Check and download the required version.

https://www.apachefriends.org/download.html#641

Once the download finishes, run the file you downloaded to launch the XAMPP installer. If you’re running antivirus software, you might get a warning like this:

clip_image001

Just click Yes to continue. Depending on your Windows configuration, you might also get a prompt about User Account Control (UAC). Just continue through that prompt as well. Once you get through all of the prompts, you should see the standard installer screen:

clip_image002

Just click Next to continue.

On the next screen, you can choose which components to install. To install XAMPP and WordPress, you do not need all of the components. In addition to the required components, all you need are:

  • MySQL
  • PHPMyAdmin

clip_image003

Uncheck everything else and click Next.

You can now select which folder to install XAMPP in. I always leave it as the default:

clip_image004

On the next screen, you’ll get a prompt asking you to install Bitnami for XAMPP. You do not need this to install XAMPP and WordPress, so just uncheck the box:

clip_image005

Once you click Next, you’re ready to run the install:

clip_image006

The install process might take a few minutes:

clip_image007

Once it finishes, you can launch the control panel to start working with XAMPP:

clip_image008

Step 2: Start the modules and test your server

To install XAMPP and WordPress properly, you’ll need to run two modules:

  • Apache
  • MySQL

You can start both modules from the XAMPP control panel:

clip_image009

Once you launch them, you should see their status turn to green:

clip_image010

And now you should be able to test that your local server is working by going to http://localhost/ in your web browser of choice:

clip_image011

Add the WordPress files

If you’ve ever manually installed WordPress

First, you need to go to wordpress.org and download the latest version of WordPress.

clip_image012

Then, in Windows, navigate to the folder where you installed XAMPP. For me, that’s C:/xampp. It should be something similar for you. Then, in that folder, find the htdocs subfolder:

clip_image013

Once you create the folder, extract the WordPress .zip file you downloaded from wordpress.org into it:

clip_image014

Create a database for WordPress

Next, you need to create a MySQL database for your WordPress install.

clip_image015

Open the MySQL 5.5. Command Line Client

Enter password:

# CREATE DATABASE wordpress;

# CREATE USER wordpress@localhost;

# GRANT ALL PRIVILEGES ON wordpress.* TO ‘wordpress@'localhost' IDENTIFIED BY ‘Password’;

Query OK, 0 rows affected (0.00 sec)

# FLUSH PRIVILEGES;

Open wp-config.php and fill the correct the database details as :-

………………………………………………………………………………..

[...]

// ** MySQL settings - You can get this info from your web host ** //

/** The name of the database for WordPress */

define('DB_NAME', 'wordpress');

/** MySQL database username */

define('DB_USER', 'wordpress');

/** MySQL database password */

define('DB_PASSWORD', ‘Password');

/** MySQL hostname */

define('DB_HOST', 'localhost');

[...]

…………………………………………………………………………………………

Now , launch the web WordPress by http://localhost/wp-admin/install.php

clip_image016

clip_image017

clip_image018

After that you need to enter a username, password, and an email address for your admin account.

clip_image019

You can login to your website by going to /localhost/website1/wp-adminpage and use the username / password that you entered during installation to login.

clip_image020

Tuesday, December 25, 2018

How to Enable SA Account in SQL Server 2014

    clip_image001

    backup failed for server (microsoft.sqlserver.smoextended)

    Enable the sa Login:

    1. Connect to the SQL Server instance using SSMS and go to Security. Expand Security, go to Logins.

    2.  You can see the sa account is disabled when you install SQL Server using Windows Authentication mode.

    clip_image002

    3. Right-click on the sa account and go to Login Properties

    clip_image003

    By default, the Enforce password policy is checked. (if you don’t want to provide a complex password for the sa account, you can uncheck this option. However, this is not recommended.)

    4. Click on the Status page. By default, the sa account will be disabled. Click on the Enabled button to enable the sa account. Click on Ok to close the sa Login Properties.

    clip_image004

    sa account is enabled and you will be able to login to the SQL instance using the sa account.

    Method 2:

    Enable SQL Server SA Account with Script

    1. Login into SQL Server using Windows Authentication mode and open Management Studio.

    2. Click "New Query" to create a query, and type followings:

    USE [master]

    GO

    ALTER LOGIN [sa] WITH PASSWORD='password'

    GO

    ALTER LOGIN [sa] ENABLE

    GO

    Method 3:

    1. In SQL Server Configuration Manager, in the left pane, select SQL Server Services. In the right-pane, find your instance of SQL Server. (The default instance of SQL Server includes (MSSQLSERVER) after the computer name. Named instances appear in upper case with the same name that they have in Registered Servers.) Right-click the instance of SQL Server, and then click Properties.
    2. On the Startup Parameters tab, in the Specify a startup parameter box, type -m and then click Add. (That's a dash then lower case letter m.)
    3. Click OK, and after the message to restart, right-click your server name, and then click Restart.
    4. After SQL Server has restarted your server will be in single-user mode. Make sure that that SQL Server Agent is not running. If started, it will take your only connection.
    5. On the Windows 8 start screen, right-click the icon for Management Studio. At the bottom of the screen, select Run as administrator. (This will pass your administrator credentials to SSMS.)

Windows Server 2012 not booting on ESXi 5.0

clip_image001

Windows Server 2012 not booting on ESXi 5.0

  • Create a new VM over the vSphere Client.
  • As “Guest Operating System” use Microsoft Windows Server 2008 R2 (64-bit)”
  • After VM has been created but before first power on, download the following bios file(http://communities.vmware.com/servlet/JiveServlet/download/2139717-98102/bios.440.rom ) and upload it to your ESXi datastore into the folder of the VM
  • Now open the .vmx file of the new VM and add the follwing lines

bios440.filename = "bios.440.rom"

mce.enable = TRUE

cpuid.hypervisor.v0 = FALSE

vmGenCounter.enable = FALSE

Power on VM and Server 2012 will install and run

Monday, December 24, 2018

Supermicro SuperDoctor 5 Installation steps guide

SD5 monitors target nodes hardware's system health or availability in data centers in real-time and provide alerts to administrators.

SuperDoctor® 5 Key Benefits and Features

Supports monitoring, control, and management functions.
- Hardware Monitoring: fan speed, temperature, voltage, chassis intrusion, redundant power failure, power consumption, disk health, raid health, and memory health.
- 20 Types of system information: BIOS, Baseboard, Chassis, Computer System, Disk Drives, Memory, Network, Printer, Processor, System Slot, IPMI, Power Supply, Account, Operating System, Process, Service, Share, Time Zone, OEM Strings, and System Cfg Options.

Download the setup from below link:

https://www.supermicro.com/products/nfo/SMS_SD5.cfm

clip_image001

Start the installer and proceed to next steps as per your requirements.

clip_image002

clip_image003

clip_image004

clip_image005

clip_image006

clip_image007

clip_image008

clip_image009

clip_image010

clip_image011

clip_image012

Login links : https://localhost:8444

Username : ADMIN

Password : ADMIN

clip_image013

clip_image014

OpenSSL - Installation under Windows

  1. Download the OpenSSL for Windows installation package.
  1. If the following error message appears, you should install Microsoft Visual C++ 2008 Redistributables. The installation file can be downloaded here.

clip_image001

  1. Double-click the installation file and click on Next

clip_image002

  1. Click on I accept the agreement, followed by Next.

clip_image003

  1. Leave the default installation path (C:\OpenSSL-Win32) and click on Next.

clip_image003[1]

  1. Leave the default Startmenu folder(OpenSSL) and click on Next.

clip_image004

  1. Leave the The Windows system directory and click on Next.

clip_image005

  1. Click on Install.

clip_image006

  1. Click on Finish once the installation has been completed.

OpenSSL for Windows has now been installed and can be found as OpenSSL.exe in C:\OpenSSL-Win32\bin\. Run as Administrator.

Note: The following error message might appear when running OpenSSL:

WARNING: can't open config file: /usr/local/ssl/openssl.cnf

Follow the steps to resolve this:

  1. Close OpenSSL.
  2. Open a Command Prompt (CMD) as Administrator
  3. Run the following command: SET OPENSSL_CONF=C:\OpenSSL-Win32\bin\openssl.cfg
  4. Reboot the computer.