When i use php bin/magento setup:static-content:deploy in ubuntu i am getting this error "pdo_mysql extension is not installed" so please help me?
@SHPatel is right. There is an answer on askubuntu that gives instructions HERE
I am going to assume that you have PHP 7 installed, otherwise you would never have gotten a Magento 2 instance running. In which case, it is 3 easy steps:
If it isn't already, install php7.0-mysql:
sudo apt-get install php7.0-mysql
It is possible that it was already installed but the pdo_mysql module wasn't enabled. Either way, enable pdo_mysql:
sudo phpenmod pdo_mysql
Then just restart Apache:
sudo service apache2 restart
Hope this helps!
install PDO extention of SAME php version from EasyApache4 whm