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

Tuesday, November 27, 2012

How to type in Urdu on Web or Facebook

To type in Urdu on Facebook (or any other site), you need to download Google Input Tools. To download please click here.

After downloading, install it.

Now when you have successfully installed Google Input Tools. You need to follow these steps;
  • Change keyboard type from US to Urdu from Control Panel

  • Now restart your browser and enjoy..... :)

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

Monday, November 19, 2012

Setting up PHP development environment on Windows


To set up PHP development environment on  Windows, you need download WAMP Server. Please follow the link below to download it.
Note: if you don't now which version to use, then use 32-bit version.

Now install clicking next,next next



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

Saturday, January 7, 2012

PHP Short Open Tags

Usually we use <?php ?> as opening tags for PHP. We can also use <? ?> as opening and closing tags. Enable short open tags as shown in the figure below;

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