10-09-2009
Setting up Development and Live web site environment
Hi,
I am fairly new to unix so please go easy on me.. I have a VPS on which I would like to setup a development and live web site environment and can't seem to work out what is the best technique for doing so.
I would like to be able to mirror the live site and have a "check out" and subsequent promotion techniques to copy only the "checked out" files. Is this an achivable goal, and if so I would be gratefull for some suggestions on reading materials that would help me achive the goal.
Thanks, Jon.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have a m/c loaded with redhat linux, static IP address and this m/c intern connected to the internet thro leaseline. Now i need to setup a company website has www.abc.xyz.com. What necessary configuration i need to do so that others can view our website.
Thanks
Bache Gowda (5 Replies)
Discussion started by: bache_gowda
5 Replies
2. UNIX for Dummies Questions & Answers
I have a unix server running RedHat Linux 9.0. I want to mirror my site on a different server with the same configuration so if the main server goes down, the other server will take over. How is this best accomplished? (1 Reply)
Discussion started by: wvmlt
1 Replies
3. UNIX for Dummies Questions & Answers
Hiya All,
How can I test my PERL Scripts whilst making my web site?
I'm hoping there is some software out there that emulates a Web Server - without all the hassle of my building/setting up a Web Server from Stratch (Never done anything like that before - my next big project! 8) )
... (7 Replies)
Discussion started by: marty 600
7 Replies
4. AIX
hello
I would like to create an internal web site, but how do i make it with Aix ?
I must to install apache and send my http pages in the declared repertory ?
There are some configuration files to modify ??
thank you (2 Replies)
Discussion started by: pascalbout
2 Replies
5. Shell Programming and Scripting
I have always wanted to create my own site, I've only had one class about the basics in creating web pages but know i would like to get into more and more detailed info about doing so anyone with alot of experience please help me out.:b: (0 Replies)
Discussion started by: kprescod4158
0 Replies
6. Linux
I have a cron job scheduled to run every 5 mins, and run a php script.
Something was not right about the script and when I checked the server had very little spare memory.
Looked in running processes and I could see that many instances of the script were still running.
I am new to this whole... (1 Reply)
Discussion started by: edzillion
1 Replies
7. Web Development
Hello All,
I am relatively new to using Apache, I have recently set it up on Ubuntu. What I'm trying to do is make "/home/yves/MyFirstPHP/MyFirstPHP/HelloWorld.php" accessible through my browser using the URL: The UNIX and Linux Forums - Learn UNIX and Linux from Experts. The tutorials I have... (1 Reply)
Discussion started by: DarkMatter2009
1 Replies
8. UNIX for Dummies Questions & Answers
Hi
I am new to Solaris and was just given my id and need to setup my environment, what do i need to do to run certain commands without putting in the complete path.
How do I create my .profile, I do not see under my login?
Any help would be greatly appreciated. (5 Replies)
Discussion started by: sa_ken
5 Replies
9. Solaris
Hi,
Is it possible to perform an luupgrade on the active boot environment in Solaris?
I want to perform this on BEAlpha - the disk that has BEOmega will be unavailable whilst performing the upgrade but I still want to install the patches using luupgrade.
Boot Environment Is... (4 Replies)
Discussion started by: Mr_Webster
4 Replies
LEARN ABOUT SUSE
mirror-master
MM(1L) MM(1L)
NAME
mm - mirror master
SYNOPSIS
mm [flags] [package-files]
DESCRIPTION
mm is the mirror master. It runs multiple calls to mirror in parallel and handles locking and minimal retry times.
As with mirror, mm is a package written in Perl.
mm presumes that all the package details are stored in a directory called packages. All the packages for a given site must be in a file
whose name is the same as that of the site. So in packages/sunsite.org.uk will be all the package details for the host sunsite.org.uk.
OPTIONS
-t Ignore the minimal retry timers.
-o site:package
Only mirror the given site:package.
-debug Enable debugging. If this argument is given more than once the debugging level will increase. Currently the maximum useful level
is four.
-s Enable status debugging. This will print out the status of any subprocess as it is spawned or as it exits.
CONFIGURATION FILE
The configuration file is parsed as a series of statements. Blank lines and lines beginning with a hash are ignored. There are are
two kinds of statements, controls and site:package details.
Control statements are of the form:
keyword=value
You can add whitespace around the equals.
Here is a list of the keywords and their values, any defaults are given inside square brackets:
home Directory that mm chdirs to before doing any work. ['']
max Maximum number of mirrors that can be running in parallel at any one time ['6']
mirror This is the way to call mirror. Any occurence of $args, $package or $site is replace with the appropriate entry from the
package. Any $pkg is replaced with a version of $package with all characters that cause problems in filenames converted to
underscore. The default is: exec ./mirror $args -p'$package' packages/$site > logs/$site:$pkg 2>&1 ['']
cmd Run the given command. This can occur multiple times. ['']
cmdin Run the given command and use its output as mm input. This can occur multiple times. ['']
skip Skip the given site:package when it occurs. ['']
In addition to control statements there are also package details. Each package details statement is of the form:
site:package min-restart-last-ok min-restart-last-notok mirror-args
The site and package fields are matched against those in the packages. A mirror will only be run to this site:package if the last mirror
run was more than min hours out. The min-restart-last-ok limit will be used if the last call to mirror was successful. If the mirror call
failed then min-restart-last-notok will be used.
EXAMPLES
Here is a simple mm input file to manage mirroring two packages.
home=/public/mirror
ftp.cl.cam.ac.uk:JIPS-nrs 20 20
hcrl.open.ac.uk:hcrl-psion 20 20
More usually the auxilly program pkgs_to_mmin will be used to automatically convert the contents of the packages directory into the
site:package statements.
home=/public/mirror
cmdin=./pkgs_to_mmin packages/*
AUTHOR
Written by Lee McLoughlin <lmjm@icparc.ic.ac.uk>.
21 April 1993 MM(1L)