I want to try Unix for developing J2EE application. I use the IBM software.
WASCE as application server
DB2 Express-C as database.
Eclipse
Which Unix flavour will be most suitable for me?
According to ibm.com: WebSphere Application Server Community Edition runs on AIX, Linux, Solaris, "UNIX" (!!!), and Windows.
According to ibm.com: DB2 Express C runs on Windows, Linux, Solaris, and Mac OS X (in beta).
According to eclipse.org: Eclipse runs on Windows, Mac, and Linux.
The only Unix flavor in common to all of those is Linux. (If you move beyond Unix, Windows also works.)
Java is platform-independent. It doesn't really matter on which platform you develop - you can run your application on any other Java-supporting platform. Hence, you can develop on Windows and deploy on AIX, or develop on Linux and deploy on MacOS, or ...
The Java VM abstracts access to operating system services and resources, as does JDBC abstract the access to the database layer.
If you really mean "UNIX" and not "Linux", I would recommend Solaris (Eclipse does run on Solaris, and it's much easier to understand than AIX).
If you mean Linux too, I would recommend a distro designed for servers, like RHEL/Centos, rather than Ubuntu or Fedora. They are more likely to be stable and scalable.
I have a production environment on Centos with DB2 and Apache Geronimo (open source version of WASCE). Works like a charm. The development environment is Eclipse and Apache Geronimo on Windows and the DB2 on Centos.
Related
I am trying to find the best way of managing dependencies which are not available for all OS platforms. Our cookbook is cross-platform, it is aimed at both Linux and Windows systems. One of our recent requirements however, is to add in features that are only needed on Linux.
To do that normally, I would use a 'depends' line in the metadata.rb to specify a separate cookbook as being needed. For example:
depends 'hostfile_edit', '=0.1.2'
Our Chef system is split into two distinct orgs for security reasons - Windows and Linux. However, in this case the "hostfile_edit" cookbook is only available on the Linux org. Hence, when we run rake unit on Windows we get a failure as Chef is unable to reference this other cookbook. The rake unit runs perfectly when run on a Linux system. Similarly, when using the cookbook in a deployment there are failures on Windows, but not on Linux.
The answer lies in metadata.rb file, you can add like this
%w( aix amazon centos fedora freebsd debian oracle mac_os_x redhat suse opensuseleap ubuntu windows zlinux ).each do |os|
supports os
end
You can read more about this are https://docs.chef.io/config_rb_metadata/
I am looking at options on how to make a multi-platform Java application run on system startup. There are obviously ways to do it manually for any application (e.g., "How to Make a Program Run at Startup on Any Computer"). Unfortunately, they are all different and depend on the operating system version and Linux distribution. I need to support at least:
Windows >= 7
macOS >= 10.12
Ubuntu >= 16.04
Raspbian >= 8
It would be awesome if Install4j already has a way to achieve this.
There is a "Add a startup executable on Windows and macOS" action in install4j.
On Linux/Unix there is no general solution for this problem, so you have to do it yourself for the particular environments that you want to support.
Is it possible to create the SF using java on a windows environment? What happens with the cluster provisioned on Azure? Does it contain the JVM? I've been trying to create a SF using eclipse in my windows environment where I also have VS 2015 and both SF SDKs but it does work.
Any suggestion?
Thanks
SF Windows environment doesnt support Java based Sateless/Stateful , Reliable Actor services. It is supported only in Linux (ubuntu 16.0 LTS)
But you could run it as Guest executable on Windows.
Would AIX 7 support Capistrano v3.4.0 (or above) and its dependent scripting tools such as Gem, Ruby, Rake, etc...? and if it does, where could one find a list of supported versions for the dependent scripting tools?
As stated in the Capistrano README, you need Ruby 2.0 or higher. All of Capistrano's gem dependencies are automatically installed when you run gem install capistrano, assuming that your Ruby 2.0 environment is working.
That said, installing Ruby on AIX seems challenging. You may have to compile it from source: Installing Ruby on AIX .
This assumes of course that you want to deploy from AIX (i.e. run the cap command on an AIX machine) as opposed to deploying to AIX (using a Mac, PC, or Linux machine to deploy to an AIX server). If you want to do the latter, you should be fine: Capistrano has no requirements for the server other than sshd.
I'm planning to build Linux web development server in virtual machine environment on Windows Virtual PC. As I don't have much experience with installing and configuring Linux web servers, I wanted to ask for some advice:
What Linux distribution do you recommend for such server? I want the virtual server to look like real hosting environment.
Do any pre-configured virtual machines for web development exist out there?
Maybe some instruction and tips on configuring?
My requirements for the server are quite standard: latest versions of Apache, MySQL, PHP, probably Python and Postgre.
Thank you.
UPDATE: OK I think I'll go with Ubuntu Server for this.
You can probably go with Ubuntu. It is easy for a beginner and there is plently of documentation on how to install a LAMP stack and later you can move on to other distros.
If you are looking for pre-configured machines, then you can have a look at VMWare Appliances
For the distribution I would recommend Ubuntu - you can add all the server software you want from their repositories.
For a virtual machine I'd recommend Ubuntu Server Edition JeOS, as that won't have any un-needed software on it.
Debian Lenny - rock solid stability & the most package support
I'm sure you can find some
Use prefork-worker apache, MySQL 5/PHP 5, Postgres 8.4.
There are lots of prebuilt vmware images that you can use. You might also consider looking at something like Amazon EC2 for which there are lots of off the shelf images.
I would also suggest Ubuntu server as a base OS.
Incidentally there are other virtualisation options in case Virtual PC doesn't recognise those prebuilt image formats (I think those formats are more standardised and interoperable these days, but not sure)...e.g. there is vmware, and there is virtualbox.org
Does it need to be in Linux straight away? You can run (Apache et al) XAMPP locally and get it up and running in 5 minutes.