Full Apache config migration [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I searched alot and didn't find an applicable answer.
I have a working LAMP setup on Ubuntu machine and I have to migrate to a new server in a different country.
The old server is 11.10, the new server is 12.04LTS.
My problem is that I simply can not remember the steps I followed when I configured the current server which is not the basic LAMP install.
It is Apache with FastCGI, SuEXEC, a GD library, worker MPM and all sitting on top of a mhddfs system. There are also other configs I've changed and I can not recall what they are.
Because of the complexity of the setup, my attempts to migrate to the new server fail. I get permissions errors, cgi problems etc.
Therefore my question is :
Is there a sane way to simply tar a full backup of the current web server installation, including MySQL, Php amd the apache server with all configs, and then move it to the new machine?
I shall be forever thankful on any advise. So far non of thise I found here gave me an answer.
Thanks!

Related

Convert CentOS to Ubuntu? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Hi everyone.
I recently purchased a VPS with CentOS 5.3!
However, I want it to run on Ubuntu. How do I convert the system to Ubuntu?
I guess the best you can do is to ask system administrators of the company you purchased your VPS from. They may do it manually and backup data on your VPS you may want to save.
This option also might be accessible on the control panel of you VPS provider.
Reinstalling OS by hand on your VPS may result in a lot of headache and I wouldn't recommend it.
Just install Ubuntu; it doesn't matter what's already installed.
If you have any data on the machine that you care about, back it up first.

Linux Ubuntu Desktop vs Server [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want to host a Webserver on my PC mainly to run Wordpress on it. But I am going to use VMWare Workstation for running it along with Windows.
Now, what I'd like to know, do I need Ubuntu Server to host the site or can I use Ubuntu Desktop for the Job?. Note that the server is not for high traffic, is mainly for testing by myself and maybe a few other people...
Thank you
Ubuntu Desktop can handle the job just fine, you'll just have to install a web server, an SQL server, etc., via aptitude. The main difference between Desktop and Server is that Server comes without GUI and other 'features' -- thus if you want to run a more lightweight instance, Server might be favorable.
They are slightly different, but one can be converted to another without reinstall.
Server comes with some packages like apache preinstalled, but no GUI.
Desktop comes with GUI and office-related packages like LibreOffice preinstalled.
Server has server kernel which is in package linux-image-server, and desktop has desktop kernel linux-image-generic.
You can convert for example desktop into server by executing
sudo apt-get install linux-image-server
and then you need to tweak grub.cfg such that new kernel is booted by default.
Biggest difference for server kernel is that it gives less priority to interactive tasks and more to serving background server tasks.

I am looking for an application to host web services on FreeBSD [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
My boss has asked me to look into applications to host web services on our FreeBSD machine. Previously I have only used visual studios to do web services so I am wondering what is the best applications on there to host them on in a unix environment?
Thanks for the help!
EDIT: Just to be clear, I am talking about something like this: http://axis.apache.org/axis2/java/core/ I am just not familiar with what is the most popular/most stable ect. on the unix side of things.
It depends on the application you want to host.
There are several ways to solve your task:
Use normal web-server (e.g. Apache, Nginx and so on)
Use specialized software with innate web-server capabilities (e.g. Twisted, Node.JS and so on).
You need to be more concrete to get concreter answer :)

What is the use of running JBoss as a Windows Service? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is there any advantage in running JBoss as a windows service rather than running from run.bat? I'm running JBoss 4.0.3.
I'm not very familiar with windows so if someone can explain what the use of a Windows Service is or what the Linux equivalent is it will be very helpful.
The major difference is when JBoss is started. Using run.bat implies that someone has to log on to launch it, which is not ideal for 24x7 server software. As a Windows Service, JBoss would start automatically as the PC boots, without the need for anyone to log in (or any other human intervention).
Find out more about the benefits (and peculiarities) of Windows Services in the Windows Services FAQ.
The main benefit from my view, is that jboss will start automatically when the os boots. Otherwise you must log in, at least, and even though it could start as a login start event.

Installing Git on a Linux VM (RHEL) [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
We need to set up a Git server in our team.
I have decided to first go with a VM, and expand in the future if needed.
I've gathered Linux would be the easiest setup.
Problem is, i have very limited experience with Linux, some questions that i'm trying to answer are:
What is the actual procedure for installing the Git package? is it a simple matter of RPM installation ?
Following the installation, i'd need to map the Git repo to some net share. how is this done? i believe that i need to configure xinetd.d, looking for exact steps.
How is authentication is set up for various users to access this machine?
Which version of Linux makes any difference? we have the RHEL 5 64 bit here.
Anything else i'm currently missing?
Haven't used RHEL 5 but yes, any modern distro should have git available in a package. I'm guessing that "yum install git" would do it.
Depends on the type of net share. Google it.
See http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way
Shouldn't.

Resources