Posts

Reboot and select proper boot device: Fix for Windows XP, Vista, 7, 8 and 10

Image
Get the fix for the error  Reboot and select proper Boot Device  on Windows XP, Windows Vista,  Windows 7, Windows 8 and Windows 10 Hard disk error   Description and Symptoms The error messages, alerts, warnings, and symptoms below are tied to this error. Symptom 1: “ Reboot and select proper Boot Device ” error screen on startup The causes for this error might be any of the following: Incorrect boot order. Your hard disk (HDD) must be listed in your computer’s boot order Legacy mode activated or disabled on UEFI-based computers. If your Windows 8, for example, was installed and the UEFI Legacy mode was deactivated, the “Reboot and select proper Boot Device” error might appear Hard disk failure – see Fix #2 for steps on how to check if your hard disk has failed or is failing Partition not set as active – see Fix #4 Causes of this Error This error has been known to occur as a result of one of the following causes: Cause 1: Incorr...

uploading image file using php in ubuntu or linux not working

PHP script might be prevented form uploading file because of permissions : Ubuntu/Linux Am having this php script that should upload image save it as upload.html <!DOCTYPE html><html> <head> <title>UPLOAD</title> </head> <body> <form method="post" action="upload.php" enctype="multipart/form-data"> <pre> Select File<input type="file" name="file"> <input type="submit" name="btn" value="UPLOAD"> </pre> </form> </body> </html> save as upload.php <?php $file_name=$_FILES["file"]["name"]; $temp_name=$_FILES["file"]["tmp_name"]; if(move_uploaded_file($temp_name,"/var/www/".$file_name)) echo "File Uploaded"; else echo "file can't be uploaded"; ?> now when you will try to upload image i...

How to start xampp GUI

You can use the command below if you use 32 system : sudo /opt/lampp/manager-linux.run if you use 64 system : sudo /opt/lampp/manager-linux-x64.run

How to install LAMP server in ubuntu through tasksel

Image
open terminal type sudo apt-get install tasksel after install finish type sudo tasksel in terminal then go down and come to LAMP then press space then enter after finishing you need to change the file permission of the folder go to computer/var/www/html you can do this by typing sudo nautilus and then go to filesystem root/var/www/html then right click and select properties then go to second tab and select owner your username and access create and delete all the components like apache php and mysql will be installed through tasksel at once.

How to Install LAMP server in ubuntu through terminal

Image
how    to install php , mysql and Apache server LAMP L-linux(probably you already having linux) A-Apache M-mysql p-php Installing LAMP On Ubuntu In this guide I will show you how to install a LAMP system. LAMP stands for Linux, Apache, MySQL, PHP. The guide is intended to help those who have very little knowlegde of using Linux. Install Apache To start off we will install Apache. Open up the Terminal (Applications > Accessories > Terminal). (Ctrl+T also works) Copy/Paste the following line of code into Terminal and then press enter: sudo apt-get install apache2 The Terminal will then ask you for you're password, type it and then press enter. Testing Apache To make sure everything installed correctly we will now test Apache to ensure it is working properly. Open up any web browser and then enter the following into the web address: http://localhost/   if this page opens it means apache is installed and working proper...

Tree

Minimum Spanning Tree Algorithms Definition:- A tree is a  connected  graph  without cycles . Properties of Trees ° A graph is a tree if and only if there is  one and only one path  joining any two of its vertices. ° A  connected  graph is a tree if and only if every one of its edges is a  bridge . ° A  connected  graph is a tree if and only if it has  N  vertices and  N; 1 edges . Definitions:- ° A  subgraph  that  spans  (reaches out to )  all  vertices of a graph is called a  spanning subgraph . ° A subgraph that is  a tree and that spans  (reaches out to ) all vertices of the original graph is called a  spanning tree . ° Among all the spanning trees of a weighted and connected graph, the one (possibly more) with the least total weight is called a  minimum spanning tree (MST) . Kruskal's Algorithm Step 1 Find the cheapest edge in the grap...

C++ programming BBIT MAKAUT

Program Name:-Write a c++ program to print Hello world. Program source code:- #include<iostream> using namespace std; int main(){ cout<<"Hello world."; } OUTPUT:- Hello world. Program Name:-Write a c++ program to add two integer number. Source code:- #include<iostream> int main() { int a,b,c; std::cout<<"Enter two numbers for addition\n"; std::cin>>a>>b; c=a+b; std::cout <<"Sum of entered numbers = " << c; } OUTPUT:- Enter two numbers for addition 23 45 Sum of entered numbers = 68 Program name:-write a c++ program to find area and circumference of circle. Source code:- #include<iostream> using namespace std; ...