Thursday, 29 March 2012
Thursday, 8 March 2012
Wednesday, 29 February 2012
Thursday, 16 February 2012
Seed Programming - Linux Shell Based Development using Javscript
http://en.wikipedia.org/wiki/Seed_(programming)
http://live.gnome.org/Seed
What is seed Programming
sudo apt-get install seed
A program using GTK+
http://techbase.kde.org/Development/Tutorials/Shell_Scripting_with_KDE_Dialogs
Development under Ubuntu Environment
http://developer.ubuntu.com/get-started/
http://live.gnome.org/Seed
What is seed Programming
sudo apt-get install seed
A program using GTK+
This code shows an empty window named "Example".
#!/usr/bin/env seed Gtk = imports.gi.Gtk; Gtk.init(Seed.argv); var window = new Gtk.Window({title: "Example"}); window.signal.hide.connect(Gtk.main_quit); window.show_all(); Gtk.main();
http://live.gnome.org/Seed
http://bash.cyberciti.biz/guide/Zenity:_Shell_Scripting_with_Gnome
http://developer.gnome.org/seed/3.2/
http://bash.cyberciti.biz/guide/Zenity:_Shell_Scripting_with_Gnome
http://developer.gnome.org/seed/3.2/
http://techbase.kde.org/Development/Tutorials/Shell_Scripting_with_KDE_Dialogs
Development under Ubuntu Environment
http://developer.ubuntu.com/get-started/
Installation Tips and Tricks when Installing Mongodb
Installation of Mongodb
Some of the steps that needs to be considered while installing MongoDb.
Step1:
Step2: ** Very Important
** Please note without Step 2; you can not run mongod under Linux or ubuntu environment.
Its very essential to create the data/db, since the current version of mongodb does'nt create a database directory.
if your are home directory
$ cd /usr/local
$ sudo ln -s /home/username/mongo mongodb
$ vim .bashrc
export PATH="$PATH":/usr/local/mongodb/bin
$source .bashrc
Execute the mongodb server
$mongod
Run mongodb server with REST enabled.
$mongod --rest
Access Web Admin Interface:
http://localhost:28017/
Some of the steps that needs to be considered while installing MongoDb.
Step1:
64-bit Linux binaries
$ # replace "2.0.2" in the url below with the version you want $ curl http://downloads.mongodb.org/linux/mongodb-linux-x86_64-2.0.2.tgz > mongo.tgz $ tar xzf mongo.tgz
Step2: ** Very Important
Create a data directory
By default MongoDB will store data in /data/db, but it won't automatically create that directory. To create it, do:
$ sudo mkdir -p /data/db/ $ sudo chown `id -u` /data/db
You can also tell MongoDB to use a different data directory, with the --dbpath option.
** Please note without Step 2; you can not run mongod under Linux or ubuntu environment.
Its very essential to create the data/db, since the current version of mongodb does'nt create a database directory.
if your are home directory
$ cd /usr/local
$ sudo ln -s /home/username/mongo mongodb
$ vim .bashrc
export PATH="$PATH":/usr/local/mongodb/bin
$source .bashrc
Execute the mongodb server
$mongod
Run mongodb server with REST enabled.
$mongod --rest
Access Web Admin Interface:
http://localhost:28017/
Wednesday, 15 February 2012
Subscribe to:
Posts (Atom)
