Recommended Posts

Recently I redid my server and I did it so incredibly easy and fast, so I decided to share what I did.

I'm assuming you have a computer you want to dedicate as a server, which has a hard disk and a cdrom drive that is able to boot cds. I am also assuming that you know how to burn ISO's. This guide is for running an httpd with PHP and MySQL, an ftpd, and sshd

Step 1) Go here and choose a mirror download the latest ISO.

Step 2) Use nero or a similar program to burn the ISO to a cd.

Step 3) Boot the DSL cd and when everything is loaded either press ctrl+alt+backspace to close X and go to the command prompt, or open a terminal inside fluxbox and type

sudo -u root fdisk /dev/hda

Step 4) You should then see Command (m for help):

Press p to show the current partition table. Press d and then pick the partition number of the patition you want to delete until they are all gone and you have a blank partition table. Now press n to create a new partition, p for a primary partition, then press 1 to put it under partition number one. You should see First cylinder (1-784, default 1): press <return> then it will ask for last cylinder. Here is where you should know large your hard disk is in MB, when you first hit P it tells you this. What you want to do is create this partition as big as possible but leave enough space for a swap partition. You also should know how much RAM you have. Take the amount of ram you have in mb and multiply it by 1.5, this ishow big your swap partition should be. Subtract this amount from the total amount of your disk and that is how much your first partition should be. Where it says Last cylinder type +xxxM where xxx is the size of the hard disk excluding the space reserved for swap.

Step 5) Do the same thing from step for by creating a new partition except this time pick primary and then 2 when it asks which partition number, then press return for the first cylinder and last cylinder so that it uses up the rest of the disk. After the swap partition has been made press t then pick partition 2 then enter 82 for the hex code, this will assign partition 2 as swap space. Last press w to write changes to the disk and exit.

Step 6) Now that you are back at the command line enter this command

sudo -u root dsl-hdinstall

This will run the hd-install script and should copy all the files to the hard disk and set everything up, it will then ask if you want to set up lilo hit y and press return and then it will reboot.

Step 7) You should have successfully booted into damn small linux from the hard disk now, if all is successful great now close out of the x server it is running by hitting ctrl+alt+backspace and run

mkswap /dev/hda2

to format the swap partition to be used as swap space.

Step 8) now it is time to install the xampp package for apache php and mysql. type 'su root' so that you switch to root so you have privelages then you can go to this page to find a mirror, and type wget "http://urlofxamppackage.tar.gz" here is my example using an atlanta georgia mirror

wget http://internap.dl.sourceforge.net/sourceforge/xampp/xampp-linux-1.4.10a.tar.gz

once the download is complete type

tar xvfz xampp-linux-1.4.10a.tar.gz -C /opt

Step 9) When the extraction finishes type

/opt/lampp/lampp start

this should start apache with php and mysql, and the ftpd hopefully everything worked well :D

IMPORTANT:

run this to set all the passwords

/opt/lampp/lampp security

Test the server by going to http://servers.address it should bring up some xampp pages to test that everything is working fine.

To start sshd run these two commands

ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N "" 
sshd

Notes:

File Locations

http config: /opt/lampp/etc/httpd.conf

ftp config: /opt/lampp/etc/proftpd.conf

To run MySQL queries locally run

/opt/lampp/bin/mysql

Edited by beh
Link to comment
https://www.neowin.net/forum/topic/258829-how-to-set-up-server-fast/
Share on other sites

  • 3 weeks later...

according to the XAMPP website the package includes: 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, Turck MMCache, SQLite and IMAP C-Client. thats quite a lot for such a short install. also this dosent have to be installed on DSL.

i think this is how i will set up my server just on another distro

aslo a nice artical on how to setup and configure this is here

http://www-106.ibm.com/developerworks/linux/library/l-xampp/

just thought i would help out a bit.

  • 1 month later...

Can anyone tell me why everytime I try to change something it tells me that the filesystem is read-only :unsure:

For example, I try to reboot the system and it tells me:

Fed 7 19:04:31 box daemon.info init: cannot execute "/etc/init"

