Simo,
My previous email was meant to be in a very jovial and joking fashion. The
references to "voodoo magic" and "forced" were specifically meant this way.
I find using humor relieves the stress caused by the difficulties I am
having with the "Linux learning curve" or should I say "S" turns. If your
desire is to have all correspondence remain solely on the Debian users list,
this is fine. I will just refrain from injecting my "humor of frustration"
Thanks,


Cary Pembleton

-----Original Message-----
From: Simo Kauppi [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 13, 2006 1:41 AM
To: debian-user@lists.debian.org
Subject: Re: Apache 2 Debian 3.1 ManhatVC

On Sat, Aug 12, 2006 at 02:20:11PM -0400, Cary Pembleton wrote:
> Simo my friend,
> It seems there is no other Linux Disto. this computer will allow me to 
> install. Hmm, what voodoo magic did you perform to make this happen I 
> wonder? I swear it's true! I have tried, Fedora 5 and Slackware 10.1, 
> it would not install either one. So, I guess I am "forced" or have 
> been coerced to sticking with Debian. Since this is the the case and I 
> am going to be plagued with apache 2 as well, I think it is time I 
> found the ultimate Debian Bible for the complete Debian Dumbass, or 
> How to get Apache 2 to work Asshole. Hmm, yes both sound like they 
> would be first rate number 1 sellers list titles. Do you have any 
> recommendations? Perhaps you have or should written one? I would buy 
> it in a second. Anyway I am presently reinstalling Debian. I then plan to
update the kernel to 2.6. This may help matters some.
> Then I will try once again to follow your excellent directions. I am 
> only going to use one domain on this box. It will be 
> franklin.pctechhelp.net, which is actually a sub domain under my root 
> of pctechhelp.net. Yes I have set up a new primary domain in Microsoft 
> DNS on the Windows 2000 server ns.pctechhelp.net for 
> franklin.pctechhelp.net with appropriate entries for Name Servers, 
> WWW, Mail and Host. So all should be well for DNS. I will eventually 
> use franklin.pctechhelp.net for tertiary DNS services, because I think
Bind is better.
> Thanks.
>  
> Cary Pembleton
> 
Hi,

First of all sorry about my inaccurate expression. What I meant by "no cc
necessary" is "let's keep the discussion in the list", so other people can
give their input as well and no need to cc me.

Secondly, make sure that you can access the MVC locally (from the same host
where you install it). After that you can start working on getting it
visible to the LAN and internet.

Thirdly, If your email client is in some kind HTML-mode, it might "eat"
some necessary directives from this posting, because they look like
HTML-tags! If you don't see anything between these quotes " <Directory> ",
try to adjust your email client settings.

Fourthly, no magic was used in my case. I have a Debian etch (sarge should
work the same way), and these are the steps I took to get MVC up and
running:

Install the tools
sudo apt-get install make gcc

Install Apache 2 server
sudo apt-get install apache2-mpm-worker

The following are the steps 1-11 at
http://manhattan.sourceforge.net/?Documentation:README_Files:INSTALL

Add the user manhat to the system
sudo adduser manhat

Add the user manhat to the group www-data sudo adduser manhat www-data

Login as user manhat

Change the permissions of the home directory of the user manhat chmod 711 .

Copy the file manhat-3.1.0.tar.gz into manhat's home directory and untar it
tar xzf manhat-3.1.0.tar.gz

Change to the src-directory
cd manhat-3.1.0/src

Copy the custom header file
cp default_custom.h costom.h

Edit the file custom.h
Change the #define EXIT_URL "http://manhattan.sf.net"; to #define EXIT_URL
"http://www.mydomain.com/";
Change the #define HTTPD_GROUP "www" to #define HTTPD_GROUP "www-data"

Edit the Makefile
Change the HTTPD_GROUP = "www" to HTTPD_GROUP = "www-data"

Compile and install
make clean
make install

logout user manhat

Copy the file libneo.so from /home/manhat/manhat-3.1.0/lib to /usr/local/lib
sudo cp /home/manhat/manhat-3.1.0/lib/libneo.so /usr/local/lib/

Edit the file /etc/ld.so.conf and add /usr/local/lib into it.
sudo vim /etc/ld.so.conf

Run ldconfig
sudo ldconfig -v

Insert manhattan.mydomain.com into the file /etc/hosts

Change the Listen directive in the file /etc/apache2/ports.conf to Listen
xx.yy.zz.ww:80

Create a file /etc/apache2/sites-available/manhat
NOTE! Make sure that the ServerName directive matches the name in the file
/etc/hosts.

Remove the default link from the /etc/apache2/sites-enabled sudo rm
/etc/apache2/sites-enabled/000-default

Copy /etc/apache2/sites-available/default to
/etc/apache2/sites-available/mydefault
sudo cp /etc/apache2/sites-available/default
/etc/apache2/sites-available/mydefault

Edit the file /etc/apache2/sites-available/mydefault and change the first
two lines to NameVirtualHost xx.yy.zz.ww:80 <VirtualHost xx.yy.zz.ww:80>

Link the files to the /etc/apache2/sites-enabled/ sudo ln -s
/etc/apache2/sites-available/mydefault
/etc/apache2/sites-enabled/000_mydefault
sudo ln -s /etc/apache2/sites-available/manhat
/etc/apache2/sites-enabled/010_manhat

Restart the www-server
sudo /etc/init.d/apache2 reload

Point the browser to http://manhattan.mydomain.com/manhat-bin/doorstep

Further reading:
Apache has very good documentation at http://httpd.apache.org/docs/2.0/
Manhattan Virtual Classroom has its documentation at
http://manhattan.sourceforge.net/?Documentation
Notice especially the security issues at
http://manhattan.sourceforge.net/static_content/manhat_docs/admin_manuals/ad
min_manual3.0/x415.html

Simo
--
:r ~/.signature


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to