Format a Hard Drive Using the windows Command Prompt Rumi, March 6, 2020 STEP 1: Open Command Prompt As Administrator Opening the command prompt. Search for command prompt, right click and run as Administrator. STEP 2: Use Diskpart Using diskpart Once command line is open, type ‘diskpart’ and press Enter. STEP 3: Type List Disk Using list disk The above command will open a Diskpart window. In this window, type ‘list disk’ and press Enter. It will list all the available drives. STEP 4: Select the Drive to Format Formatting a drive. Now type ‘select disk (disk number)’ as shown above. Specify the drive number which needs to be formatted. STEP 5: Clean the Disk Using the clean function. In this step, type ‘clean’. This command will permanent delete all files and folders, and successfully clean up the disk. STEP 6: Create Partition Primary Creating primary partition. To make the drive again accessible, type ‘create partition primary’. STEP 7: Format the Drive Formatting a drive. Now format the drive with FAT or NTFS file system. Type ‘format fs=ntfs’ and press Enter. STEP 8: Assign a Drive Letter Assigning a drive letter. To assign a drive letter, you can type ‘assign’ as shown below. Related Administrations Configurations (Windows) DiskPart
Enable and install SSL on Debian 8 apache server February 29, 2020 Configure Apache2 for SSL. root@www:~# vi /etc/apache2/sites-available/default-ssl.conf # line 3: change to webmaster’s email ServerAdmin webmaster@srv.world # line 32,33: change to the one created in [1] SSLCertificateFile /etc/ssl/private/server.crt SSLCertificateKeyFile /etc/ssl/private/server.key root@www:~# a2ensite default-ssl Enabling site default-ssl. Related Read More
Large Database Import Progress Using PV March 24, 2020 PV can report progress for large data imports. In this example I will use a large (7 G) install on Ubuntu. First, download PV (http://linux.die.net/man/1/pv) sudo apt-get install pv A traditional mysql import may be formatted as: mysql -u USER -p DATABASE_NAME < DUMP.mysql but to leverage PV, pass the dump file ,then pipe the… Read More
Disbale/Enable Directory browsing in Apache December 22, 2008 This can be done either in following ways- Global settings in httpd.conf or Per directory using .haccess Related Read More