Sponsored Content
Full Discussion: The web server questions
Operating Systems Linux Red Hat The web server questions Post 302987212 by rbatte1 on Wednesday 7th of December 2016 05:37:57 AM
Old 12-07-2016
It depends what you want to achieve. There is the LAMP style of server (Linux, Apache, MySQL, PHP/Perl) that performs a specific role with direct database access (sort of) through the web-server or you may prefer to go for the 3-tier model. One server with the web-server/application, one with the database and one with 'the middle tier', typically a message queuing service, (e.g. IBMs MQ, Oracle's AQ) and worker processes to move messages and trigger processing according to the messages passed.

The latter works best where there are multiple databases to be queried, typically after company merger where a single front-end is required. it takes more to set up but is more flexible afterwards.


What is you eventual goal?



Robin
 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Dynamic web pages for Unix Web Server

Hi, my company is considering a new development of our web site, which used to run on Apachi over Solaris. The company who is going to do this for us knows only about developing it in ASP. I guess this means we'll have to have another ISS server on NT for these dynamic pages :( What are... (5 Replies)
Discussion started by: me2unix
5 Replies

2. UNIX for Dummies Questions & Answers

Web browser and web server for Unix

Hi there all I am looking for both a web browser as well as a web server (Ie. Netscape Fasttrack) that will run on HPUX 10. If you know where I can get these free via FTP, please contact me as soon as possible!! Thanks, Mark (1 Reply)
Discussion started by: mleathers
1 Replies

3. UNIX for Dummies Questions & Answers

Web Server - uploading Frontpage web - will there be problems??

hiya All, New to this Web site stuff. Will be installing Fedora's latest O/S (including Apache) - onto a spare PC Then... Gulp... setting up a Web server. Designing a Web site using WINDOWS FRONT PAGE 2002: * Simply easiest/quickiest way to knock up a basic site. * There won't be... (6 Replies)
Discussion started by: marty 600
6 Replies

4. HP-UX

Questions Regarding Upgrading To New Version Of Apache Web Server

In September 2010, HP released the following bulletin: Subject: End of Support Life for “Apache version 2.0 along with WSS version 2.x” on 11iv2 and 11iv3. Reference: http://www.hp.com/softwarereleases/releases-media2​/notices/082010Apache.pdf I have some questions about this... (4 Replies)
Discussion started by: Rob Sandifer
4 Replies
MojoMojo::Installation(3pm)				User Contributed Perl Documentation			       MojoMojo::Installation(3pm)

NAME
MojoMojo::Installation - Installation instructions for MojoMojo INSTALLING MOJOMOJO
Step 0 Install MojoMojo's prerequisites. See <http://mojomojo.org/documentation/installation>. Step 1 - install Install MojoMojo either using the cpan shell like this: cpan MojoMojo or by downloading the tarball from <http://search.cpan.org/dist/MojoMojo> and running perl Makefile.PL on it manually. If you do this, run make installdeps to get all the required modules installed. Step 2 - configure "mojomojo.conf" is the main configuration file and is in Config::General format. First make sure your config file has a valid DSN for your database (You can use SQLite, MySQL or PostgreSQL - SQLite by default). The setting you change is in the "connect_info" hash in the "Model::DBIC" block. For instance, for MySQL: dsn dbi:mysql:database=mojomojo;host=localhost user db_user password db_password or for SQLite: dsn dbi:SQLite:__HOME__/db/sqlite/mojomojo.db user db_user passwrd db_password or for PostgreSQL: dsn dbi:Pg:dbname=mojomojo;host=localhost;port=5432 user db_user password db_password For MySQL and PostgreSQL you want to create the database first (SQLite does this automatically) create database mojomojo; Once the DSN is setup, we "deploy" the schema and some initial data to the mojomojo database by running the following script: ./script/mojomojo_spawn_db.pl This script has sane defaults for a test install, but you can override these. Run it with --help to see usage information. Step 3 - launch MojoMojo is a Catalyst application and works with Catalyst's built-in web server, or with an external one. Using the Catalyst built-in server Catalyst includes a test server which can be started using: ./script/mojomojo_server.pl -p 3000 where 3000 is the port number and the default if no port is specified. Note that if you install it through the cpan shell, mojomojo_server will be found in your bin directory. Using an external web server MojoMojo has been tested with Apache, lighttpd and nginx. If you need to make a choice, nginx and lighttpd are much lighter in terms of resource consumption, and faster at serving static files, while Apache is more popular and powerful. Comparison information can be found at WikiVs: o <http://www.wikivs.com/wiki/Apache_vs_nginx> o <http://www.wikivs.com/wiki/Lighttpd_vs_nginx> o <http://www.wikivs.com/wiki/Apache_vs_Lighttpd> See <http://mojomojo.org/documentation/deployment> for how to setup MojoMojo with various web servers. Set up Apache using either mod_perl or FastCGI. See http://search.cpan.org/dist/Catalyst/lib/Catalyst/Manual/Cookbook.pod#Using_FastCGI for further information on FastCGI, or you can look at Catalyst::Engine::Apache for info on setting up Catalyst apps in Apache. If your server is connected to a http proxy you may need to add the following line to the main config block: using_frontend_proxy 1 Step 4 - login Login to your MojoMojo and change the admin password. The default login/pass is "admin"/"admin". For troubleshooting, see <http://mojomojo.org/troubleshooting>. Step 5 - create pages Create a new page. Decide what URL you would like for the page then browse to that URL. You will then be asked to add content. For example, if you want to create a page about food, go to /food. perl v5.14.2 2010-05-11 MojoMojo::Installation(3pm)
All times are GMT -4. The time now is 05:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy