Published October 12, 2017 by

How to Remove Windows is not Genuine Error Notifications in Windows System

Windows is not Genuine Error notifications occur when your computer hasn't passed the validation test. The validation test can be failed because you installed a pirated non-genuine copy of windows, or sometimes it just happens for no reason at all. However, you can easily get rid of these annoying notifications yourself.

How to Identify your system is not genuine?

See below image and when your system prompts for that error, it means your windows copy not passed in validation test and your windows is not genuine.



For solved this error follows below steps

Step 1

Open Command Prompt as administrator in start menu > all programs >accessories >command prompt . 

Right click on the command prompt and select run as administrator.


Step 2

Type SLMGR/REARM and press enter


Step 3

Wait for a few seconds, after the few second system prompt for system restart request. Press OK button



Step 4

Restart System.

Read More
Published October 11, 2017 by

[Solved] Teamviewer Not ready, check your internet connection error in linux

Sometimes after switching the network connection (wired/wireless) TeamViewer service hangs. To fix this, restart teamviewer service. Open a terminal and execute the following commands :




# sudo teamviewer daemon stop

# sudo teamviewer daemon start

Wait for a few seconds, after few second it's working:




Read More
Published October 11, 2017 by

Install LAMP Stack (Apache, Mysql, php, phpMyAdmin) On Ubuntu/Linux

LAMP is a combination of operating system and open-source software stack. The acronym LAMP came from the first letters of Linux, Apache HTTP Server, MysqL or MariaDB database, and PHP/Perl/Python.

1 Install apache

Apache is an open-source multi-platform web server. It provides a full range of web server 

Install Apache

# sudo apt-get install apache2

Enable and start your apache

# systemctl enable apache2
# systemctl start apache2
# systemctl status apache2

Test apache

Open your web browser and navigate to http://localhost/ or http://server-ip-address/.




2 Install MySQL

# sudo apt-get update
# sudo apt-get install mysql-server


Re-enter the password.


Remeber mysql server automatic configure default port 3306.

# sudo mysql_secure_installation

Here mysql asks some few questions for configuration, give (yes/no) answers according your requirement.  

Check status of mysql

# sudo mysql_secure_installation

Access mysql

# mysql -u root -p

Enter a Password of you set for root at installation time.

Quit/Exit mysql


mysql>exit

Uninstall/Remove MySQL on Ubuntu/Linux

# apt-get remove -y mysql-*
# apt-get purge -y mysql-*


3 Install PHP

Install PHP with following command:

# sudo apt-get update
# sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql

In most cases, we'll want to modify the way that Apache serves files when a directory is requested. Currently, if a user requests a directory from the server, Apache will first look for a file called index.html. We want to tell our web server to prefer PHP files, so we'll make Apache look for an index.php file first.

To do this, type this command to open the dir.conf file in a text editor with root privileges:

# sudo vim /etc/apache2/mods-enabled/dir.conf

Erase all data and paste below Code:

<IfModule mod_dir.c>
    DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
</IfModule>

Test your php version

root@subhash:# php -v

To test PHP, create a sample “testphp.php” file in Apache document root folder.

# sudo vim  /var/www/html/testphp.php

Add the following lines:

<?php
phpinfo();
?>

Restart apache2 service.

# sudo systemctl restart apache2

Navigate to http://server-ip-address/testphp.php. It will display all the details about php such as version, build date and commands etc.




4 Install phpMyAdmin

phpMyAdmin is a free open-source web interface tool used to manage your MySQL databases. It is available in the Official Debian repositories. So install it with command:

# sudo apt-get install phpmyadmin

Select the Web server that should be automatically configured to run phpMyAdmin. In my case, it is apache2.


The phpMyAdmin must have a database installed and configured before it can be used. This can be optionally handled by dbconfig-common.

Select ‘Yes’ to configure database for phpmyadmin wjth dbconfig-common.


Enter password of the database’s administrative user.

Enter MySQL application password for phpmyadmin:

Re-enter password:


Success! phpMyAdmin installation is installed.

Configure phpMyAdmin

# sudo vim /etc/apache2/apache2.conf

Add the following line at the end.

Include /etc/phpmyadmin/apache.conf

Save and Exit. Restart apache service:

# sudo systemctl restart apache2

Access phpMyAdmin Web Console

Now, you can access the phpmyadmin console by navigating to http://localhost/phpmyadmin/ from your browser.
Read More
Published October 11, 2017 by

Install Tomcat 8.5.23 in Ubuntu/Linux

Step 1: First install java


Step 2: go to /opt directory

# cd /opt

Step 3: give read/write permission to /opt directory

# sudo chmod -R 777 *

Step 4: download tomcat

# wget https://archive.apache.org/dist/tomcat/tomcat-8/v8.5.20/bin/apache-tomcat-8.5.20.tar.gz
Step 5: extract downloaded files

# tar xzf apache-tomcat-8.5.20.tar.gz

Step 6: go to /bin directory and start tomcat

# cd /opt/apache-tomcat-8.5.20/bin

# sh startup.sh

Step 7: access tomcat

Go to browser and hit URL http://localhost:8080



For shutdown tomcat

# cd /opt/apache-tomcat-8.5.20/bin

# sh shutdown.sh

Read More
Published October 11, 2017 by

Mysql server Start/Stop/Restart in Linux

Mysql Access

# mysql -u root -p

Mysql Stop

# sudo service mysql stop

Mysql Start

# sudo service mysql start

Mysql Restart

# sudo service mysql restart

Read More
Published October 11, 2017 by

Install MySQL on Ubuntu/Linux

Following are the commnad for Installing MySql in Ubuntu/Linux system

# sudo apt-get update

# sudo apt-get install mysql-server


Re-enter the password.


Remeber mysql server automatic configure default port 3306.

# sudo mysql_secure_installation

Here mysql asks some few questions for configuration, give (yes/no) answers according your requirement.  

Check status of mysql

# sudo systemctl status mysql

Access mysql

# mysql -u root -p

Enter a Password of you set for root at installation time.

Quit/Exit mysql



mysql>exit



Uninstall/Remove MySQL on Ubuntu/Linux

apt-get remove -y mysql-*

apt-get purge -y mysql-*


Read More
Published October 11, 2017 by

Install JAVA 8 on Ubuntu/Linux (Oracle Java)

Install Java

# sudo add-apt-repository ppa:webupd8team/java
# sudo apt-get update
# sudo apt-get install oracle-java8-installer

Verify Installed Java Version

# java -version

java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

Setup Java Environment

# sudo apt-get install oracle-java8-set-default

Now add the JAVA_HOME and JRE_HOME environment variable in /etc/environment configuration file using the following command.

# vim /etc/environment

Insert below lines at end of the file

JAVA_HOME=/usr/lib/jvm/java-8-oracle
JRE_HOME=/usr/lib/jvm/java-8-oracle/jre
Read More