Remounting filesystem read-only

  • 1 month later...
  • 10 months later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Microsoft Edge 149.0.4022.69 by Razvan Serea Microsoft Edge is a super fast and secure web browser from Microsoft. It works on almost any device, including PCs, iPhones and Androids. It keeps you safe online, protects your privacy, and lets you browse the web quickly. You can even use it on all your devices and keep your browsing history and favorites synced up. Built on the same technology as Chrome, Microsoft Edge has additional built-in features like Startup boost and Sleeping tabs, which boost your browsing experience with world class performance and speed that are optimized to work best with Windows. Microsoft Edge security and privacy features such as Microsoft Defender SmartScreen, Password Monitor, InPrivate search, and Kids Mode help keep you and your loved ones protected and secure online. Microsoft Edge has features to keep both you and your family protected. Enable content filters and access activity reports with your Microsoft Family Safety account and experience a kid-friendly web with Kids Mode. The new Microsoft Edge is now compatible with your favorite extensions, so it’s easy to personalize your browsing experience. Microsoft Edge 149.0.4022.69 changelog: Fixed an issue that caused the Downloads dialog to continue displaying the "Keep/Delete" prompt for .rdp files after the download completed. Stable channel security updates are listed here. Download: Microsoft Edge (64-bit) | 193.0 MB (Freeware) Download: Microsoft Edge (32-bit) | 170.0 MB Download: Microsoft Edge (ARM64) | 188.0 MB View: Microsoft Edge Website | Release History Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Save 44% on Intuit QuickBooks Desktop Pro Plus 2024 (1 User for 1-Year) by Steven Parker Today's highlighted deal comes via our Apps + Software section of the Neowin Deals store, where for only a limited time, you can save 44% on Intuit QuickBooks Desktop Pro Plus 2024 (1 User + 1 Year) for Windows. Take control of your business finances with Intuit® QuickBooks® Desktop Pro Plus 2024 Lifetime Activation for Windows. This powerful accounting software simplifies bookkeeping, expense tracking, invoicing, and financial management—all in one intuitive platform. Designed for small business owners, freelancers, and accountants, QuickBooks® Desktop Pro Plus 2024 ensures accuracy, efficiency, and seamless transaction tracking. Stay organized, save time, and manage your finances with confidence—no subscriptions, just lifetime access! Financial and business management Comprehensive Financial Management: Gain access to a full suite of features designed to handle everything from creating invoices & managing expenses to generating reports and tracking sales. Enhanced Reporting Tools: Generate professional reports & insights to make informed financial decisions and help you stay ahead of your business goals. Job Costing: Track the profitability of specific jobs or projects. Fixed Asset Management: Track the depreciation & value of fixed assets. Customer & Vendor Management: Organize information, streamline communication & enhance customer relations. Sales Order Processing: Create & manage sales orders from start to finish. Purchase Order Processing: Create & manage purchase orders to streamline vendor payments. Improved Inventory Management: Enhanced features for tracking inventory levels & costs. Automation, integration, and support Enhanced Bank Feeds: Web Connect (manual QBO imports), works on all licenses for easier bank reconciliation Time Tracking: Track employee time to accurately calculate payroll and project costs Easy Data Import: Quickly transfer financial data from Excel or older QuickBooks® versions Why choose Intuit® QuickBooks® Desktop Pro Plus 2024? Effortless Installation: Quick and easy setup with step-by-step guidance. No Hidden Costs: One-time payment—no subscriptions or recurring fees. Direct Official Download: Access the software securely from the official QuickBooks® website. Stay Up to Date: Get the latest updates and features for optimal performance. Multilingual Support: Available in multiple languages to suit your needs. Lifetime Access: A one-time purchase means no ongoing costs. IMPORTANT: Cloud integrations (QuickBooks Payments, TurboTax, and Online logins) are NOT included. Good to know: Length of access: lifetime Redemption deadline: redeem your code within 30 days of purchase Access options: Windows Max number of device(s): 2 (for 1 user only and can't be used simultaneously) Version: 2024 (United States) 64-bit Available to both NEW and EXISTING users For US customers only Updates included An Intuit QuickBooks Desktop Pro Plus 2024 (1 User + 1-Year) for Windows: Lifetime License normally costs $536, but it can be yours for just $299.99 for a limited time, a saving of $236. There are also other plans available. For specifications, and license info please click the link below. Get Intuit QuickBooks Desktop Pro Plus 2024 for just $299.99 This is a time limited deal For US customers only. Support queries If you have queries or need support for any of the Neowin Deals, please use the contact form here. Neowin Deals are managed and sold by StackCommerce who represent Neowin on an affiliate basis. Why we post these deals We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. So for those that keep moaning and complaining, be thankful we're still online for you to even do that. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
    • AFAIK you shouldn't be getting a consent popup at all from Canada, so I think it is to do with a VPN or private/secure DNS.
    • From what I see it's only for Insider - preview builds. Not for everybody. So...
    • Of course, all of that sounds great on paper... No it doesn't!
  • Recent Achievements

    • Week One Done
      agatameier earned a badge
      Week One Done
    • One Month Later
      agatameier earned a badge
      One Month Later
    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
    • Dedicated
      jordanspringer earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      507
    2. 2
      +Edouard
      175
    3. 3
      PsYcHoKiLLa
      139
    4. 4
      ATLien_0
      91
    5. 5
      Steven P.
      76
  • Tell a friend

    Love Neowin? Tell a friend!