+ Post New Thread
Results 1 to 14 of 14
Wired Networks Thread, Development Server for A-Level Students in Technical; Hi, Could anyone give me any advice on setting up a central web server for students to develop database and ...
  1. #1
    basicchannel's Avatar
    Join Date
    May 2010
    Location
    Norfolk, UK
    Posts
    279
    Thank Post
    36
    Thanked 22 Times in 14 Posts
    Blog Entries
    1
    Rep Power
    23

    Development Server for A-Level Students

    Hi,

    Could anyone give me any advice on setting up a central web server for students to develop database and PHP applications on?

    Obviously there's XAMPP and WAMP, but can you set up individual accounts for students on these? I want something where they can upload their stuff into their own directories via ftp, and create their own MySQL databases too.

    I'm also thinking about setting this up on a Linux server

    Thanks

  2. #2
    camel's Avatar
    Join Date
    Nov 2009
    Location
    east midlands
    Posts
    109
    Thank Post
    30
    Thanked 38 Times in 19 Posts
    Rep Power
    16
    webmin with the virtualmin module?, not tried it but did look at them a while ago for a project.

  3. #3
    basicchannel's Avatar
    Join Date
    May 2010
    Location
    Norfolk, UK
    Posts
    279
    Thank Post
    36
    Thanked 22 Times in 14 Posts
    Blog Entries
    1
    Rep Power
    23
    Ah, OK. I've heard of webmin before. I shall have to download and have a play. Cheers

  4. #4

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,799
    Thank Post
    272
    Thanked 1,134 Times in 1,030 Posts
    Rep Power
    349
    Look at LAMP. I have a linux box with FTP and each student ftp's using AD auth. An Apache site pointing at /home/DOMAIN/ then once each user logs in and uploads files it will then appear as http://hostname/username/

  5. #5
    basicchannel's Avatar
    Join Date
    May 2010
    Location
    Norfolk, UK
    Posts
    279
    Thank Post
    36
    Thanked 22 Times in 14 Posts
    Blog Entries
    1
    Rep Power
    23
    I just found this from a previous thread. I might give it a go.

    FTP and Web server [Bishop Barrington IT Wiki]

  6. Thanks to basicchannel from:

    garethedmondson (5th March 2012)

  7. #6
    basicchannel's Avatar
    Join Date
    May 2010
    Location
    Norfolk, UK
    Posts
    279
    Thank Post
    36
    Thanked 22 Times in 14 Posts
    Blog Entries
    1
    Rep Power
    23
    Wonder if anyone can help?

    I've tried to follow the above document without too much success. I say that, I managed to get most things set up, but when I connect to ftp I get a 500 OOPS error. This is only resolved when I manually create the individual user's directory inside the /home/DOMAIN/ folder. So if I'm getting the ftp error:

    Code:
    500 OOPS: cannot change directory:/home/DOMAIN/schubert
    I create the dir schubert inside the DOMAIN dir, and assign permissions to the account. It then connects fine in ftp, and uploads without error. But what I have now, is hoe the hell can I access the students folder via the net as originally planned. At the moment my server is pointing to /var/www, so attempting to navigat to http://10.0.0.1/DOMAIN/schubert or /schubert or /home/DOMAIN/schubert/index is never going to work.

    AS I said I've followed the BBarrington wiki document to the letter, but it is for an old version of Ubuntu so some things, such as some lines in the smb.conf file were missing.

    I'm so confused.

  8. #7

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,799
    Thank Post
    272
    Thanked 1,134 Times in 1,030 Posts
    Rep Power
    349
    You need to change /etc/apache2/site-enabled/default to point to /home/domain instead of /var/www

    If i remember rightly you need to set the permissions on /home/domain so that Domain users can write to the folder it will auto-create folders inside for each user but i might be wrong.

  9. Thanks to glennda from:

    basicchannel (2nd March 2012)

  10. #8
    basicchannel's Avatar
    Join Date
    May 2010
    Location
    Norfolk, UK
    Posts
    279
    Thank Post
    36
    Thanked 22 Times in 14 Posts
    Blog Entries
    1
    Rep Power
    23
    So simple, yet such a PITA. Thanks a million glennda. I am so happy, if you were standing next to me right now you would be beating me off with a pooey stick.

  11. #9

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,799
    Thank Post
    272
    Thanked 1,134 Times in 1,030 Posts
    Rep Power
    349
    not a problem! Here to help!

    Obviously if you wanted to restrict to only some year groups you could change the Domain Users group to a year intake etc

  12. #10
    jamesfed's Avatar
    Join Date
    Sep 2009
    Location
    Reading
    Posts
    2,191
    Thank Post
    134
    Thanked 340 Times in 287 Posts
    Rep Power
    84
    Maybe something like this could help - Overview - Enkompass

  13. #11


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    I setup exactly the same think for students about 5 years ago. we don't use it any more because the php teacher left.
    I used the apache mod_userdir mod_userdir - Apache HTTP Server which publishes the a subfolder of the home directory.
    Students used sftp to upload their work.

  14. #12

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,618
    Thank Post
    1,230
    Thanked 776 Times in 673 Posts
    Rep Power
    235
    Quote Originally Posted by basicchannel View Post
    Could anyone give me any advice on setting up a central web server for students to develop database and PHP applications on?
    If you want a Linux-based server that pupils can SSH into with their Active Directory credentials, you can set that up via Samba:

    Configuring Samba

  15. #13
    basicchannel's Avatar
    Join Date
    May 2010
    Location
    Norfolk, UK
    Posts
    279
    Thank Post
    36
    Thanked 22 Times in 14 Posts
    Blog Entries
    1
    Rep Power
    23
    Hi again

    After trying to install phpmyadmin I realised I forgot my mysql root password. I tried to reset it but it wasn't having any of it, so I uninstalled and reinstalled MySQL, set my new password and all seemed well. Now I'm getting errors when trying to access phpmyadmin login that are saying:

    Code:
    phpMyAdmin - Error The mysql extension is missing. Please check your PHP configuration
    So I try to install php5-mysql as it seems like it's missing, and it does the usual prompt to install the package, and after confirming Y I get the following message and then nothing else:

    Code:
    php5 (5.3.3-7+squeeze5) squeeze-security; urgency=high
    
      * The following new directives were added as part of security fixes:
        - max_input_vars - specifies how many GET/POST/COOKIE input variables
          may be accepted.  Default value is set to 1000.
        - xsl.security_prefs - define forbidden operations within XSLT
          stylesheets.  Write operations are now disabled by default.
    
     -- OndÅej Surý <ondrej@debian.org>  Mon, 23 Jan 2012 12:22:26 +0100
    
    php5 (5.3.3-7+squeeze4) squeeze-security; urgency=low
    
      * Updated blowfish crypt() algorithm fixes the 8-bit character handling
        vulnerability (CVE-2011-2483) and adds more self-tests.  Unfortunately
        this change is incompatible with some old (wrong) generated hashes for
        passwords containing 8-bit characters.  Therefore the new salt prefix
        '$2x$' was introduced which can be used as a replacement for '$2a$'
        salt prefix in the password database in case the incompatibility is
        found.
    
     -- OndÅej Surý <ondrej@debian.org>  Mon, 04 Jul 2011 10:31:16 +0200
    As far as I understood it, it was just telling me that there were some php updates, but it doesn't install php5-mysql. Everytime I try to install it comes up with the same thing, even after doing an apt-get update beforehand.

    Any ideas? Do I need to manually update something?

  16. #14
    basicchannel's Avatar
    Join Date
    May 2010
    Location
    Norfolk, UK
    Posts
    279
    Thank Post
    36
    Thanked 22 Times in 14 Posts
    Blog Entries
    1
    Rep Power
    23
    Looks like i've found a possible answer courtesy of stackoverflow.

    http://stackoverflow.com/questions/9231610/error-when-installing-curl-debian-squeeze

    will try in the morrow

SHARE:
+ Post New Thread

Similar Threads

  1. internal web server for students
    By itgeek in forum Windows
    Replies: 7
    Last Post: 23rd January 2012, 02:13 PM
  2. Replies: 0
    Last Post: 20th December 2011, 02:30 PM
  3. Storage Server for student data
    By gshaw in forum Hardware
    Replies: 16
    Last Post: 22nd July 2009, 12:24 PM
  4. server for students intranet pages
    By Face-Man in forum How do you do....it?
    Replies: 12
    Last Post: 10th May 2009, 04:28 PM
  5. MS Virtual Server for free?
    By Norphy in forum Windows
    Replies: 20
    Last Post: 4th April 2006, 01:54 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •