LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-19-2012, 04:58 AM   #1
thallium
Member
 
Registered: Oct 2012
Location: Austin, TX
Distribution: Ubuntu Server 12.04
Posts: 33

Rep: Reputation: Disabled
Windows user turned Linux - Why, how I got here, my experience and where I'm at.


This is my story, read if you need encouragement:

Previous Experience:
I was a hardcore Microsoft user for awhile and I can troubleshoot almost anything in Windows, knew my way around Office with VBA, even interfaced to some devices at work with C using notepad++ to VisualStudio. I work in chemical research and I encounter many different types of challenges, sometimes machines must be interfaced to computers and tweaked using C, Python, JAVA, etc. However, I was use to always having the windows GUI and at worst running a few things on the command line (ipconfig /all?)

The Problem:
I considered myself a fairly experienced computer user and wanted to have more control over a particular problem that might get expensive: Managing data for projects that span 3-5 years time. I had an experience that was a disaster and wanted to never repeat that problem again. I wanted to use mediawiki for this, it seemed to have stood the test of time. As I researched the problem, I came to the conclusion I needed to put this on a more private server given the confidential nature of the data. But also, just to learn more about serving pages (Apache), database (MySQL), and server side programming (PHP).

The Solution:
I settled on using Ubuntu Server 12.04 PP, a LAMP setup. I bought a $30 box, Dell Precision 670, with SCSI, IDE and SATA ability. I needed this box to just develop things and as a proof of concept for what I was doing. Also as just a plain learning experience about servers. I also wanted to have a place to store data just for my personal use (music, etc.)

My experience:
Going with Ubuntu Server was a weird choice for a n00b. But I wanted a box that was going to be headless and I would manage remotely, having a GUI might tempt me to get a little lazy. Ubuntu installed without a hitch. I then installed mediawiki, which also went well. I had access to a running website within a few hours.

The headaches:
I wanted a GUI anyways and installed one, but it caused way more problems. I couldn't really behave as root when editing files, also it didn't really detect my internet connection also the icons disappeared after the second boot up, I figured out a way to only open the GUI if I need to post something to a forum. I also found out that I couldn't make my IP static on my router, so I was going to have to do something about that.

I needed this thing to be remotely accessible, so I installed OpenSSH-Server and thot everything should work well with Putty and WinSCP from my Windows Box. It just didn't work, my jaw almost dropped. Every forum made this seem like a no brainer. What I found out is that my sshd_config had been written to more than once and it just plain didn't allow SSH to keep a session open for whatever reason (i.e. there were multiple instance of Port 22 being listened to). This lasted many days as I just managed the server in person at night ugh. Until I fixed it.

Remotely managing my server was a dream come true, I was literally moving files around, modifying HTML and building up a site, one keystroke at a time.

I tried to install another web based service, but it took me a whole day of tinkering with PHP extensions to get it going, wow. It was painful compared to mediawiki. It was an opensource project that had only been open for a few years (Open Enventory), I just wanted to see if I could get it up and running and I need. Linux, Apache, MySQL, JAVA, PHP and all!

It was time for my last and final step, put my NTFS hard drives on the server and start backing them up and accessing them remotely through SSH.

With some trouble, I got the drive mounted on the IDE cable in my box and was accessing my files over the internet! Awesome!

Then the hard drive with my ubuntu OS along with all my newly installed and configured web services and my ddclient DynDNS updater died. Just plain hardware failure. Ugh. I still had all my data, just all my OS and services were all gone.

I had come so far but learned so many lessons, my next one is learning how to back up hard drives. As annoying as the lessons were, they will stick with me very much as I go forward.
 
Old 10-19-2012, 02:19 PM   #2
rtmistler
Senior Member
 
Registered: Mar 2011
Location: Milford, MA. USA
Distribution: MontaVista, Ubuntu, MINT
Posts: 1,013
Blog Entries: 7

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Kudos to you for taking a leap and trying something new. Sounds like it was working to a point, there were deficiencies, but you stuck through it and found some rewards.

I'm confused. $30 system. Second hand? Brand new, stripped system? If second hand, yes, failure of some unknown aged device can occur and it is simple to buy replacement hard drives. New system and the hard drive failed? Are you sure? Or has it just become un-bootable because all the stuff you've been trying you ended up causing Linux or the bootloader for it to become invalid.

If you can boot off the CD or a thumbstick and recognize your hard drive and re-install, you may be able to recover all the existing data on that drive. In fact, by not re-installing and booting off of CD or flash drive you should be able to see the hard drive and it's contents. If the hard drive has truly failed, then no, you won't be able too.

I say buy a fresh hard drive, but consider buying a brand new system if you happened to buy something second hand. These days one can buy a free-OS based system that is new for a small amount of money.

Get it configured as you had done previously. Stop at a convenient point and make a backup of that drive using a flash drive of some sort. Have it so that the flash drive can contain 2 or 3 backups. And practice persistent backups.
 
Old 10-19-2012, 03:34 PM   #3
thallium
Member
 
Registered: Oct 2012
Location: Austin, TX
Distribution: Ubuntu Server 12.04
Posts: 33

Original Poster
Rep: Reputation: Disabled
The dell is a second hand machine.
The drive is very dead. BIOS detects the drive, and the SCSI controller shows that it has a -Medium Error on it. Ubuntu does not see the drive really. It keeps saying it's a 1.8MB drive and won't install on it. I'm just going to get another hard drive. For $30, the machine has served it's purpose well and I learned a lot. I will try to go with new stuff next time.
 
Old 10-19-2012, 03:41 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,098

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
Use scsi bios to see if you can do a low level format on it?
 
Old 10-19-2012, 04:40 PM   #5
thallium
Member
 
Registered: Oct 2012
Location: Austin, TX
Distribution: Ubuntu Server 12.04
Posts: 33

Original Poster
Rep: Reputation: Disabled
Just tried that, and it just returns an error. I think it is just a big coincidence. The drive may be over six years old already, but I got off easy this time, since I had invested so little in the projects. Thanks for the suggestion.
 
  


Reply

Tags
n00b, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: My first-ever Windows installation experience, a Fedora 13-Windows 7 dual-boot LXer Syndicated Linux News 0 08-09-2010 07:50 AM
Wireless turned off in Windows mericet Linux - Laptop and Netbook 3 08-09-2010 07:34 AM
LXer: Life as a Linux/Unix admin in a Windows world - PT1 The experience LXer Syndicated Linux News 0 01-18-2006 02:31 AM
User experience in installing a Linux distro impeteperry LQ Suggestions & Feedback 2 11-10-2005 06:08 PM
Can i run Windows and linux on the Same computer, and how? (NO LINUX EXPERIENCE) blackgiroro Linux - Newbie 15 12-15-2004 04:57 PM


All times are GMT -5. The time now is 08:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration