[CPLUG] Dual-boot Linux
David Sharp
whereami at gmail.com
Thu Jan 8 22:14:59 PST 2009
whenever anybody says "svn", i have to say "git". Why? b/c I used to
preach svn, but then I saw the way. Yes, it has a bit of a learning
curve, but it is worth it, and recent versions are much easier to use.
git also works over ssh. Dunno if it's on the lab machines, but it is
easy to compile and run out of your home directory, or I'm sure Josh
can give you the hook up.
not convinced? listen to Linus then: http://www.youtube.com/watch?v=4XpnKHJAok8
(it's a bit old, so everything he says is in the future is already here.)
On Thu, Jan 8, 2009 at 11:59 AM, Nat Welch <calvin166 at pseudoweb.net> wrote:
> This is definitely doable, and josh would be the one to talk to if
> this is what you want to do. I have two alternative suggestions
> though.
>
> Option 1. Use SVN.
>
> This is how I do things. I created an svn repository on vogon and I
> check all of my code into it. Then I added the following lines to a
> file name .ssh/config (which is in my home directory) :
>
> Host vogon
> Hostname vogon.csc.calpoly.edu
> User nwelch
> KeepAlive yes
>
> so now I can first of all just type ssh vogon, instead of ssh
> nwelch at vogon.csc.calpoly.edu, but i can also do this awesome svn
> checkout:
>
> svn co svn+ssh://vogon/home/nwelch/school/classname/
>
> Or if I want to get all of the class work I've ever done
>
> svn co svn+ssh://vogon/home/nwelch/school/
>
> I can then go into the folder
>
> cd classname
>
> and do my work
>
> vim file.c
>
> when I'm done for the day or whatever I check in my progress.
>
> svn ci
>
> and then when I get home, I can get the work I did on the lab machines
> or wherever by changing into the school directory which I had
> previously checked out and updating it.
>
> cd school
> svn up
>
> now my work is the same on both my student account and at home.
>
> Option 2. Use SSHfs
>
> What I have done in the past for other scenarios and before I used svn
> (which I like because it tracks your changes) is use sshfs (
> http://fuse.sourceforge.net/sshfs.html ). SSHfs basically allows you
> to mount any ssh directory. This of course requires you to be online,
> but that's a similar requirment as what you are asking above. This
> requires a little research, but you can easily put this in your
> /etc/fstab (the mount points here are mounted at boot) and you will
> always have your lab folder available.
>
> Hope these ideas help.
>
> /Nat
>
>
> On Thu, Jan 8, 2009 at 11:09 AM, Mark Gius <mgius7096 at gmail.com> wrote:
>> I declare this to be the official thread since it has a subject.
>>
>> Mark
>>
>> On Thu, Jan 8, 2009 at 11:07 AM, Mark Gius <mgius7096 at gmail.com> wrote:
>>> When you say "log in directly to your CSC account" I'm going to assume
>>> you mean you wish have your username/password/profile from the CSC
>>> building apply to your local machine, so in essence, you are going to
>>> have your laptop serve as a lab machine, only you own it.
>>>
>>> As far as I know, no one has ever done this (attaching their personal
>>> linux machine to the CSC domain), but if you're interested in doing
>>> it, you're going to want to talk to the CSC admins about it,
>>> specifically Greg, Byron, and Josh (Greg and Byron have offices in the
>>> main CSC lab). Most of the configuration is very specific to the CSC
>>> dept, and non-CSC admins aren't exactly privy to the details. If you
>>> want to try and hack your way in (which I _really_ don't reccomend)
>>> you're going to want to look into authentication via Windows Active
>>> Directory and NFS home directory mounting (neither of which I've done
>>> on Fedora).
>>>
>>> A much easier option (which I highly reccomend), is to have a gnome
>>> virtual filesystem (or the KDE equivalent) that mounts your CSC home
>>> directory in a folder on your desktop, and then access your files from
>>> there. I've done this before, and it gives you a really simple way to
>>> access your files without having to deal with other software. We can
>>> help you set this up fairly transparently (so that your programs can't
>>> tell it's a network drive), and it's going to be a LOT easier than
>>> trying to strap your system into the CSC domain.
>>>
>>> Mark Gius
>>>
>>> On Thu, Jan 8, 2009 at 10:56 AM, Spencer Ellsworth <sellswor at calpoly.edu> wrote:
>>>> Hi all,
>>>> I'm trying to dual boot Windows and Fedora 9. The thing is that I want to
>>>> set up Fedora so that when I boot it, I'll be able to log directly into my
>>>> Cal Poly CSC account. Can anyone tell me how I should go about doing this,
>>>> or point me in the right direction (tutorials, websites, etc.) Any help
>>>> would be greatly appreciated.
>>>>
>>>> Thanks again,
>>>>
>>>> Spencer
>>>> _______________________________________________
>>>> Cplug mailing list
>>>> Cplug at lists.cplug.org
>>>> http://lists.cplug.org/mailman/listinfo/cplug
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> Cplug mailing list
>> Cplug at lists.cplug.org
>> http://lists.cplug.org/mailman/listinfo/cplug
>>
>
> _______________________________________________
> Cplug mailing list
> Cplug at lists.cplug.org
> http://lists.cplug.org/mailman/listinfo/cplug
>
More information about the Cplug
mailing list