Hi there,
Its understandable to be nervous but the important thing to remember is that everyone is in the same boat. All the students are starting university for the first time and are probably just as worried as you are so dont be afraid of them!
My best advice is to join societies. Personally i have made 90% of my friends from the socities i joined and it feels like gaining a whole new family. Have a look on your universities website to see what they offer and join any and all that shout out to you. You won't stick with everything but its a great way to get out your comfort zone, meet new people and you may even find a new passion.
While living away is great its not vital to making friends. Some people really bond with those they live with while others may not so much. Univeristy is full of opportunities from your classes and group projects to events hosted by the students and socities/clubs etc.
It all comes in good time. I am yet to meet a student who can honestly say they dont have friends so i wouldnt worry. One way or another you'll be meeting new people and making lots of new friends.
Hope this helped,
Sophie