Monday, December 17, 2012

Installing OpenSSH Server on Ubuntu 12.04


sudo apt-get install openssh-server

I hope it helped. Feel free to comment...

Friday, December 14, 2012

HipHop PHP

To install hiphop-php on Ubuntu 12.04, add

 deb http://dl.hiphop-php.com/ubuntu precise main

to the /etc/apt/source.list

To add the above line in /etc/apt/source.list, you need open it using root user or by using sudo with nano editor.

 sudo nano source.list

The file opens in nano editor. Add the above line. Now,

  sudo apt-get update

Finally, you can install (or update) your package with the normal apt-get install process:

 sudo apt-get install hiphop-php


I hope it helped. Feel free to comment...

References
https://github.com/facebook/hiphop-php/wiki/Prebuilt-packages-on-ubuntu-12.04

Enable root user on Ubuntu 12.04

1st change root user password using;
sudo passwd root

Now, use this command to enable root login
sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'


I hope it helped. Feel free to comment...

Thursday, December 6, 2012

Using Bitnamai Lampstack Console

To use Bitnami Lampstack Console follow these steps;
  • open terminal
  • go to the directory where lampstack is installed
  • type these commands:
    • To use lampstack
  • ./use_lampstack
    • Check php version
  • php -v
    • Check mysql version
  • mysql -Version

I hope it helped. Feel free to comment...

References:

http://bitnami.org/files/stacks/lampstack/5.3.19-0/README.txt