linux

create user in MySQL using terminal

How to create user in MySQL using terminal?

How to create user in MySQL using terminal? Note :- need to edit commands where “techouse” is mentioned. How to change the password of existing user in mysql ALTER USER ‘techouse’@’localhost’ IDENTIFIED BY ‘MyNewPass’; —————- How to create backup while ignoring the single or multiple tables mysqldump -u techouse -p database –ignore-table=database.table1 > database.sql ————— […]

How to create user in MySQL using terminal? Read More »

How to install Spark messenger?

Spark Messenger installation —— Install Java —— sudo apt-get update sudo apt-get install default-jre —— Install Spark IM —— wget http://download.igniterealtime.org/spark/spark_2_8_2.tar.gz sudo tar -zxvf spark_2_8_2.tar.gz -C /opt/ sudo mv /opt/Spark/ /opt/spark cd /opt/spark/ sudo wget https://dl.dropbox.com/u/50880014/spark.png sudo apt-get install vim sudo vim /usr/share/applications/spark.desktop Copy this and paste it in spark.desktop [Desktop Entry] Name=Spark Version=2.8.2 GenericName=Spark

How to install Spark messenger? Read More »

How To Install the Apache Web Server on Ubuntu 18.04

How To Install the Apache Web Server on Ubuntu Desktop installation Ubuntu 18.04 and Ubuntu 16.04 List running processes ordered by RAM usage ps aux | awk ‘{print $2, $4, $11}’ | sort -k2rn | head -n 20 covery.zen.ping.multicast.enabled: false #install SSH service for root access Sudo apt-get install ssh Sudo apt-get install vim Sudo

How To Install the Apache Web Server on Ubuntu 18.04 Read More »

recover unallocated space on usb drive

How to Repair and Restore Unallocated Space on a USB/SD Card

Recover unallocated space on USB drive. Case1: How to recover your pen drive in windows. USB/SD Card Stops Working or stop Showing the actual size of pen drive or any external storage device. Unallocated Reason: The most common reasons are deletion and virus attack. Suppose, you may accidentally delete the partition on the USB or

How to Repair and Restore Unallocated Space on a USB/SD Card Read More »

note editor linux

How to create swap in Linux ?

How to create swap in Linux CREATE SWAP PARTITION LINUX We can create a 8 Gigabyte Swap Partition —————————————– sudo fallocate -l 8G /swapfile ls -lh /swapfile Enabling the Swap File ————————- sudo chmod 600 /swapfile ls -lh /swapfile Now that our file is more secure, we can tell our system to set up the

How to create swap in Linux ? Read More »