Oracle, huh? We'll get to that in a minute.
Start the virtual machine from the VirtualBox manager, then log in at the prompt with the username and password you chose during installation. You should already have working versions of Apache, PHP, and MySQL, I believe. If you want to use embedded Python scripts you might need an extra Apache module. Let's update the software on the server and get the needed module. You'll be running commands as the administrator with the sudo command like this:
Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libapache2-mod-python
The first time you use sudo you'll be prompted for your password. You won't be required to enter it again unless you leave the session idle for a while. The apt-get program handles software management. The first command tells apt-get to update its current lists of available software "packages;" the second performs an upgrade of the packages already installed. The third installs the Apache module to enable embedded Python. I don't know if you need that if you use URLs like http://example.com/index.py.
Now let's talk about Oracle. If all you need to do is connect as a client to a remote server from a PHP application, then you could use Ubuntu Server, but you still have quite a lot of work to get it set up. If you want to run your own server instance of Oracle, I don't think you should use Ubuntu at all, but either Oracle Linux or the clone of RedHat called CentOS. These are the versions of Linux most businesses and enterprises use to run Oracle servers, so you'll find better support if you choose one of those distributions. From the looks of things, even installing the Oracle server on Oracle Linux appears to be a fairly complicated task.
Is Oracle something you need for your job? If not, I'd suggest switching to an open-source SQL server, either PostgreSQL or MySQL. Both are easy to install in Ubuntu, and I suspect both can meet all your needs. I've been writing web applications in PHP with PostgreSQL for over fifteen years. Obviously there's the problem of porting your existing databases, but there is some help available. I suspect if you're coming from Oracle, Postgres will have a smaller learning curve than MySQL.
To install PostgreSQL, use this command:
Code:
sudo apt-get install postgresql php5-pgsql
The second item is the module that lets you use the pg_ functions in PHP.
From there, if you decide to stick with Ubuntu, you should peruse the Server Guide, particularly the chapters on web and database servers.
Bookmarks