Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Linux Lab using old rig
New Posts  All Forums:Forum Nav:

Linux Lab using old rig - Page 2

post #11 of 15
Quote:
Originally Posted by Jerry_03 View Post

Hi all,

I have an old rig lying around that I plan to put to use as a linux lab.

-CPU: Intel Pentium Dual-Core E2180 Allendale @ Stock 2.0GHz
-Mobo: GIGABYTE GA-P35-DS3L
-RAM: 3GB DDR2
-Video Card: Ati Radeon 3650
-Hard Drives: Western Digital 320GB
-PSU: MSI Turbo stream 500W

My lab will be to set it up as a web server running MySQL with ruby on rails and java.

I am thinking of using ubuntu. Also I want to be able to run a VM on it, preferably VMware so I can also use it as a vsphere lab. I am not sure if the 3GB of ram will cut it though.

also can anyone suggest any other fun linux projects to do, so I can learn how to use linux cli more and some programming.
Quote:
yeah I am considering doing something from the source. I am a computer networking student, and just want to basically learn by trying and doing fun projects in my spare time.

Since you're looking for a project and you're a networking student and also wants a project involving the CLI I would like to suggest a PXE booting project. I should mention I have a strange obsession/fascination with it despite limited success actually setting it up myself.

In short PXE booting can be set up entirely from the CLI. All you really need is something to handle the DHCP, a TFTP daemon, and some boot images. Install pxe linux, which is really just a set of config files and the "pxelinux.0" boot sector. After that it's the "fun" of knowing a ridiculous amount about GRUB and the linux boot loading process and figuring out the the config file format and how to successfully boot the various linux variants. I worked on this for months and months. Still feels like I hardly know anything. And for even more fun work on booting WIMs. That's how you boot the installation for windows. With WIM files.

Then once you're network booting you can start on preseeds and kickstart files for auto-installing linux installs. Which will make installing new VMs that much faster.
Edited by subassy - 5/30/13 at 2:48pm
 
VM Server
(17 items)
 
 
CPUGraphicsRAMHard Drive
Intel Ivy Bridge Core i7-3630QM nVidia GeForce GTX 680M 16GB DDR3 1600MHz Dual Channel Memory (2 SODIMMS) Hard Drive: Serial-ATA II 3GB/s 
Hard DriveOSMonitorPower
Hard Drive: Serial-ATA II 3GB/s Windows 10 Pro x64 17.3" FHD 16:9 (1920x1080) Battery: Smart Li-ion Battery (8-Cell) 
Audio
Sound Blaster Compatible 3D Audio 
CPUMotherboardGraphicsRAM
Intel Core i7 860 Biostar T5 XE Radeon HD 5870 Corsair 16GB  
Hard DriveHard DriveOptical DriveOS
Western Digital hard drive wd1001fals-00e8b0 Maxtor 300GB I don't need no stinking optical drive Microsoft Windows 7 Ultimate x64 
MonitorMonitorKeyboardPower
HP ZR24w 24'' Samsung SyncMaster 24" logitech wireless k360 Seventeam ST-850ZAF 850W ATX 
CaseMouseAudioAudio
Thermaltake V9 Black Edition Logitech G500 Programmable Gaming Mouse FiiO E7 USB DAC and Portable Headphone Amplifier Sennheiser HD555 Professional Headphones 
  hide details  
Reply
 
