how to restart a subsystem in alfresco 4 community? - authentication

i'm working in installing and configuring Alfresco community edition 4 (alfresco-community-4.0.d-installer-linux-x64.bin) on a 64bit ubuntu server (10.04.4 LTS). I'm trying to authenticate and syncronize users and group with out OpenLDAP server but as long as we make changes to
$TOMCAT_HOME/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/ldap-authentication.properties
i have to restart tomcat or the whole server.
Is there a way to restart only a single subsytem in alfresco community edition?
Thanks

Unfortunately, not. The reason is that JMX, which allows you to restart subsystems without a restart, is only available in Enterprise Edition.

Related

WHM/CPanel update on a Linux, Apache server

I currently have a dedicated server running the following:
Apache/2.2.32
WHM/CPanel 11.44.3 (build 5)
MySQL Server version: 5.5.40-cll
Because of a security with the version of Cpanel I am told by my hosting company that Cpanel requires an update. The issue they have is because the current Cpanel is version 11.44.3 they can not update to the latest version.
Question, has anyone else had this issue and if so what was if any the resolution.
Many thanks in advance for your time
The hosting company are telling me that the only way around this issue is to have a completely new server configured with all the latest Apache, WHM/CPanel.
This of course would require all the scripts for our web site been transferred to the new server.
You have too old version and to avoid possible issues and downtime, it is recommended to setup and new server with CentOS 7 and latest cPanel and then migrate account one by one. This will allow you to check your websites one by one as you migrate. You should be able to generate full account backup and then you can restore it on a new server.
There is possibility to upgrade the version on your existing server but it is possible that it may cause other issues and you may face lots of issues and downtime.

Hyper-V Server Core Guest OS Install

I am new to Hyper-V and Server Core but I am stumped as to how to install a guest OS from an ISO using only PowerShell.
I have downloaded the Hyper-V Server ISO and installed it on my server. It only installs Server Core and does not give me the option for a full GUI option. I configured its network settings, etc and all looks ok. So Server Core installed properly and Hyper-V feature is enabled. I can use PowerShell to create a VM with VHDX and link my Guest OS ISO to it. When I start the VM there is no console UI to install the OS.
How are you supposed to install a guest OS with no console interface to setup the OS?
Note, there is no option under this configuration to enable the OS GUI as some posts have suggested.
First, please don't confuse "Server Core" with "Hyper-V Server". "Server Core" is an installation mode of Windows. Among other things, it can be converted to GUI mode, which is why people keep telling you to just turn the GUI on. Hyper-V Server looks like Server Core but it is not Server Core.
For your actual problem, you're not going to find a simple out-of-the-box solution. You could work up a complete unattended installation process. You could set up a Windows Deployment Services server and have it install via PXE boot. I think some of the third-party Hyper-V management solutions allow you to connect to the console of a VM from within the local Hyper-V Server.
Hyper-V Server was designed with headless operation in mind. It was expected that you would use it to configure and perform maintenance on the management operating system and, if desired, the virtual machines as containers. The guest operating systems themselves were not really meant to be managed from within Hyper-V Server. What it's expected that you'll do is use a full GUI, whether another copy of Windows Server or a Windows desktop operating system running Remote Server Administration Tools to remotely connect to Hyper-V Server and manage its VMs.

How to Enable HTTP Protocol for TortoiseSVN repositories in LAN, OS : Windows Server 2008

I have installed WAMP and TortoiseSVN successfully in Windows Server 2008. We have LAN enabled for multiple Developers, I am trying to enable the HTTP protocol to access the Repositories so that the multiple developers can commit from their computers. Please help me in fixing this. Thanks in Advance.
TortoiseSVN is just a Subversion client,
Installing WAMP package and putting your repos in it's directory is not enough. You must configure HTTPD with mod_dav_svn module properly.
If you don't want to deal with manual Subversion+HTTPD server configuration (not an easy task, in fact), then you can install a Subversion+HTTPD server package (e.g. VisualSVN Server or Subversion Edge).

Installing Trac as a Windows Service on Windows Server 2008

As the title suggests, I'm trying to install Trac as a Windows Service on Windows Server 2008. I've looked into the instructions at Installing Trac as a Windows Service. Out of the different options given there, I would prefer an Option 1 like approach which uses some Windows utilities instead of installing additional software but the instructions seem a bit outdated for Windows Server 2008 as instsrv.exe and srvany.exe are not available for Server 2008. There is a suggestion to use winserv.exe but I can't find it anywhere and the suggested Google search does not provide any credible results.
Is there a way to use the sc Windows utility to install Trac as a service? Has anyone tried this?
Update: I tried using sc but that does not work. sc only interacts with programs developed as Windows Service Applications so they have hooks to interact with sc.
I could solve this problem using winserv.exe, that can be downloaded from this tutorial page: http://wiki.go-redrock.com/wiki/TechAsService
Once you get the binary file run:
"C:\path\to\winserv.exe" install tracd -displayname "tracd" -start auto "C:\path\to\python.exe" c:\path\to\python\scripts\tracd-script.py <your tracd parameters>
net start tracd
Hope you can solve your problem like I did!
If you just want to easily install Trac on a Windows server, I can recommend Bitnami Trac Stack to you. It comes as 2 services, one for Apache web server running Trac as python module and one for SVN.
Are you restricted to using tracd to host your Trac installation? If you use a real web server, this is typically a bit easier. Web servers like IIS and Apache typically install themselves as a service. If you set up something other than tracd to serve up your Trac site, it will most likely run as a service by default. In general, you'll have a better experience using a full-featured web server like Apache instead of the minimalistic tracd.

How to single sign on for Linux RedHat server from windows desktop

We are hosting our portal pages on a linux box. I am supposed to implement a single sign on where the user logs into his/her windows xp desktop and that login is consumed by the portal and used to set the user role appropriately. I really would like some answers on how this can work best.
Environment:
Jboss 4.2.2GA
Jboss portal 2.6.5
Redhat Enterprise Linux 5
There is absolutely no way of doing this right.