If you are at first lonely, be patient. If you've not been alone much, or if when you were, you weren't okay with it, then just wait. You'll find it's fine to be alone once you're embracing it.
We could start with the acceptable places, the bathroom, the coffee shop, the library. Where you can stall and read the paper, where you can get your caffeine fix and sit and stay there. Where you can browse the stacks and smell the books. You're not supposed to talk much anyway so it's safe there.
There's also the gym. If you're shy you could hang out with yourself in mirrors, you could put headphones in (guitar stroke).