VM Server
(17 items)
 
 
CPUGraphicsRAMHard Drive
Intel Ivy Bridge Core i7-3630QM nVidia GeForce GTX 680M 16GB DDR3 1600MHz Dual Channel Memory (2 SODIMMS) Hard Drive: Serial-ATA II 3GB/s 
Hard DriveOSMonitorPower
Hard Drive: Serial-ATA II 3GB/s Windows 10 Pro x64 17.3" FHD 16:9 (1920x1080) Battery: Smart Li-ion Battery (8-Cell) 
Audio
Sound Blaster Compatible 3D Audio 
CPUMotherboardGraphicsRAM
Intel Core i7 860 Biostar T5 XE Radeon HD 5870 Corsair 16GB  
Hard DriveHard DriveOptical DriveOS
Western Digital hard drive wd1001fals-00e8b0 Maxtor 300GB I don't need no stinking optical drive Microsoft Windows 7 Ultimate x64 
MonitorMonitorKeyboardPower
HP ZR24w 24'' Samsung SyncMaster 24" logitech wireless k360 Seventeam ST-850ZAF 850W ATX 
CaseMouseAudioAudio
Thermaltake V9 Black Edition Logitech G500 Programmable Gaming Mouse FiiO E7 USB DAC and Portable Headphone Amplifier Sennheiser HD555 Professional Headphones 
  hide details  
Reply
post #12 of 15
Quote:
Originally Posted by subassy View Post


Since you're looking for a project and you're a networking student and also wants a project involving the CLI I would like to suggest a PXE booting project. I should mention I have a strange obsession/fascination with it despite limited success actually setting it up myself.

In short PXE booting can be set up entirely from the CLI. All you really need is something to handle the DHCP, a TFTP daemon, and some boot images. Install pxe linux, which is really just a set of config files and the "pxelinux.0" boot sector. After that it's the "fun" of knowing a ridiculous amount about GRUB and the linux boot loading process and figuring out the the config file format and how to successfully boot the various linux variants. I worked on this for months and months. Still feels like I hardly know anything. And for even more fun work on booting WIMs. That's how you boot the installation for windows. With WIM files.

Then once you're network booting you can start on preseeds and kickstart files for auto-installing linux installs. Which will make installing new VMs that much faster.

You don't want to be using GRUB if you're PXE booting. You can set everything up from pxelinux.

Last year I switched an entire office over to ArchLinux-based PXE images with NFS root. And I say "ArchLinux-based" because I had to write a whole lot of bespoke stuff to get 75 PXE images to share the same NFS root without them overwriting each other. It was a rather fun project.
post #13 of 15
Quote:
Originally Posted by Plan9 View Post

You don't want to be using GRUB if you're PXE booting. You can set everything up from pxelinux.

Last year I switched an entire office over to ArchLinux-based PXE images with NFS root. And I say "ArchLinux-based" because I had to write a whole lot of bespoke stuff to get 75 PXE images to share the same NFS root without them overwriting each other. It was a rather fun project.

You're right, it's not required. I was making it harder on myself by trying to do it (a) without utilizing NFS (b) by booting directly from the ISO (c) using similar method for a multi-boot USB thumb drive. I stopped my pxebooting/linux server experiments in late january and apparently forgot some things (I wrote a lot of stuff out though). Right about the same time my new high-end laptop arrived rolleyes.gif

I was trying to use pxelinux to pass off to another boot loader like GRUB (or grub4dos) which I thought had some features pxelinux lacked like booting directly into large ISOs like the ubuntu server ISO. Without extracting. A method I was going to also use on my thumb drive (syslinux passing to grub4dos) when network booting was still being setup for instance. But I've come the conclusion that doesn't actually work. At least the hundred or so forum posts/articles/documentation pages I've come across leads me to think that's true for the ubuntu server iso (you think i'm exaggerating when I say 100 or so, but i'm not...). So instead, at least for ubuntu server, I'll be extracting the ISO. Also, if I use grub4dos for both pxe booting and on my multi-boot thumb drive I can use the same config files...

I wanted to use http for the source of the install instead of NFS. Don't remember why. Extracting an ISO to either my windows web server directory or the apache directory on the linux server being so easy possibly. Still working on that one.

Sorry if I've rambled off on a tangent. I hope this info is still semi-useful for the OP.
 
