Jump to content


Photo

Xampp Install Script


  • Please log in to reply
14 replies to this topic

#1 Keo-Keo

Keo-Keo

    X-S Genius

  • Members
  • PipPipPipPip
  • 871 posts
  • Location:Cincinnati Ohio
  • Interests:Modded.. Shell scripting all sorts of things.
  • Xbox Version:v1.0

Posted 10 November 2005 - 03:13 AM

Ok so your now a linux user and you want to run a webserver.. Or you just wanna play with Apache, MySQL, PHP and Perl. XAMMP if for you :-) It's preconfigured and has a web interface here's all the packages it includes.

QUOTE
Apache, MySQL, PHP & PEAR, Perl, ProFTPD, phpMyAdmin, OpenSSL, GD, Freetype2, libjpeg, libpng, gdbm, zlib, expat, Sablotron, libxml, Ming, Webalizer, pdf class, ncurses, mod_perl, FreeTDS, gettext, mcrypt, mhash, eAccelerator, SQLite and IMAP C-Client.


i created a uber simple script that can easily download and install it for ya! :-P

NOTE: YOU MUST HAVE A LOOPBACK OR NATIVE INSTALL LOOK AT MANUAL FOR HOW TO!
http://x-dsl.org

QUOTE
instructions:

1. Log in to XDSL or Ssh in.
2. Type wget http://www.x-dsl.org...nloads/XAMMP.sh
3. Type chmod 777 XAMMP.sh
4. Type ./XAMMP.sh
5. Enjoy


Current Ver: 0.1 (1st public release)

Big thanks to kawaxbox for giving me the link in the forums enjoy.

_Keo


#2 trey85stang

trey85stang

    X-S Expert

  • Members
  • PipPipPip
  • 576 posts
  • Xbox Version:v1.0
  • 360 version:unknown

Posted 10 November 2005 - 07:53 AM

replace chmod 777 with chomod +x no reason to give everyone full access to the script.

#3 Keo-Keo

Keo-Keo

    X-S Genius

  • Members
  • PipPipPipPip
  • 871 posts
  • Location:Cincinnati Ohio
  • Interests:Modded.. Shell scripting all sorts of things.
  • Xbox Version:v1.0

Posted 10 November 2005 - 08:46 PM

hehe is xdsl doesn't matter.. Any user can type sudo su and get access.. XAMPP is for newbs and if you worried about security you would have fixed sudo su. And if you did you wouldn't care about XAMPP :-P

#4 kawaxbox

kawaxbox

    X-S Senior Member

  • Members
  • PipPip
  • 297 posts
  • Location:London, UK
  • Xbox Version:v1.6
  • 360 version:v3.0 (falcon)

Posted 11 November 2005 - 06:21 PM

Keo-Keo you welcome my friend.
does it work without any bugs or something?


#5 Keo-Keo

Keo-Keo

    X-S Genius

  • Members
  • PipPipPipPip
  • 871 posts
  • Location:Cincinnati Ohio
  • Interests:Modded.. Shell scripting all sorts of things.
  • Xbox Version:v1.0

Posted 12 November 2005 - 09:32 PM

QUOTE(kawaxbox @ Nov 11 2005, 12:28 PM)
Keo-Keo you welcome my friend.
does it work without any bugs or something?

View Post



Well i'm sure it has bugs as any app does.. But XDSL is debian so it should run just as well as any debian machine would! I have yet to have an issue but i havn't tested it that much.. Enjoy :-)

#6 awal

awal

    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,255 posts
  • Location:████████████
  • Interests:XBOX
  • Xbox Version:v1.0
  • 360 version:none

Posted 13 November 2005 - 01:43 AM

Just FYI it works with Gentoox too smile.gif Very well actually.

#7 kawaxbox

kawaxbox

    X-S Senior Member

  • Members
  • PipPip
  • 297 posts
  • Location:London, UK
  • Xbox Version:v1.6
  • 360 version:v3.0 (falcon)

Posted 13 November 2005 - 01:00 PM

I have installed it and its working well
but just one question how can i broadcast it to the web? because it only has a local IP 192.168.0.XXX (changes on every log in) i have ICS on.

Thanx
Kawa

#8 Keo-Keo

Keo-Keo

    X-S Genius

  • Members
  • PipPipPipPip
  • 871 posts
  • Location:Cincinnati Ohio
  • Interests:Modded.. Shell scripting all sorts of things.
  • Xbox Version:v1.0

Posted 13 November 2005 - 07:22 PM

I as well am using ICS with my laptop via wireless.. But since i havn't messed with it much i dunno how to forward everything to the xbox :-P..

#9 jaymunee80

jaymunee80

    X-S Member

  • Members
  • Pip
  • 74 posts

Posted 18 December 2005 - 05:49 PM

I cant seem to get it to work.
heres what happens

root ~ $ -> ./XAMMP.sh
Connecting to umn.dl.sourceforge.net[128.101.240.209]:80
wget: Unable to connect to remote host (128.101.240.209): No route to host
gzip: Short read
tar: Child returned status 1
tar: Error exit delayed from previous errors
./XAMMP.sh: line 10: /opt/lampp/lampp: No such file or directory
chmod: /opt/lampp: No such file or directory
install complete
launching http://localhost please wait

is that an error with your script or with my setting. It says it cant download so i think it may be the script.

#10 jaymunee80

jaymunee80

    X-S Member

  • Members
  • Pip
  • 74 posts

Posted 18 December 2005 - 07:07 PM

Nevermind, i just edited the script to download from easynews instead. for others its just instead of wget http://www.x-dsl.org...nloads/XAMMP.sh change it to wget http://www.playerkil...irrior/XAMMP.sh
i also changed to following line.
but now it doesnt work as a script. it works great if you do it manually though.
CODE
#/bin/bash
#Just another simple script Keo-Keo XS Forums

[ "`id -u`" != "0" ] && exec sudo "$0" "$@"

wget http://easynews.dl.sourceforge.net/sourceforge/xampp/xampp-linux-1.5.1.tar.gz

tar xvfz xampp-linux-1.5.1.tar.gz -C /opt

/opt/lampp/lampp start

chmod 777 /opt/lampp -R

echo "install complete"
clear
sleep 1
echo "launching http://localhost please wait"

firefox -URL http://localhost &

sleep 2

exit


#11 crowmo

crowmo

    X-S Young Member

  • Members
  • Pip
  • 32 posts

Posted 13 April 2006 - 12:36 AM

same problem, but doing this command manual from file it work just fine...

Edited by crowmo, 13 April 2006 - 12:51 AM.


#12 leperkuan

leperkuan

    X-S Young Member

  • Members
  • Pip
  • 39 posts
  • Location:Texas
  • Xbox Version:v1.4
  • 360 version:v3.0 (falcon)

Posted 09 July 2007 - 12:11 AM

this is just an up-2-date version of jaymunee80's post

CODE
wget http://www.apachefriends.org/download.php?xampp-linux-1.6.2.tar.gz

tar xvfz xampp-linux-1.6.2.tar.gz -C /opt

/opt/lampp/lampp start

chmod 777 /opt/lampp -R

chmod 755 /opt/lampp/phpmyadmin -R

/opt/lampp/lampp security



chmod 755 phpmyadmin makes it work correctly

this was all done using putty from a remote computer after all i checked the site from this remote computer by keying in the xbox's local ip.

this also works for xfedora test 4 just fine, when i used it on xdsl it worked perfect but for some reason it would put the pictures on my tgp up in the wrong order and once again with fedora it is doing the same, think it has something to do with switching mysql database from linux to windows then back to linux

:ph34r:



#13 mod_n00b

mod_n00b

    X-S Member

  • Members
  • Pip
  • 126 posts
  • Location:Euless,Texas
  • Interests:modding of course<br />starcraft on my box is my dream
  • Xbox Version:v1.4

Posted 21 September 2008 - 06:04 PM

how would it be possible to link a bought domain name to the ip address of an original xbox running a web server??

thanks in advance.

#14 throwingks

throwingks

    X-S Freak

  • Head Moderators
  • PipPipPipPipPip
  • 1,957 posts
  • Gender:Male
  • Xbox Version:v1.4
  • 360 version:v4.0 (jasper)

Posted 02 November 2008 - 02:07 AM

For a working script to get xampp-linux-1.6.8a.tar.gz
CODE
wget http://throwingks.aurobius.com/downloads/XAMMP.sh

Edited by throwingks, 02 November 2008 - 02:38 PM.


#15 luckystar09

luckystar09

    X-S Enthusiast

  • Members
  • 1 posts

Posted 21 August 2009 - 08:09 AM

I'm very interested! I would love to find out more. tongue.gif
script install




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users