#pygames #ubuntu #aptget #python Installing via apt get…

(#pygames #ubuntu #aptget #python)
Installing via apt-get: sudo apt-get install python-pygame

A solution of using Netbeans IDE for PHP in my proxy backed Ubuntu System

I know that apt-get is good for downloading netbeans IDE. but if it is not working (i was behind a proxy, working on a PHP app, and netbeans IDE installed via apt-get is refusing to get plugins for PHP), then you can download the .sh files from netbeans official site and install it.

You need to make the .sh file executable. 🙂

The lasted version is build on java 7 and it may show a problem while you are installing with a older java, showed me also. But i am using the IDE now and found no error yet.

Install flash player using apt-get in ubuntu

simply use this,

sudo apt-get install flashplugin-nonfree




Exporting in ubuntu

Situation: I am going to export the ORACLE_SID

Solution: in terminal type export ORACLE_SID=’XE’
you can see the result if you type echo $ORACLE_SID

How can i install XFCE along side unity?

How can i install XFCE along side unity?

It helped me installing xfce in my ubuntu mechine. 🙂

QnA: where LSNRCTL command can be found?

The question is, where LSNRCTL command can be found?

Answer is, it is under bin folder of your oracle directory. If you have installed oracle in ubuntu successfully, then it can be found under $ORACLE_HOME/bin.

A small point to remember, always store the information about how you installed oracle in your ubuntu mechine.

Start up Oracle XE in Ubuntu

Here i got a nice article about starting oracle xe in ubuntu. here is the link: http://ivansnotebook.blogspot.com/2007/12/start-up-oracle-xe-in-ubuntu.html
Well, here is the main point:
There one problem in starting up oracle 10g in Ubuntu after you restart the computer, which is it wouldn’t start(if you didn’t enable the “Start Oracle on logon” option) unless you login as Oracle user account. One way I found out to start the listener and database, without login as Oracle, is to run the restart command.

sudo /etc/init.d/oracle-xe restart

I don’t know whether this is a security bug because firing the command start and stop doesn’t work using your own login.

Check the database status using the following code:

sudo /etc/init.d/oracle-xe status

Sometimes, the database won’t start after firing the restart command even the listener is active. Start the database using the menu path and check the status again.