Download XCode without logging in to Apple...

I need to install XCode on my (10.4) server so that hopefully I can compile and install mod_python on the server. I need to download the XCode file from the Apple website, but it requires a login. I can download the installer to my (10.5) computer and then upload the file to the server. It seems stupid though to transfer the file twice just to get around Apple's login window.

How can I download the XCode installer withought logging in to Apple?

2.4 MBP, Mac OS X (10.5)

Posted on Jan 7, 2008 11:15 PM

Reply
31 replies

Jan 8, 2008 5:32 PM in response to etresoft

I installed it, and I installed fink on all my Apple computers. Neither are official apple products. Why is one acceptable to mention and the other is not?

My only question was if I could somehow cross-compile for my ipod. That seems fairly harmless. Hardly worth the time of the censors.

They can delete any post they want. That wasn't my point. My remark was about why they would want to.

Jan 8, 2008 5:46 PM in response to foilpan

OK, try this:

1. Locally, download vineserver:

http://www.redstonesoftware.com/downloads/Vine.dmg

Copy both apps to your desktop.


2. From your desktop directory

scp -r Vine\ Server.app youraccount@server.in.denver.com:Desktop/.

3. Have someone log into the console at the server in your account.

4. From your client machine, ssh into the server, and then issue this command:

~/Desktop/Vine\ Server.app/Contents/MacOS/OSXvnc-server

that will start the server.

5. Use the other application (Vine Viewer.app) to connect. Once this works, you have a remote display of the whole screen and can do whatever you need to do.

I used to run OS X machines in my lab in California from Cambridge, UK this way.

An alternative to the Vine Viewer is

JollyFastVNC. I prefer that.

Jan 8, 2008 7:12 PM in response to Bill Scott

I have VectorLinux running in Parallels. I like it because its a plain, vanilla Linux with nothing strange and a small footprint. I have heard good things about Ubuntu, but only in terms how nice the Interface is and how "usable" it is. I have my Mac for that stuff. If I need Linux, I have VectorLinux. I don't need OpenOffice, Gnome, Kde, Firefox, or any of the other stuff that comes on Ubuntu.

I can't stand Fink because I see so many messages here from people who are trying something that would be fairly trivial without Fink but they are stuck dead in the water because of some Fink library problem. I've never needed it. I've never seen a better UNIX than MacOS X 10.5. What do you think is a struggle to do in a Unix fashion on a Mac? (Not a rhetorical question. I would like to help. Maybe in a new thread though).

The original poster's problem was mainly just about connecting to ADC. I think it would be better to build mod_python locally and ftp the library to the server. Then maybe turn VNC on.

Jan 8, 2008 9:09 PM in response to foilpan

Wow, thanks to everyone for all the great ideas! I can see that installing the compiler is standard for servers. My mistake. And yes, this server is a standard OSX.

"Links" does not support SSL, and so cannot log into the Developer site. "eLinks" does support SSL, and is also a pretty nice browser. I did spend a few hours with "eLinks" installing it on my own Intel Mac using Macports. But when I transferred the files to the (PPC) server it would not run. Too bad, because eLinks does navigate the Apple pages and downloads the file on my own Mac.

The VNC solution does not work, apparently the firewall on the other end is blocking port 5900.

I did figure out the exact navigation to arrive at the download link. Tomorrow I will have my sister go to the server and initiate the download in a normal browser.

I have learned a tremendous amount from this discussion, thank you all for your time and work.

Jan 9, 2008 8:26 AM in response to Gnarlodious

To get around the firewall, I temporarily turn it off for 60 seconds while I start the vnc-server and then log in. Then I turn it on with a function I wrote called "restore_settings" which has the command I use for restarting my firewall (specific to the software I use).


#!/bin/zsh -f
function startvnc () {
print "Are you sure you want to start this service? [y/n] "
sudo ipfw flush 2> /dev/null > /dev/null
setopt NO_notify
autoload -U restore_settings
restore_settings &
print "Starting VNC server. Cancel or quit before logout with Control-C."
/Applications/Utilities/Vine Server.app/Contents/MacOS/OSXvnc-server "$@" 2> /dev/null > /dev/null
}
startvnc



restore_settings function:



function restore_settings () {
setopt NO_notify
sleep 60
sudo ipfw /path/to/my/firewall.conf > /dev/null
}


Message was edited by: Bill Scott

Jan 9, 2008 10:31 AM in response to Bill Scott

or you could pipe vnc through a handy ssh tunnel so you don't need to disable your firewall. the original poster can do this, too.

from your machine, do something like this (provided there's nothing blocked on the remote firewall):

<pre>ssh -vv -N -L 5999:remote_ip:5900 user@remote_ip -</pre>

then, connect with a vnc client on localhost:5999 (or whatever you choose).

this may not work for your particular situation, but it's an example of what's possible.

Jan 9, 2008 1:20 PM in response to etresoft

I'll start a new thread and they will probably delete it.

But three examples:

1. Compiling stuff on 10.5 for use on 10.4 seems to be problematic (although going the other direction seems ok).

2. Stuff like NFS is a PITA on OS X vs Linux, Irix, Sun, Solaris, etc.

3. Not having X11 as an always-on windowing option makes it harder to use 3rd party unix applications. Unlike many here, I think 10.5 really improved that.

I maintain packages for fink, so I am not unbiased, but I think it has helped make system administration for me and others who depend heavily on gigabytes worth of third-party software managable. Most of what I have seen here is due to naive user error. If used correctly, it is pretty close to flawless. If it wasn't, I would have ditched it long ago.

Jan 10, 2008 5:40 AM in response to Mr.Lobotomy

Success!
Taking the hint from Mr Lobotomy I found a PPC compiled version of "eLinks" here:
http://www.dustin.li/Publish/Software/Entries/2007/12/3ELinks0.11.3.html

I installed it like this:

<pre style='font-family: Monaco;width: 90%; margin: auto; padding: 5px; border: 1px solid #B1B5B9; background: #EEEFF1;'>hdid ELinks_0.11.3b.dmg
installer -pkg 'ELinks 0.11.3.mpkg' -target /
</pre>

I then launched the app:

<pre style='font-family: Monaco;width: 90%; margin: auto; padding: 5px; border: 1px solid #B1B5B9; background: #EEEFF1;'>/usr/local/bin/elinks</pre>

I logged in to http://connect.apple.com/ , surfed to the download page and it all worked.


Thanks also to etresoft, foilpan and Bill Scott for additional suggestions that will make the server easier to manage. This is a great resource!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Download XCode without logging in to Apple...

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.