What is the hardware requirement for alfresco on windows platform? - alfresco

I am planning to use alfresco. What is the hardware requirement for installing it? Do I need a windows server machine to run? Can I install it in a windows 7 machine?

Your hardware requirements highly depend on your requirements & expected usage (number of documents/transactions, concurrent users etc.)!
You can run Alfresco as in a simple Desktop OS (e.g. Win7). You should have at least 1GB RAM available for Alfresco (that means your machine should have min. 2GB).

To add onto what Alfrescian has posted, I also recommend you review the "Installation" Chapter in the Alfresco One documentation. There you should find information about environment and architecture validation which should provide you information on base hardware needs.
http://docs.alfresco.com/4.2/topic/com.alfresco.enterprise.doc/concepts/ch-install.html
If you plan to run Alfresco in a production environment, I highly recommend you go with Alfresco Enterprise. Deploying Alfresco Enterprise will further constrain what platforms you may use. You can find the support platforms information here: Alfresco Supported Platforms
The supported platforms documentation will give you an idea of what platforms you will need to be able to run deploy Alfresco.

Related

How is Kaa different from Kura?

I am a student who just started working on a research project, which is to compare Kaa with Eclipse Kura. I don't have any knowledge about IoT before working this project, so I got really lost and had no idea how to compare them. Hope someone can give me some advice. Thanks!
I cannot speak to the specifics of Kaa, so you would need to thoroughly review their documentation. From my understanding, Kaa is mainly focused on the Cloud side of the IoT stack. They provide SDKs for various languages that you need to compile and install on whatever device you intend to connect to the Cloud.
Eclipse Kura is a Java/OSGi framework that runs on an IoT gateway. The framework provides built in services for managing the gateway (networking, cloud connectivity, remote management, etc.) and abstracts away many of the complexities in writing applications for the gateway (GPIO, serial, BLE, etc.). Eclipse Kura doesn't provide a Cloud backend itself, but has built in support for connecting to open source platforms such as Eclipse Kapua and industrial backends such as Eurotech Everyware Cloud, Amazon AWS IoT, Microsoft Azure, etc. In theory you could install the Kaa Java SDK in Eclipse Kura and have Kura connect to Kaa, but I have never tried this.
I hope this helps,
--Dave

Making an installer for a web app with database and a windows service

I want to make an installer for a client which installs
a web app on IIS
a mssql db
a window service
I am totally naive to thinking of the solution for this automated deployment through an installer (msi or exe). The installer may hint the user for prerequisites for example MSSQL server and upgrading/installing IIS before the web app installation can proceed. Is it possible?
Yes, it is possible. You need to first select in an authoring tool for Windows Installer. Some examples are Windows Installer XML (WiX) and InstallShield (various editions from free to pricey). You'll have some kind of EXE bootstarpper/chainer where you can handle prerequisite installation such as windows features and database engines. Or you can choose to simply ship an MSI that detects and blocks if these are missing and put the effort on the user to manage their baseline environment. The actual MSI will then likely have features for web, service and sql. The web feature will install a bunch of files and configure the IIS meta. The windows service will install some files and create a windows service. The SQL feature will ask for connection string information, execute some sql scripts and possibly configure the web and service layers' connection strings.
Some of this can be deferred until after the installation and placed into a custom configuration utility to simplify the installer work.
There are various design decisions that can be made so it can't be answered in more detail in a simple question format.

How does running ASP.Net on Linux compare to the standard Microsoft-centric solution?

