Reputation:
I am trying to install Oracle SQL Developer
onto a Linux server via the Windows 8.1
operating system. I am downloading the packages from:
http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
I am then installing the Linux RPM
package from that site.
I am then moving it from the Windows 8.1 operating system (that it was downloaded onto) onto the Linux server (via WinSCP).
I am then opening up the Linux server on Putty and attempting to install the SQL Developer by using the following command:
rpm -Uvh sqldeveloper-4.0.3.16.84-1.noarch.rpm
I am then recieving this error:
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
error: Failed dependencies:
/bin/sh is needed by sqldeveloper-4.0.3.16.84-1.noarch
Can anyone help me figure out how to fix this issue, I have searched Google and no useful results have popped up.
Upvotes: 1
Views: 1076
Reputation: 996
On Debian do ( as the message says ) not install the rpm. Last time I did it like this (on Ubuntu though):
# Download "for other platforms"
http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
# install packages to transform
sudo apt-get install debhelper sqldeveloper-package
sudo apt-get install tofrodos
# create links
sudo ln -s /usr/bin/fromdos /usr/bin/dos2unix
sudo ln -s /usr/bin/todos /usr/bin/unix2dos
# transform noarch package to deb package
# (-b workdir)
make-sqldeveloper-package -b /tmp/ORA sqldeveloper-3.0.04.34-no-jre.zip
# install deb package
sudo dpkg -i sqldeveloper_3.0.04.34+0.2.3-1_all.deb
# after installation maybe you'll have to set jdk path
touch ~/.sqldeveloper/jdk #i.e. /usr/lib/jvm/java-6-openjdk
Found it here: http://timony.com/mickzblog/2010/01/09/install-oracle-sql-developer-on-ubuntu-karmic/
Upvotes: 2
Reputation: 335
Okay, so from what I can understand so far, you have an SQL server (MySQL) installed already. If you have an Apache installation (web server) you should be able to have a web interface for this, which will make it much easier on your part.
Otherwise, if you do not have Apache, you can install it by using
apt-get install apache2
and then you'll need PHP
apt-get install php5 php-pear php5-mysql
You'll have to restart apache
service apache2 restart
or
/etc/init.d/apache2 restart
and then install phpmyadmin
apt-get install phpmyadmin
use su -
for superuser access.
and then (at least with my experience) you should be able to go to yoururl.com/phpmyadmin
and you should be able to login there.
I hope this helps.
Edit: For some reason Debian (at least his version) lacks sudo. I feel that phpmyadmin will be the easiest way to manage the database.
Upvotes: 1