VM Server
(17 items)
 
 
CPUGraphicsRAMHard Drive
Intel Ivy Bridge Core i7-3630QM nVidia GeForce GTX 680M 16GB DDR3 1600MHz Dual Channel Memory (2 SODIMMS) Hard Drive: Serial-ATA II 3GB/s 
Hard DriveOSMonitorPower
Hard Drive: Serial-ATA II 3GB/s Windows 10 Pro x64 17.3" FHD 16:9 (1920x1080) Battery: Smart Li-ion Battery (8-Cell) 
Audio
Sound Blaster Compatible 3D Audio 
CPUMotherboardGraphicsRAM
Intel Core i7 860 Biostar T5 XE Radeon HD 5870 Corsair 16GB  
Hard DriveHard DriveOptical DriveOS
Western Digital hard drive wd1001fals-00e8b0 Maxtor 300GB I don't need no stinking optical drive Microsoft Windows 7 Ultimate x64 
MonitorMonitorKeyboardPower
HP ZR24w 24'' Samsung SyncMaster 24" logitech wireless k360 Seventeam ST-850ZAF 850W ATX 
CaseMouseAudioAudio
Thermaltake V9 Black Edition Logitech G500 Programmable Gaming Mouse FiiO E7 USB DAC and Portable Headphone Amplifier Sennheiser HD555 Professional Headphones 
  hide details  
Reply
 
VM Server
(17 items)
 
 
CPUGraphicsRAMHard Drive
Intel Ivy Bridge Core i7-3630QM nVidia GeForce GTX 680M 16GB DDR3 1600MHz Dual Channel Memory (2 SODIMMS) Hard Drive: Serial-ATA II 3GB/s 
Hard DriveOSMonitorPower
Hard Drive: Serial-ATA II 3GB/s Windows 10 Pro x64 17.3" FHD 16:9 (1920x1080) Battery: Smart Li-ion Battery (8-Cell) 
Audio
Sound Blaster Compatible 3D Audio 
CPUMotherboardGraphicsRAM
Intel Core i7 860 Biostar T5 XE Radeon HD 5870 Corsair 16GB  
Hard DriveHard DriveOptical DriveOS
Western Digital hard drive wd1001fals-00e8b0 Maxtor 300GB I don't need no stinking optical drive Microsoft Windows 7 Ultimate x64 
MonitorMonitorKeyboardPower
HP ZR24w 24'' Samsung SyncMaster 24" logitech wireless k360 Seventeam ST-850ZAF 850W ATX 
CaseMouseAudioAudio
Thermaltake V9 Black Edition Logitech G500 Programmable Gaming Mouse FiiO E7 USB DAC and Portable Headphone Amplifier Sennheiser HD555 Professional Headphones 
  hide details  
Reply
post #14 of 15
Quote:
Originally Posted by subassy View Post

You're right, it's not required. I was making it harder on myself by trying to do it (a) without utilizing NFS (b) by booting directly from the ISO (c) using similar method for a multi-boot USB thumb drive. I stopped my pxebooting/linux server experiments in late january and apparently forgot some things (I wrote a lot of stuff out though). Right about the same time my new high-end laptop arrived rolleyes.gif
Oh believe me, NFS booting definitely doesn't make it easier. PXE booting is a pig whichever way you try to do it laugher.gif

