openssl rsa -in ~/.ssh/id_rsa -out ~/.ssh/id_rsa_new
and enter your old passphrase
Backup and replace your private ssh key
cp ~/.ssh/id_rsa ~/.ssh/id_rsa.backup
cp ~/.ssh/id_rsa_new ~/.ssh/id_rsa
Set key permissions
chmod 400 ~/.ssh/id_rsa
ERROR: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
You need to install the server package:
sudo yum install mysql-server
After installation, you have to start the service:
sudo service mysqld start
and dont forget to secure install
You run the first command once to set up your public/private key pair and then you run the second command once for each host you want to connect to.
note: if non standard port use this "ssh-copy-id "[email protected] -p 31337"
now you have a password less login but still you will be prompt with the password you created on ssh-keygen but its more less troublesome rather then the actual password for each servers, and to make it more easier, we use alias on your ~/.ssh/config
put this on your file
after all of this is done, use this on your terminal to connect
note: if you get this error: “Bad owner or permissions on .ssh/config”
FIX: chmod 600 ~/.ssh/config
Ex. AMD Radeon HD 6770 / Nvidia GeForce GTX 780
- The first digit is the generation (2nd Important)
- The second digit is the performance indicator (Very Important)
- The third digit is a refined performance indicator (Least Important)
- The forth digit is often just 0
Performance indicator numbers: (red number)
1: Intergrated graphics product, very low performance
2: Low performance
4-3: Low-Mid performance
5-6: Midrange performance
7-8: High performance
9: Ultra High performance
High Performance ang AMD Radeon HD 6770 at Nvidia Geforce GTX 770.
Low-Mid Performance ang AMD Radeon 6470 at Nvidia Geforce 530
So when it comes to performance. the higher the second number the better.
So AMD HD 5000 series… 5450<5550<5570<5670<5750<5770<5830…
if combined AMD HD 4000 series… 4350<5450=4550<5550<5570=4670<5670<575…
not only memory is important to look at you also need to check other like:
(red as the most important. and green as second most important.)
Core Speed (here you could know if you could overclock it. Nvidia has base boost feature)
Memory Bus Width ( 64bit/128bit/256bit etc.)
Memory Type (GDDR5/4/3)
Memory Size (ng GPU) (here we usually look at which we should not. the 2GB 1GB…)
DirectX Support (11 up)
Physx Support ( Nvidia only)
From time to time you may encounter an unusual situation wherein you need to reset your WordPress password but you no longer have access to the email address associated with your account.
Here’s a quick MySQL snippet that will change your password
# Reset Password
UPDATE wp_users SET user_pass = MD5( 'new_password' ) WHERE user_login = 'your-username';
Instructions for use:
1. Replace the new_password with your new password.
2. Replace your-username with your username.
3. Fire up phpMyAdmin and go to your database.
Open the SQL tab.
Paste the above snippet into the text field and click on the Go button.
You should now be able to log in to your WordPress site using your new password.