Find the answer to your Linux question:
Results 1 to 10 of 10
A *linuxforums* newbie here... this is my first post and hi to all! I'm still new to gnu/linux and my basic knowledge were solely based on reading articles and e/books. ...
  1. #1
    Just Joined! x86scorpion's Avatar
    Join Date
    Mar 2008
    Posts
    7

    Question I know what LAMP is, Um... where to go from here? :-/

    A *linuxforums* newbie here... this is my first post and hi to all!

    I'm still new to gnu/linux and my basic knowledge were solely based on reading articles and e/books. Installed several *linux distros* accompanied by gui's and run several programs. My interest lead me to *distro hop* from distrowatch.com's top30 lists. And in general, DEBIAN and FREEBSD *really* caught my attention. Armed with a good system and passion for true spirit of free software(opinion here). But the thing is... I only wanted to learn gnu/linux so debian is my definite choice!

    My primary goal is to setup my own *headless* LAMP box to be used as a web server using my *cable internet connection*. NO GUI's, just PURE CLI (is it possible?). I do have a dynamic IP and my ISP said that they *do not block* any port.

    My problem is I don't know where to start. I know it's a long journey to begin with, but I believe I can handle linux one step at a time. I'm a previous user of MS-DOS, win3.x ...to winXP and now switching to linux.

    Can someone please help me?

    Any tutorials/links to downloading/installing pure CLI debian gnu/linux, would be a good start and sharing your knowledge on setting up LAMP should do the trick.

    ...thanks guys!!!


    _______
    AMD Athlon(tm) LE-1620 2.40 GHz
    EMX-AMD690HD emaxx
    2GB of RAM
    80GB SATA

  2. #2
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,072
    Hello and Welcome!
    This thread should start you with some good information on picking the distro you want to use for your server. And it is entirely possible to run Linux solely from the CLI. You should refer to the distros man/info pages, also the distros documentation for detailed information. Let us know which one you pick, good luck and, above all, have fun with it!
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  3. #3
    Just Joined! x86scorpion's Avatar
    Join Date
    Mar 2008
    Posts
    7
    thanks jayd512 for the reply... maybe I'll stick first to a desktop environment on Debian GNU/Linux so I could keep in touch in this forum using GNOME Web Browser(and to test/create my simple web pages). I'll try to setup Apache2 first, and a client for updating my IP address, from GNOME Terminal.

    If I already knew how to install everything, I think that will be time to find another box where I could administer Debian using pure command lines.

    I'll try to post my progress here, please post some links on how to install or some hints on how you did install Apache2 from GNOME Terminal.

    thanks again!

  4. #4
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,072
    As far as running Linux from just the CLI, you can do that using any distro... even if it's just a desktop PC. All ya gotta do is switch to a different terminal with Ctrl+Alt+(F1 - F6). Login as user, you got the shell at your fingertips.
    This page is a good place to start with your install.
    And this thread should help a little with the details of Apache.
    Last edited by jayd512; 03-06-2008 at 10:19 AM. Reason: typo; missing info
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  5. #5
    Linux User
    Join Date
    Jan 2006
    Posts
    414
    If you use the Debian net install disk you can install just the barebones system (you probably can with other install methods, but I haven't used them), then just install what you need:
    Code:
    apt-get install apache2 php5-mysql mysql-server openssh-server pure-ftpd
    will give you a LAMP server that you can login to remotely with ssh, and an ftp server so you can upload files, you can also install links if you want to be able to browse the web from the server CLI.

    Don't forget to set the root password for mysql:
    Code:
    mysqladmin -h localhost -u root password ROOTPASSWORDHERE
    mysqladmin -h HOSTNAMEHERE -u root password ROOTPASSWORDHERE
    there's some good howto's on howtoforge as well

  6. #6
    Just Joined! x86scorpion's Avatar
    Join Date
    Mar 2008
    Posts
    7
    The link you gave, The Perfect Setup - Debian Etch (Debian 4.0) | HowtoForge - Linux Howtos and Tutorials, is what I am looking for building server projects. I'll keep those commands you gave darkrose0510 and will someday try the netinstall you advised .(that was really really neat!)

    But for now I'll keep my fingers busy on testing/configuring Apache2!

    here's my first shot..
    ----------------------------

  7. #7
    Linux Enthusiast flipjargendy's Avatar
    Join Date
    Aug 2004
    Location
    Xanadu, Titan, Saturn
    Posts
    610
    If you're new to LAMP or webservers in general another way you could go is XAMPP. It is a LAMP package with everything you need and It's pretty much configured as soon as it's installed.

    It was easy to use and will be good enough to give you a feel for running a webserver. However, if you've already got LAMP running then I think you should probably be alright configuring apache and what not. There are many useful guides out there.
    Running Linux Since 2001®
    Registered Linux User #430868 - Since 9•12•06

  8. #8
    Just Joined! x86scorpion's Avatar
    Join Date
    Mar 2008
    Posts
    7

    Question back to gui?

    Quote Originally Posted by jayd512 View Post
    As far as running Linux from just the CLI, you can do that using any distro... even if it's just a desktop PC. All ya gotta do is switch to a different terminal with Ctrl+Alt+(F1 - F6). Login as user, you got the shell at your fingertips.
    I like this one! But how should I go back to gui?

  9. #9
    Just Joined! x86scorpion's Avatar
    Join Date
    Mar 2008
    Posts
    7
    "XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start."

    The way I see it... ,it's like an automatic installation right? XAMPP looks indeed promising but I want to try installing them manually. But I'll keep this one too, thanks flipjargendy!

    Maybe I'll use XAMPP when I'm done learning the ins/out of LAMP.

  10. #10
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,072
    Quote Originally Posted by x86scorpion View Post
    I like this one! But how should I go back to gui?
    Ctrl+Alt+(F7 - F will typically take you back to the graphical desktop.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

Posting Permissions

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