Latest 100 public
snipts » (mt)
showing 1-3 of 3 snipts for (mt)
-
∞ Install Yum on a (dv) 3.0 Server
# Install Yum on a (dv) 3.0 Server rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/python-sqlite-1.1.7-1.2.1.i386.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/python-elementtree-1.2.6-5.el4.centos.i386.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/libxml2-2.6.16-12.i386.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/yum-metadata-parser-1.0-8.el4.centos.i386.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/libxml2-python-2.6.16-12.i386.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/yum-2.4.3-4.el4.centos.noarch.rpm # Edit the CentOS-Base.repo file and enable CentOSPlus and CentOSContrib repos. # Change enabled=0 to enabled=1 under [centosplus] and [contrib] vi /etc/yum.repos.d/CentOS-Base.repo # I also suggest you grab Atomic Turtle's Yum Repository wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh
-
∞ (gs) Default php.ini
; This is a example php.ini created by Brandon ; Instructions ; To use this file you will need to rename it php.ini and uncomment (by removing the semicolon) or add directives you wish to use. ; Be sure not to uncomment the Descriptions ; For a complete list of valid directives, visit: http://us2.php.net/manual/en/ini.php ; For more information check out the following resources: ; (mt) Knowledge Base - http://kb.mediatemple.net ; (mt) Forums - http://kb.mediatemple.net/questions/824/ ; (mt) System Status - http://status.mediatemple.net ; HOWTO: edit php.ini for (gs) Grid-Service users - http://kb.mediatemple.net/questions/137/ ; HOWTO: edit php.ini for (dv) Dedicated-Virtual users - http://kb.mediatemple.net/questions/664/ ; ;----------------------------------------------------------------------------------------------------------- [PHP] ; We highly recommend that you leave this options enabled cgi.fix_pathinfo=1 ; Increase maximum post size ;post_max_size = 20M ; Increase execution time ;max_execution_time = 300 ; Increase php Upload Filesize ;upload_max_filesize = 20M ; Uncomment to turn on register_globals ;register_globals = true ; Turn on Safe Made (default is off for your domains) ;safe_mode = on ;include_path = (.:/usr/local/php-4.x.x-x/share/pear/:/path/to/new/includes) ; Why is allow_url_fopen disabled on the (gs) Grid-Service? - http://kb.mediatemple.net/questions/793/ ;allow_url_fopen = On ; Please be sure to also uncomment the following if you enable allow_url_fopen. ;memory_limit = 100M ;cgi.fix_pathinfo=1 ; ;----------------------------------------------------------------------------------------------------------- ; For performance reasons, (mt) does not load all of the modules that are available ; into PHP. You may uncomment any one of the following "extension" lines to enable ; the desired module ; Salblotron XSLT ;extension=xslt.so ; save in local tmp session.save_path=/home/3628/data/tmp
-
∞ (mt) Default Index Page
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>(mt) Media Temple - Web Hosting Services</title> <style type="text/css"> body { margin:0; font-family:Arial, Helvetica, sans-serif !important; font-size:12px !important; color: #232323; text-align:center; background-image:none !important; } .csshead { background-position: left top; background-image: url(images/ww_bg.gif); background-repeat: repeat-x; height:87px; background-color:#000; } h1.logoholder { padding-top: 30px; padding-left: 40px; float:left; margin:0; padding-bottom:0; } div.loginholder { float: right; padding-top: 15px; padding-right: 40px; } .logocss { cursor: pointer;display:block; width: 230px; height: 25px; /* IE 5+/Win only filter */ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='images/mtlogo.png'); display:block; } .logocss[class] { background-image: url(images/mtlogo.png); } .logocss span { position:absolute; text-indent:-6000px; } .logincss { cursor: pointer; font-size: 11px; font-family: verdana; line-height: 200%; color: #808080; text-align: center; width: 280px; height: 30px; display:block; /* IE 5+/Win only filter */ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='images/login_bg.png'); } /* Other browsers. IE ignores [attributes] */ .logincss[class] { background-image: url(images/login_bg.png); } a.logincss .over, a.logincss:visited .over { color: #FFFFFF; text-decoration: none; } a.logincss:hover .over, a.logincss:active .over { color: #FFFFFF; text-decoration: underline; } h2.defaultdomain { font-size:36px; color: #004A80; } </style> </head> <body> <div class="csshead"> <h1 class="logoholder"> <a class="logocss" href="http://www.mediatemple.net" onclick="window.location='http://www.mediatemple.net/'" title="(mt) Media Temple - HOME"><span>(mt) MediaTemple</span></a> </h1> <div class="loginholder"> <a class="logincss" href="https://ac.mediatemple.net/" onclick="window.open('https://ac.mediatemple.net/'); return false;" style="text-decoration: none;" title="CUSTOMER LOGIN"><span class="primary_grey">(877) 578-4000 24/7 SUPPORT | </span><span class="over">LOGIN</span></a> </div> </div> <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/> You have reached the future home of: <h2 class="defaultdomain">Your Domain Goes Here</h2> another site successfully deployed by <br /> <a href="http://www.mediatemple.net">(mt) Media Temple Web Hosting</a> </body> </html>


