+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 45
Web Development Thread, using mysql & php on a W2K SP2 server in Coding and Web Development; Debian based distros (Ubuntu is a deb based one) are secure by default (or so i've been lead to believe) ...
  1. #16
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,316
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    22

    Re: using mysql & php on a W2K SP2 server

    Debian based distros (Ubuntu is a deb based one) are secure by default (or so i've been lead to believe) but you could try setting up iptables or using shorewall firewall.

  2. #17

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,413
    Thank Post
    642
    Thanked 964 Times in 664 Posts
    Blog Entries
    2
    Rep Power
    327

    Re: using mysql & php on a W2K SP2 server

    Ideally, for externally-facing servers, you should have a DMZ for things like this which has little or no access to the rest of your LAN.

  3. #18


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    Re: using mysql & php on a W2K SP2 server

    yeah, securing a linux distro shouldn't be an issue. File permissions are normally fairly restrictive. Properly configured a linux webserver will only run the services it needs (and therefore won't really need a firewall). Make sure services run as restricted user, rather than root and make sure its regularly patched (patches are usually released same day as they are discovered)
    If your still worried - run apparmour (Novell) or SELinux (defaut on RHEL/Centos)

    the rules are basically the same as running a windows webserver, except MS have a far worse track record, have more viruses/trojans, patch after 4weeks and run all manner of services on by default.

  4. #19
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,316
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    22

    Re: using mysql & php on a W2K SP2 server

    There isnt a root account on Ubuntu though...it uses sudo root, so you should be ok (i could be wrong there though)

  5. #20

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,812
    Thank Post
    110
    Thanked 585 Times in 506 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: using mysql & php on a W2K SP2 server

    I run the following once a week on my debian/ubuntu boxen to keep them secure:

    Code:
    apt-get update && apt-get upgrade

  6. #21

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131

    Re: using mysql & php on a W2K SP2 server

    just an update, and for the interest of anyone who may be in the same situation as myself, I'm currently running Apache2Triad on an XP Pro machine. I'd like to thank Sysman here for his help. No matter what I did I couldn't get any of the systems reccommended, including Apache2Triad, to run on the trial server in school the way they did on my machine at home, so I wiped the server, installed XP Pro and the first app out of the box, which was Apache2Triad. It was easier to configure than I imagined, and that may have been the problem, as in, "No, it can't be that simple. I must have missed a step or something" I managed to get a dump of the database from my webserver but couldn't import it into my new database without error messages. I did a quick install of a fresh copy of CMS Made Simple, replaced the existing style sheets with those from the website and cut'n'pasted the content from the old pages into the new ones. The job was done in 30 minutes or so.
    I'd like to say that I'll have time to play with Ubuntu (it is gui based by the way isn't it?) in the summer break, but from what I've been told that won't be likely.
    thanks to all again for your help

  7. #22
    Guest

    Re: using mysql & php on a W2K SP2 server

    Glad to here its all going well fella. Glad I could help

  8. #23

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131

    Re: using mysql & php on a W2K SP2 server

    OK so loads of kids are off on trips, those who have sat or are sitting exams (year 11) are away, so it's quiet. I've downloaded and installed LAMP Server Ubuntu/Debian version Dapper, v.6.06 (I think) on a very old slow machine, but it's all command line and I'm happier with a gui I visited the ubuntu forums and saw a lead saying to run the command "sudo apt-get install desktop-ubuntu" (or whatever flavour of desktop you had) I can't get this to work. At first I assumed that the gui stuff would be on the original cdrom, but it appears not. I tehn downloaded the Kubuntu iso, burnt that and tried with the command again but still no joy, though it runs as a live cd without any problems. Any advice on this?

  9. #24

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,812
    Thank Post
    110
    Thanked 585 Times in 506 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: using mysql & php on a W2K SP2 server

    If you can run the live CD then there should be an install option there. If you install from the live CD will be able to use the graphical installer.

  10. #25

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131

    Re: using mysql & php on a W2K SP2 server

    I managed to get kubuntu installed by running the command sudo apt-get install kubuntu-desktop (not desktop-kubuntu, as one of the Dapper forums said), and I ran the apt-get update command as well, but the server still boots into command line mode. There seems to be no way of getting into gui mode. Any suggestions?

  11. #26

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,592
    Thank Post
    109
    Thanked 770 Times in 598 Posts
    Rep Power
    183

    Re: using mysql & php on a W2K SP2 server

    you tried typing 'startx'? - you mayu need to do some config first with 'xf86config' or similar since the installer didn't do it for you.

  12. #27

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131

    Re: using mysql & php on a W2K SP2 server

    it's not working for me. I'll search some forums in the meantime.

  13. #28
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,993
    Thank Post
    120
    Thanked 286 Times in 263 Posts
    Rep Power
    107

    Re: using mysql & php on a W2K SP2 server

    You dont need a GUI Just use a decent SSH and SFTP client and a decent text editor. That way you can get the remote console for restarting services and SFTP you configs off to edit then back on. I would recommend Bitvise Tunnelier allows easy setup of reverse tunnels and all that jazz.

  14. #29

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131

    Re: using mysql & php on a W2K SP2 server

    I need a gui so that I can get a decent picture in my mind of how things are laid out. It's just how I work. Managed to get Ubuntu installed and working and can now see where everything goes, however, I don't have permission to put the files in the /var/www. how do I log on as admin?

  15. #30


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    Re: using mysql & php on a W2K SP2 server

    [/code]sudo su[code]

SHARE:
+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. OS X Server MySQL default installation
    By HodgeHi in forum *nix
    Replies: 2
    Last Post: 30th May 2008, 02:37 PM
  2. MYSQL Help
    By danIT in forum General Chat
    Replies: 2
    Last Post: 18th December 2007, 09:52 PM
  3. SiteAtSchool / IIS / PHP / MySQL / Server 2003
    By OutToLunch in forum Windows
    Replies: 4
    Last Post: 5th February 2007, 02:19 PM
  4. Access DB to MySQL
    By Gatt in forum Web Development
    Replies: 3
    Last Post: 29th November 2006, 10:32 PM
  5. php MySql
    By iking in forum Books and Manuals
    Replies: 0
    Last Post: 11th July 2005, 03:35 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
  •