Forum: PS2 Linux - Show your penguin pride. Discuss PS2 Linux (Official kit and Blackrhino) here!


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: Installation
  

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17
  1. #1 Installation 
    Isles487 is offline Member
    Join Date
    Apr 2010
    Posts
    21
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Hey guys,

    I want to begin by thanking you guys for any help in advance.

    My goals are twofold:
    1) To run a graphical installation of Linux on my PS2
    2) To run apache server on it (I understand this is not very practical, but it's just cool to me

    I have a fat PS2 with a HDD that has plenty of room. It's not chipped, but can run uLaunchElf through FMCB.

    My question for you guys is, what's the best way to get this running? I understand that there are several ways to install linux. Can you guys recommend a way? I see a tutorial here HOWTO: How to Install Linux on a Playstation 2 without Sony's Offical Linux Kit that a kind member of this site created. Does that tutorial include the GUI?

    I've burned the LiveDVD. Does the LiveDVD come with Apache? Is there an easy way to run apache from the LiveDVD, or to install the files of the pages I want to host onto my HDD? If there's a shorter way to do this by using the LivDVD, I'd really appreciate it!

    I also see there are new Apache binaries that someone here was kind enough to upload. Perhaps you guys can include some info on how to run that?

    Apologies for the questions. I really don't know much about PS2 Linux, despite the fact that I'm a regular Linux user.

    Thanks guys!
    Reply With Quote  

  2. #2  
    deba5er's Avatar
    deba5er is online now Moderator
    Join Date
    Jan 2006
    Posts
    593
    Downloads
    0
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    6
    Likes Received
    8
    @Isles487,

    The mentioned instructions will install the original BlackRhino distro which includes the GUI. The LiveDVD is awesome, but does not have Apache loaded. Actually, no distro at this time comes with Apache setup already, so use the instructions and link to files noted in the forum.

    An alternative way to install the to the hard drive using an installation script is found at:
    4shared - My 4shared - shared folder - free file sharing and storage
    Look in "PS2-Linux Distro" folder, download ps2linux_v0.8.zip and ps2linux-distro-comments_v8.txt
    Look in subfolder "2010_Mar_base_and_usrlocal_package", and download ps2linux-base.tar.bz2 and ps2linux-usrlocal.tar.bz2.
    Unzip the ps2linux_v0.8.zip and read the installation instructions in the file \ps2linux\ps2linux-installer_v0.8.txt, running from the usb drive \ps2linux\install_config\radshell.elf. This installer hasn't been updated in awhile, so after installation, update to kloader2.4.elf on your memory card. Newer FAT PS2s (v9+) and all Slims won't have working sound without using the older sound modules as noted on-screen after running the radshell.elf. Note that PS2-Linux is not 48-bit HDD aware so you must install within the first 137GB. 4GB is a good sized partition, 8GB if you do a lot of compiling or have lots of local data. Many things have changed since March 2010, so the youtube scripts will have to be updated (see the 4shared link), and to use dselect to add packages (really old packages), you will need to edit the repository to one that is still working.

    FAT PS2 with HDD is the best way to run PS2-Linux in my opinion. Don't know about running an Apache server, but it will definitely do internet radio, slideshows, and light web surfing. However, since it is Linux, it will do whatever you program it to do within the limitations of the hardware/toolchain/environment.
    PS2 v9 NTSC, PS2 v12 NTSC, PS2 v15 VESA
    Reply With Quote  

  3. #3  
    Isles487 is offline Member
    Join Date
    Apr 2010
    Posts
    21
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Thanks for your help! Your install script sounds great.

    I have a USB HDD that's 30 GB (it's a MP3 player that connects as a regular HDD). It has one partition formatted as fat32. I have a problem. Right near the beginning of the script, when Linux loads, I get this:

    eyetvsnapshot.jpg

    Any idea what could be going on here?

    EDIT:
    Problem Resolved. Seems it was that particular USB drive causing the problem. Plugged in another one and it was properly mounted as SDA1. On with the install!
    Last edited by Isles487; 06-20-2011 at 02:35 PM. Reason: Resolved.
    Reply With Quote  

  4. #4 Apache2.2.17 
    danielb's Avatar
    danielb is offline Member
    Join Date
    Apr 2011
    Location
    Portugal
    Posts
    169
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    2
    Likes Received
    3
    I have buit last version of apache
    you can find it here 4shared - My 4shared - shared folder - free file sharing and storage

    Code:
    tar -jxvf httpd-2.2.17-ps2.tar.bz2 
    cd httpd-2.2.17-ps2
    sudo make install
    I think thats all
    Reply With Quote  

  5. #5  
    Isles487 is offline Member
    Join Date
    Apr 2010
    Posts
    21
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Thanks a ton! With the help of your install scripts, I was able to get Apache running in less than a day. That's great, really appreciate it!!

    The only problem now is that I'm trying to compile PHP, and something seems to be going wrong with M4, or Autoconf, or both. I keep getting this message when trying to compile, for instance, your libXML2-2.7.8:

    First, m4 comes standard in /usr/bin. I made a symlink in /usr/local/bin so that the configure script/make could find it. But after that,

    ps2:/home/adent/libxml2-2.7.5# make
    CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/adent/libxml2-2.7.5/missing --run autoconf
    /usr/local/bin/m4: unrecognized option `--debugfile=autom4te.cache/traces.0t'
    Try `/usr/local/bin/m4 --help' for more information.
    autom4te: /usr/local/bin/m4 failed with exit status: 1
    make: *** [configure] Error 1

    From what I understand, this may be because m4 is out of date. I've tried to update m4, and autoconf, and I get similar errors. I have no idea what's going on here. The highest I can get m4 to update to is 1.4.4, which apparently won't do the trick.

    What's weird here is that autoconf 2.6.3 is installed, while from what I understand it depends on a version of m4 higher than what I have, to compile. Using dselect to install an older autoconf gave this error instead:

    ranlib libm4.a
    cd .. && /bin/sh /home/adent/m4-1.4.10/missing --run autoheader
    autoheader2.50: error: shell error while sourcing /tmp/ah17991/traces.sh
    Reply With Quote  

  6. #6  
    deba5er's Avatar
    deba5er is online now Moderator
    Join Date
    Jan 2006
    Posts
    593
    Downloads
    0
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    6
    Likes Received
    8
    @Isles487, look in the "pidgin_build_2.6.2" folder in the 4shared link with my installation files. It has a newer m4 and autoconf (which worked at least to build pidgin). autoconf-2.63-ps2.tar.gz and m4-1.4.13-ps2.tar.bz2 are the versions. I haven't tried compiling PHP myself, but danielb has - check out his 4shared link (in thread). Let me know if you found anything particularly confusing with the installer so I can fix in the next version. There are little changes like the backspace key not working in the dillo browser and youtube scripts which were not working in the March 2010 version, but have been fixed in a yet to be released version.
    PS2 v9 NTSC, PS2 v12 NTSC, PS2 v15 VESA
    Reply With Quote  

  7. #7  
    danielb's Avatar
    danielb is offline Member
    Join Date
    Apr 2011
    Location
    Portugal
    Posts
    169
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    2
    Likes Received
    3
    You can try my php build but there's many php modules that doesn't work...
    For example I wast able to compile the mysql module because it ask for a header file from mysql and i couldn't understand what it wanted
    Reply With Quote  

  8. #8  
    Isles487 is offline Member
    Join Date
    Apr 2010
    Posts
    21
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    So, about M4. I downloaded your newer m4 file. Could not get it to compile... but fortunately, did not need to! I simply copied the m4 binary in the folder and overwrote my old m4, and it all works a charm now. Compiling PHP with GD support as we speak (although the latest PHP simply freezes during the build process-I'm using PHP 5.1.4 at the moment). MySQL will be next on the list. Thanks again for all the help. I really appreciate that you guys are hosting files.

    I didn't find anything particularly confusing about your installer-- it was very well done. The only question I have now is: Is there a way to kill the GUI so that SSH X11 forwarding can be enabled? Even when not trying to login to SSH without X forwarding (normally) I get:

    Code:
    Fatal server error:
    Server is already active for display 0
    	If this server is no longer running, remove /tmp/.X0-lock
    	and start again.
    
    Entering daemon mode: pid=210
    BScreen::BScreen: an error occured while querying the X server.
    	another window manager already running on display :0.0
    xvkbd: no process killed
    [2]+  Exit 1                  sudo X :0 -screen 0 $XMODE -auth ~/.Xauthority -once -terminate -nolisten tcp
    Aborted
    Before I get access the the prompt.

    EDIT:

    Also, could someone please let me know how many folders there are in root (/)? I was playing around in my sftp program and one folder got moved into another accidentally, I think I restored the folder to its normal location, but in all my program counts 18 folders in root. Thanks.
    Last edited by Isles487; 06-22-2011 at 01:26 AM.
    Reply With Quote  

  9. #9  
    danielb's Avatar
    danielb is offline Member
    Join Date
    Apr 2011
    Location
    Portugal
    Posts
    169
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    2
    Likes Received
    3
    can you upload php and mysql when you finish compiling then?
    you just need to create a tar.bz2 archive from the source folder
    last php doest freez it just stays about 1hour in the same file....
    EDIT: On / i have 18folder
    Last edited by danielb; 06-22-2011 at 06:18 AM.
    Reply With Quote  

  10. #10  
    deba5er's Avatar
    deba5er is online now Moderator
    Join Date
    Jan 2006
    Posts
    593
    Downloads
    0
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    6
    Likes Received
    8
    @Isles487

    X-Windows is started from the script /usr/local/bin/win3. Comment out the appropriate line(s) in win3 and write replacements.
    PS2 v9 NTSC, PS2 v12 NTSC, PS2 v15 VESA
    Reply With Quote  

Page 1 of 2 1 2 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •