Posts

Showing posts from March, 2014

Convert Putty ppk key to SSH key

You cant use a putty ppk to ssh to a remote server from you linux machine. In that case you may need to first convert ppk to ssh file. For that first you need to install putty on your machine. $ sudo apt-get install putty Then goto the directory and run the  following command to convert ppk to ssh file. $ puttygen key.ppk -O private-openssh -o key.ssh Here, I assume, kep.ppk is you ppk file and key.ssh will be newly created ssh file. After this you can ssh to your remote machine/server using following command. $ ssh user@myserver.com -i key.ssh

Not Found - phpmyadmin

I installed phpmyadmin with apache on Linux but I was seeing this at localhost/phpmyadmin Not Found The requested URL /phpmyadmin/ was not found on this server. Apache/2.2.17 (Ubuntu) Server at localhost Port 80 To fix this I had to make changes to apache.conf sudo vim /etc/apache2/apache2.conf and added the following line at the end... Include /etc/phpmyadmin/apache.conf then restart the apache.. sudo service apache2 restart  

Installing NetBeans - Linux

Before installing NetBeans you need to install JDK software. You can install the JDK software and NetBeans IDE in directories of your choice. Note: This installer does not displace the system version of the Java platform that is supplied by the operating system. You can run the following command to install JDK. sudo apt-get install openjdk-7-jdk Go to the NetBeans download page and download the PHP package. Save the file on the desktop. Now open terminal and run the following command. sudo sh netbeans-7.4-php-linux.sh After unpacking, you will find with the first step of the installation wizard. Go through the installation wizard. After that you will find net beans at Dash home or Applications. Now if you need to configure Netbeans for Drupal, see this .