As you know Adminer is a parallel powerful database handling engine that works like phpMyAdmin.
Often we encounter a problem.
While upgrading our Linux system, we need to update the PHP or MySQL version. While doing this When we type: http://localhost/adminer.php to open Adminer, we encounter an error like this:
None of the supported PHP extensions (MySQLi, MySQL, PDO_MySQL) are available.
To handle this common error what can be done?
It can be solved by taking only two steps.
sudo apt-get install php7.0-mysqlnd
Next you have uncomment one line in ‘/etc/php/7.0/apache2/php.ini’. To do that open it in any editor;
sudo gedit /etc/php/7.0/apache2/php.ini
And just uncomment this line in Linux:
For Windows uncomment this line:
That is all your Adminer will work fine.
It’s a quite common problem that we face when we try to work around apache server and php.
Suppose you have just reconfigured your apache 2. Next you find that your php 7 script is not working any more with your php and no script is executed properly.
What will you do?
Open your linux terminal and type the following commands one after another. Usually
sudo apt-get install apache2 php7.0 libapache2-mod-php7.0
a2query -m php7.0
sudo a2enmod php7.0
sudo service apache2 restart
Suppose you have apache 2 server installed in your Ubuntu 14 and it came with php 5*. Now whenever you start apache 2 server typing localhost in your browser, you find that your apache server has not been configured with php 7.1.
Now how you’d solve this nagging problem?
First you need to remove every php version from your machine.
sudo apt-get purge php.*
Next you need to reinstall PHP 7 by these commands one after another:
sudo add-apt-repository ppa:ondrej/php
sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.1
sudo apt-get install php7.0-mysql
sudo apt install php libapache2-mod-php
sudo apt install php7.0-mbstring
It’s done. Now your apache server has been configured with php latest version.
First download the latest Adminer into your Apache web servers root folder using this command:
sudo mkdir /usr/share/adminer
sudo wget "http://www.adminer.org/latest.php" -O /usr/share/adminer/latest.php
sudo ln -s /usr/share/adminer/latest.php /usr/share/adminer/adminer.php
echo "Alias /adminer.php /usr/share/adminer/adminer.php" | sudo tee /etc/apache2/conf-available/adminer.conf
Next you need two more lines:
sudo a2enconf adminer.conf
sudo service apache2 restart
Now open your browser and type:
Very simple step. Type this command on your terminal:
mysql -u root -p
It’ll ask for your password that you had given while installing mysql on your Ubuntu machine.
Give the password and it’ll show something like this:
Continue reading “How to start MySQL in Linux terminal”
Does the future look too rosy for us, – the new digital India?
It’s not beyond reasonable reservation. While our government is pressing for cashless transaction, a thick mantle of fear hangs loosely around the wrong encryption policy and slack cyber security measures taken by AM-ADMI. It’s not a question-and-answer session anymore. It’s probably been answered already: we will be at a bigger loss if correct steps are not taken right away!
Continue reading “The Great Cyber Robberies Expose Our Sordid Underbelly!”
“Want to buy some profile dumps. Is there any? I’m ready to pay in Bitcoins.”
After posting this message in three “TOR NETWORK” message boards, hidden in the dark web, my wait was over after nearly twenty hours when an “Anonymous” asked in a “TORCHAN” board (http://zw3crggtadila2sg.onion/): “How we know you’re not an FBI scum”?
A real scummy question indeed! I wish I had a gentle reply!
It’ll attract more slang designed only for the dark web if you can’t prove that you’re not really an “FBI scum”. Other boards bore no fruit, at least not in twenty hours deadline I had set knowing that it was too short.
Continue reading “Not the Giant Corporations, Biggest Data Theft Hit Common People Most”
Above all things, it now appears that government has thrown all its weights around the seizure of black money. IT officials claim that the amount of unaccounted money recovered since the announcement of demonetization on 8th November has crossed three thousand crores and they’re counting for more. Before that government had also announced packages for black money disclosure that had ended on 30th September and till date the amount disclosed has been around 55 thousand crore rupees.
It’s been one side of reality.
Continue reading “Post demonetization: the heartbeat of black money now ticks with bitcoin”
It sounded like science fiction when we have first learned about the Ransomware. Cyber attackers swooping on computer network and lock the essential files encrypting them and demanded for a ransom that you had to pay in bitcoin – a currency that runs in the dark web. In the first part of this series of articles we also came to know how denial of service – an old tactic hackers use to jam the network – had been morphed into a new avatar.
Continue reading “Ransomware: How can I save my SOUL from cyber attacks?”
The real life kidnapping model has just morphed into a new avatar in the virtual world encrypting your essential files, demanding money, holding you as a hostage. Cyber criminals have now adopted the same ‘real-life’ kidnapping technique to snatch your valuable documents holding you for a hostage to make a deal. In such situations you need to buy your freedom for exchange of a ransom.
It sounds bizarre and almost like a science fiction but it starts taking place in our day-to-day life.
Continue reading “Ransomware is the new Threat: Pay the Kidnappers a Ransom and Obtain your Essential Files”