Step by step how to install and configure Alfresco 5 from source code to be up and running on Tomcat - alfresco

I have already downloaded Alfresco 5 source code into eclipse. Is there any guide illustrates how to install and configure it to be up and running on Tomcat web server?

Many peoples are making mistakes like this.So for people like that.Please keep in mind that
Most of the CMS are extendable without editing source code.

Related

How to deploy symfony rest api project in hosting without third-party applications?

I am trying to deploy symphony api project in hosting.
Until now, all the projects I have done have been pure php, uploading to hosting is simple and everything always works perfectly.
The situation with symfony is tragic and impossible for me, uploading the code just does not work.
I'm really very disappointed with the framework... deploying react, angular is so easy and here it's just ridiculously impossibly hard...
My question is not specific but I'm sure if there is a good answer it will be useful for thousands like me!
Can someone help me with this please? Any tutorial, video etc.
For 3 days I have been searching for information on Google and YouTube from morning to night all day like crazy.
I would appreciate it if someone could just send me a link to a blog tutorial or a video that works without third party applications. I am really tired...
Symfony is alive and well, just had a major developer conference in Paris days ago. Symfony has a new minor release every 6 months, a new version 6.2 will be released in the coming days.
Just make sure to follow the information for deployment linked above as well as the setup requirements: https://symfony.com/doc/current/setup.html#symfony-tech-requirements. Perhaps you are trying to run Symfony 6.1 with PHP lower than 8.1?
As to other backend frameworks like Laravel (which is based in part on Symfony): Almost everything in PHP land nowadays is using Composer for easy installation. Any hosting environment that provides SSH access should allow you to setup/use Composer.
A common pipeline to roll out projects can be IDE > GitHub > server. You can however use SFTP as well, just make sure that the program you are using follows the .gitignore file and doesn't try to upload everything. Afterwards run Composer and Yarn/NPM to install everything that your project needs.
the whole problem was in the version of composer, which is 1.0.0 in the hosting, which creates hundreds of errors and it is simply impossible to install the project written on the latest version.
All I had to do was manually install the latest version of composer on the hosting.
Then I install the project using the composer phar file
php ~/composer.phar install
instead of the default one which from the hosting is the oldest version 1.0.0 and bring impossible to fix problems.
If anyone has a similar problem just check the composer version in the hosting.

How to create an installer with self updates on windows server for an dotnet core console/service application

I have an application, an aspnet core website 3.0 that is currently running in a console application.
A client is interested in installing it on their internal network.
I am thinking that its best to convert it to a background service and windows can ensure that its running. Following: https://dotnetcoretutorials.com/2019/12/07/creating-windows-services-in-net-core-part-3-the-net-core-worker-way/
What are my options to create an installer for this? Is there anything new out of the box with dotnet core that makes this easy, or should I just go with older "best practice" aka google it to create an installer? Or is it best to just use that sc create TestService BinPath=C:\full\path\to\publish\dir\WindowsServiceExample.exe command to install it.
Author of the blog post here. It really depends on who the target audience is. If it's someone trying to deploy it on an internal network, IMO the SC commands are fine because either
A. It's an IT person installing it anyway so they won't have fear of double clicking a .bat file.
B. The IT team uses some sort of GPO/scripting to keep all machines in line in which case they can surely run a one line command to install it anyway.
An installer is only useful if the end user is non-IT, a customer etc.

How do I install pglogical extension on Windows machine?

I need to migrate an enterprise production database from a Windows source machine running Postgres 9.5 to an Ubuntu destination machine running Postgres 11.6 with < 15 mins downtime. I plan to do this with pglogical, which requires the extension being loaded on both source and destination. I am having trouble with the source side because it is Windows.
I have very little Postgres-Windows experience and can neither find any helpful literature on the specific situation nor can I figure out for myself how to presumably install from source.
I've dug and dug and so far the only answer I've been able to find is "ugh... Windows". It seems like the only way to build from source is using Visual Studio, which I don't have or know how to use.
Sources:
https://www.2ndquadrant.com/en/blog/compiling-postgresql-extensions-visual-studio-windows/
https://postgrespro.ru/list/thread-id/1835275
Alex, the 2ndQuadrant article you link to in your own comment solves this. A few of the project or build options noted there have moved a little bit in the newer VisualStudio Community editions, so I can see where you got hung-up.
Just for kicks I compiled 32-bit DLL on my oldest Windows instance. I included the /Release path so you can grab my DLL & see if it works for you. It's (a) 32-bit because I'm assuming worst-case for an old v9.5 install, and (b) targets Postgres 9.6 because that's what I had installed. Unless there were major API changes though, it should connect to v9.5 without any issues:
https://github.com/mbijon/winpglogical/tree/master
If you find you need a version that entirely matches Postgres 9.5, grab my solution files & VS Community 20xx. Load the project & update the Additional Include Directories in Project Config to target your v9.5 paths. That should be all that's needed to link v9.5 Postgres libs.

can we containerize the asp.net website?But there is no option in vs 2017 for that

Customer wants to containerize the website.But I didnot find any options available to add docker support over there in vs2017.Is there any way available?
I recommend going through the very brief and thorough Getting Started tutorial for Docker: it has you build a website from scratch and shouldn't take you longer than two hours from start to finish. By going through this tutorial, I think you will find many of your and your client's (and other's) concerns addressed.
In summary, you will:
Add a Dockerfile to the top level of your project directory
Define the image with all of it's dependencies
Build the image using your source files and produce a container
Iterate over steps 2 and 3 (here) until you have a correctly build the image
Run the container and check out your website running on your localhost
Done!
Be sure to follow Docker's best practices.
There is already an official .Net image, use it (not some uncertified image)!

How to install sts in correct way

Can someone explain me how should I install sts like some years back when I run some bash script and sts was installed ? With this new era when I just download sts and extract it to directory and run it I have a lot of problem. For example sometimes I can not open wsdl or xsd file in default editor and I need to use just text editor and so on. Here are error log of my sts:
http://pastebin.com/ePk7LnL2
I am using sts 3.6.3 download from this source: sts3.6.3
It looks like you installed additional plugins and it this looks like this caused a dependency issue between installed bundles. This disables certain bundles under the hood and that might cause the issues you describe.
I would recommend to download the latest STS 3.6.4 version and start with a test installation from scratch. Use that vanilla STS install to see what is working out-of-the-box and what not. If there is something not working, please file a bug at https://issuetracker.springsource.com/browse/STS. If everything works as expected, install add-ons step-by-step to figure out which install breaks something else.
That way we can find out what is going wrong and how to fix that specific problem then.
Hope this helps!

Resources