- Timestamp:
- Apr 25, 2009, 11:17:56 PM (16 years ago)
- Location:
- locker/deploy/bin
- Files:
-
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
locker/deploy/bin/mediawiki-star
r732 r1103 2 2 use strict; 3 3 use lib '/mit/scripts/deploy/bin'; 4 use onserver ;4 use onserver_star; 5 5 6 6 setup(); -
locker/deploy/bin/onathena-star
r732 r1103 89 89 echo 90 90 echo "Your new copy of $sname will appear on the web at a URL" 91 echo "that starts with http:// scripts.mit.edu/~$lname/"91 echo "that starts with http://$lname.scripts.mit.edu/" 92 92 echo "Please decide upon a complete URL and enter it below." 93 echo "You must enter one or more characters after ~$lname/"93 echo "You must enter one or more characters after /" 94 94 echo "The completed address must only contain a-z, 0-9, and /." 95 printf "Desired address: http:// scripts.mit.edu/~$lname/"95 printf "Desired address: http://$lname.scripts.mit.edu/" 96 96 read addrend 97 97 … … 100 100 echo 101 101 echo "ERROR:" 102 echo "You must enter one or more characters after ~$lname/"102 echo "You must enter one or more characters after /" 103 103 echo "The completed address must only contain a-z, 0-9, and /." 104 104 exit 1 … … 183 183 fs sa . daemon.scripts write 184 184 fs sa . system:scripts-security-upd write 185 echo "This directory is used to store temporary files such as sessions. If you delete it, auto-installed packages will fail." > DO_NOT_DELETE.txt185 echo "This directory is necessary to store login sessions and other transient files for auto-installed packages from scripts.mit.edu." > DO_NOT_DELETE.txt 186 186 mkdir -p "$lroot/web_scripts/$addrend" 187 187 cd "$lroot/web_scripts/$addrend" … … 233 233 echo "== Installation complete! ==" 234 234 echo "You should now be able to access your new copy of $sname at" 235 echo "http:// scripts.mit.edu/~$lname/$addrend/"235 echo "http://$lname.scripts.mit.edu/$addrend/" 236 236 echo "(You can replace the http with https if you want to use encryption)" 237 237 echo "If you have trouble accessing it, feel free to contact" -
locker/deploy/bin/onserver_star.pm
r732 r1103 1 package onserver ;1 package onserver_star; 2 2 use strict; 3 3 use Exporter; … … 87 87 ($addrlast) = ($addrend =~ /([^\/]*)$/); 88 88 89 $base_uri = "http://$ server/~$USER/$addrend/";89 $base_uri = "http://$USER.$server/$addrend/"; 90 90 91 91 if($requires_sql) { -
locker/deploy/bin/wordpress-star
r743 r1103 2 2 use strict; 3 3 use lib '/mit/scripts/deploy/bin'; 4 use onserver ;4 use onserver_star; 5 5 use DBI; 6 6
Note: See TracChangeset
for help on using the changeset viewer.