Tuesday, November 24, 2009
Thursday, October 29, 2009
GloMoSim with Ubuntu
- Download GloMoSim from here
- Uncompress glomosim-2.03.tar.gz file
- Set Environment variable
export PCC_DIRECTORY
- Copy both files pcc and parsecc from glomosim-2.03/parsec/redhat-7.2/bin/ dir and copy into usr/bin dir
- Goto glomosim-2.03/glomosim/main dir and run make.
$ make
Monday, August 3, 2009
How to configure Epic with TinyOS
where $TinyOS_ROOT= /opt/tinyos-2.1.0 for ubuntu
$ unzip tos-platforms.zip
2) Download support-make.zip and Unzip in $TinyOS_ROOT/support/make/
$ unzip support-make.zip
3) Finally, to compile/install Blink on Epic, type:
$ make epic install
Monday, March 23, 2009
Problem With Sun virtualbox in Ubuntu 8.10
Error : No suitable module for running kernel foundInstalling linux-headers-`uname -r`
1) Open the terminal (we will be using it through most of my guide) from Applications > Accessories > Terminal
( This packet is not installed by default when kernel install so we have to install this packet manually )
2)
Now it is working :)
Wednesday, March 4, 2009
Installing LAMP on Ubuntu 7.10/8.04/8.10 (Linux,Apache,MySQL,PHP)
Installing Apache on Ubuntu 7.10/8.04/8.101) Open the terminal (we will be using it through most of my guide) from Applications > Accessories > Terminal
2) Install apache2 using apt-get by typing the following
a) start/stop apache2 write:
If everything is OK you should see an ordinary HTML page when you type: http://localhost in your firefox browser.
Your www folder should be in: /var/www/
1) Also in terminal write:
2) restart apache
This is it for PHP Wanna test it ? Just create an ordinary PHP page in /var/www/ and run it.
Example:
and write in it:
Echo "Hello, World!";?>
Now run it by typing http://localhost/test.php in firefox… You should see your ” Hello World ”
Installing MySQL on Ubuntu 7.10/8.04/8.10
1. Again and again in terminal execute:
2. (optional) If you are running a server you should probably bind your address by editing bind-address in /etc/mysql/my.cnf and replacing its value (127.0.0.1) by your IP address
3. set your root password (although mysql should ask you about that when installing)
4. Try running it
where xxx is your password.
Note: You can install PHPMyAdmin for a graphical user interface of MySQL by executing
5. restart apache
Problems with PHP installation :
1) I try to run a PHP file it comes up with a dialog box asking me to download a .phtml file.
-> Install lamp-server by help of follwoing command
or
SYS->ADMIN->SYNAPTIC->EDIT->MARK PACKAGES BY TASK->LAMP SERVER