I know its possible to develop and host an ASP.Net site on Linux using Mono and Apache, but I'd like to know how well it works and if its worth the hassle? I prefer open source, but for this project I want the quickest, easiest, most reliable solution.
The site I'll be building will be a fairly basic ASP.Net site using MySQL.
I'd like to know if anyone else has experience using Mono in a situation like mine and how the project went. How did it compare to using a Microsoft-centric solution?
I know Mono is still somewhat incomplete, but I'm hoping I won't need the features it lacks.
This question may be a bit "polarizing". Most similar questions seem to have responses from people who are either very pro-Microsoft or pro-Linux. I'm hoping for some unbiased responses, preferably from people with experience using both.
I switched from MS-centric solutions about a year and a half ago and now I'm hosting all of my websites and web projects on Linux/Mono/Apache/MySQL based virtual servers (I was originally using nginx instead of apache, but mono-fastcgi-server was randomly causing thrashing, so I choose apache as a web server). I can summarize my (subjective) experience with this configuration into a few points:
It can take some time to get used to difference between Linux and MS based environments (if you never used Linux before), but I do not regret this decision. What helped me a lot was creating installation and configuration procedures for particular technologies (for example mono parallel environments, apache virtual hosts configurations, dealing with certain issues) which are mostly repeatable and can be automated.
You can still use Visual Studio to develop your applications and then deploy them on Linux machine. If you are using this approach it's a good habit to test your apps regularly on mono for possible incompatibilities.
I deploy web applications via FTP which is probably the easiest way of doing it (well maybe WinSCP is even easier, because you don't have to set up FTP server, but it depends on your preferences).
So far I have run into 2 cases with Mono/Apache where memory leak caused unavailability of the website. This was probably caused by Boehm garbage collector which I was using on old mono installation. I haven't had similar problems with a new sgen GC on recent versions of mono.
What I like the most on mono running on Linux environment compared to MS stuff is that you don't have to click around all the time when doing administrative tasks. Shell is for me unified administrative interface which can speed up things (if you have some practice).
Hosting ASP.NET on mono from my experience is quite easy and fast. i has been host multiple of my project using Mono ASP.NET MVC 1 / 2 using MySQL and PostgreSQL, serve by Apache mod_mono.
Compared with deployment on Windows Server. It quite narrow when using modern linux distribution which already provides all package to deploy mono ASP.NET. the only drawback is you have to make sure your Web Application portable enough in term of IO accessing and only very short learning curve and experience needed to debug and publish your project.
For Deploying our project in Linux. It easy using Version Control (VS) such as Mercurial or Git if u have fully control on the server. If U have more experience using continues integration is more better. I mainly using mercurial so step bellow is the step i usually do, but i think it almost similar for Git:
Install mercurial, and configure mod_wsgi, hgweb.wsgi and hgwerb.config
Init VS repo and publish at hgweb.config and configure hook to update and invoke xbuild to automatically build when u push it
publish the repo (web part) as mono application at mod_mono.conf
So u just need to code at visual studio, commit and push your changes using tortoiseHg without event login to server (set repo url, user and password at your repo hgrc)
Please note that although you can deploy ASP on Linux via things like Mono, if you use a Microsoft ide such as Visual studio, webmatrix, or Visual web developer your licence only allows you to deploy these on Microsoft servers!

started to learn EJB. What options do I have for an application server?

I have started learning EJB. I like to know which is best application server for beginner to learn EJB...
I would recommend an open source server as there are plenty good ones available. The open source servers often have greater community support which is helpful while learning.
Caucho Resin (also has a commercial extension)
Sun Glassfish
JBoss Application Server
I think JBoss Appliocation Server
I don't think that the particular app server matters too much, the basic criterion is that it should support JEE5 (EJB3 and JPA) rather than being limited to earlier versions of those specs.
There are free app servers such as WebSphere Community Edition(WCE) which is based in Apache Geronimo.
You will probably find it convenient to use a development tool such as Eclipse, check that whichever server you use is supported by some such tool. WCE has a suitable Eclipse plugin

Pocket PC emulator with network access without Virtual PC?

In developing software for the Pocket PC platform, I have been happily using the Pocket PC emulator that Microsoft provides with Visual Studio (and as a free download). It provides for much faster develop/deploy/test cycles. (Of course, I do still final testing on real hardware). I have also found that providing the emulator to other folks in the office (e.g. the documentation team) allows them to get accurate screen shots with little effort. So, I'm convinced this is a great tool for my situation.
Here's the concern:
In order to use the networking capabilities of the emulator, one must install Microsoft Virtual PC on the machine that will run the emulator. This seems like an awful heavyweight requirement for such a small tool. Has anyone found a simpler way to enable networking functionality on the Pocket PC emulator?
It's possible to extract the driver required for the Emulator from the Virtual PC 2007 setup file. For Windows 7 users that have Windows Virtual PC installed, this is actually the only known way to get the Emulator working in a network environment (since installing Virtual PC 2007 is not an option once Windows Virtual PC has been installed).
Here's the blog post explaining the procedure. In a nutshell, you extract the VMNetSrv driver from the Virtual PC 2007 SP1 setup file and then manually install this driver on the network adapter you use for Internet connectivity:
BrianPeek.com: Windows Virtual PC and the Microsoft Device Emulator
Simple answer is no, but...
Have you considered using Microsoft's free remote display control from power toys and running your app across ActiveSync. This means that you are using the actual hardware, network comms and all, but with screen, keyboard and mouse reflected to the screen. I find it works a treat.
We went event a step further. We create a solution for building against compact framework and one solution for building against the win32 .net framework. As all code is just C#, there shouldn't be any problems compiling and running the application as Win32 application on the PC.
There is another great benefit - it's much faster to compile for Win32 than for WinCE.
Hope this helps...

Resources