Latest Blog Posts

How to install LAMP stack with phpMyAdmin in Ubuntu Server

How to install LAMP stack with phpMyAdmin in Ubuntu Server

LAMP stack is a set of open-source software which are used together to host a web application or website on the internet. The acronym of LAMP stands for LinuxApache, MySQL, and PHP.

  • Apache is a widely used and secured server it is well documented and easy to use, 
  • MySQL is an open-source relational database management system, 
  • and PHP is a widely-used general-purpose scripting language. 

Because we are using MySQL we will also install phpMyAdmin, with this we can handle administration tasks, including creating a database, running queries, and adding user accounts very easily. 

phpMyAdmin is a widely used, open-source administration tool for MySQL and MariaDB. With phpMyAdmin installed on your server, you can handle the database of your server very easily.

In this step-by-step tutorial, I will explain how to install the LAMP stack with phpMyAdmin on a Ubuntu Server.


Prerequisites

In order to complete this tutorial, you will need a Ubuntu server(Minimum Ubuntu 18.04), Access to the server via SSH (if you don’t have direct access), and a sudo-enabled user account with a basic firewall.

STEP 1: Install Apache Web Server 


How to Format USB Flash Drive using CMD Prompt

 USB flash drives are widely used to store and transfer data (Like Video, Audio, Documents, and more) from one computer to another.

Because of this, sometimes Windows stopped recognizing them. This happens because of the issue like they become a raw-space or write-protected. You can fix this issue by formatting the device using the command prompt.

*Note: Formatting a device causes loss of data. So, if it is possible take a backup of the data.

This is a step-by-step guide on how to format a USB Flash Drive using Command Prompt. Follow these simple steps to format your Pendrive using the command prompt:

Step 1: Open Command Prompt with administrator permission

  • Press Window Key and type CMD on the search box.
  • Find Command Prompt on the best match.
  • Right-click on Command Prompt and click on “Run as Administrator.”


Step 2: Open DiskPart on Command Prompt

The Diskpart is a command interpreter which helps you manage computer drives such as disks, partitions, volumes, or virtual hard disks.

  • Type DiskPart on Command Prompt to open it.












Step 3: List Disk available on your system

List Disk interpreter helps you to get the list of drives on your computer.

  • So type “List Disk” once Diskpart gets open.








Step 4: Select the Disk you want to format using the command prompt

Now select the disk you want to format from the list.

  • To select the disk you want to format type “Select Disk 1*

*type the disk number you want to format













Step 5: Clear the partition on the disk

After selecting a disk you should clear all the partitions on it.

  • For clearing the partition type “Clean












Step 6: Create a new partition on the disk

Clean command leads to clean all the partitions on the disk. So, now create a partition on the disk.

  • To create a partition you have to type “create partition primary” on the command prompt











Step 7: Format the Disk

Once a new partition is created on the disk your device is ready to format.

  • Type “format fs=ntfs” to format your USB flash drive.










N.B: here in place of NTFS you can type fat32 to format the disk on FAT32.

(Also to speed up the process of formatting you can type “format fs=ntfs quick“)

























Step 8: Assign the disk.

After the above process, your device is formatted, and to assign the disk you have to type “assign” command on the prompt.

That’s it. Your USB Flash Drive is successfully got format, and now you can close the command prompt. If you find issues with any of the steps mentioned above, you should watch the video mention below.

Contact Us