With regards to booting directly from the ISO - can you not just copy the syslinux ISO booting config to pxelinux (since they're essentially the project).
Quote:
Originally Posted by subassy View Post

I was trying to use pxelinux to pass off to another boot loader like GRUB (or grub4dos) which I thought had some features pxelinux lacked like booting directly into large ISOs like the ubuntu server ISO. Without extracting. A method I was going to also use on my thumb drive (syslinux passing to grub4dos) when network booting was still being setup for instance. But I've come the conclusion that doesn't actually work. At least the hundred or so forum posts/articles/documentation pages I've come across leads me to think that's true for the ubuntu server iso (you think i'm exaggerating when I say 100 or so, but i'm not...). So instead, at least for ubuntu server, I'll be extracting the ISO. Also, if I use grub4dos for both pxe booting and on my multi-boot thumb drive I can use the same config files...
Granted I've not tried to do this for myself, but syslinux is supposed to support what you're doing and pxelinux is based on syslinux, so there's no reason why it shouldn't work. I think maybe your approach was wrong. Instead of trying to load GRUB from pxelinux, perhaps you should be mounting the ISO in pxelinux and then chainloading to that - where the ISO's bootmenu (which usually is GRUB) will kick in automatically itself.
Quote:
Originally Posted by subassy View Post

I wanted to use http for the source of the install instead of NFS. Don't remember why. Extracting an ISO to either my windows web server directory or the apache directory on the linux server being so easy possibly. Still working on that one.
I really wouldn't recommend that. NFS is far better suited. Hell, even using TFTP to pull the ISOs is preferable to downloading them via HTTP.
Quote:
Originally Posted by subassy View Post

Sorry if I've rambled off on a tangent. I hope this info is still semi-useful for the OP.
Good point. If you want to discuss this further then perhaps we can ask a mod to fork the thread?
Edited by Plan9 - 5/30/13 at 4:33pm
post #15 of 15
I put in a request to fork it but I don't know if I did it right or if it will happen...
 
VM Server
(17 items)
 
 
CPUGraphicsRAMHard Drive
Intel Ivy Bridge Core i7-3630QM nVidia GeForce GTX 680M 16GB DDR3 1600MHz Dual Channel Memory (2 SODIMMS) Hard Drive: Serial-ATA II 3GB/s 
Hard DriveOSMonitorPower
Hard Drive: Serial-ATA II 3GB/s Windows 10 Pro x64 17.3" FHD 16:9 (1920x1080) Battery: Smart Li-ion Battery (8-Cell) 
Audio
Sound Blaster Compatible 3D Audio 
CPUMotherboardGraphicsRAM
Intel Core i7 860 Biostar T5 XE Radeon HD 5870 Corsair 16GB  
Hard DriveHard DriveOptical DriveOS
Western Digital hard drive wd1001fals-00e8b0 Maxtor 300GB I don't need no stinking optical drive Microsoft Windows 7 Ultimate x64 
MonitorMonitorKeyboardPower
HP ZR24w 24'' Samsung SyncMaster 24" logitech wireless k360 Seventeam ST-850ZAF 850W ATX 
CaseMouseAudioAudio
Thermaltake V9 Black Edition Logitech G500 Programmable Gaming Mouse FiiO E7 USB DAC and Portable Headphone Amplifier Sennheiser HD555 Professional Headphones 
  hide details  
Reply
 
VM Server
(17 items)
 
 
CPUGraphicsRAMHard Drive
Intel Ivy Bridge Core i7-3630QM nVidia GeForce GTX 680M 16GB DDR3 1600MHz Dual Channel Memory (2 SODIMMS) Hard Drive: Serial-ATA II 3GB/s 
Hard DriveOSMonitorPower
Hard Drive: Serial-ATA II 3GB/s Windows 10 Pro x64 17.3" FHD 16:9 (1920x1080) Battery: Smart Li-ion Battery (8-Cell) 
Audio
Sound Blaster Compatible 3D Audio 
CPUMotherboardGraphicsRAM
Intel Core i7 860 Biostar T5 XE Radeon HD 5870 Corsair 16GB  
Hard DriveHard DriveOptical DriveOS
Western Digital hard drive wd1001fals-00e8b0 Maxtor 300GB I don't need no stinking optical drive Microsoft Windows 7 Ultimate x64 
MonitorMonitorKeyboardPower
HP ZR24w 24'' Samsung SyncMaster 24" logitech wireless k360 Seventeam ST-850ZAF 850W ATX 
CaseMouseAudioAudio
Thermaltake V9 Black Edition Logitech G500 Programmable Gaming Mouse FiiO E7 USB DAC and Portable Headphone Amplifier Sennheiser HD555 Professional Headphones 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Linux Lab using old rig