I'd second the idea of having a trainer for the first few months as well. Learn your form, create a routine, and get past the initial barrier of being out of shape and the inevitable delayed onset muscle soreness that might dissuade you from continuing. After that you are set to do your own thing. Wear headphones while you workout and people won't bother trying to talk to you which is great and you can ignore them too. Listening to music while you workout can increase your strength and stamina depending on the type of music you listen to. I mean if you can find a friend to workout with and spot you great but its not really necessary unless you are benchpressing without any safety bars(you can always dump the weights off to one side in an emergency though but that makes a big mess to reset it all.
"It's better to be prepared for an opportunity and not have one than to have an opportunity and not be prepared." -- Whitney Young Jr.