Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
This was my directive from the client.
"Design a home page with a couple of subwebsites, one for my business and one for my wiges business? The general idea is to host 2 websites on my server which i have purchased a couple of days ago from fasthosts.co.uk. It is 80 gb capacity and it is vitrual private server.
I only need to design webite - domain and server I already have.
With Monika she also needs a domain name, which we can find"
I am using dreamweaver and asked for the following details (which he sent me and are shown in red)
What is the hostname or FTP address of you Web server? www.masterfresh.co.uk
What folder on the server are the files stored in ? (i.e.) wwwroot yes
What is your FTP login? root
login must be by SFTP - it is linux based server
Then after much trying to upload and view the basic site page and only getting an Apache test page I asked for him to confirm again the ftp details, which I then got a different answer on the folder to upload to, this being
They are in /root/ should be /var/htm/www
So I looked at the remote server and the local view and tried to make a file the same, but that hasnt worked .
Okay, there are some things that pop in sight, here.
What is your FTP login? root
Eeeeeeeeeeek! Not safe. Your client needs to set up a user account and have THAT login used.
NOT the root's login.
(it needs to read /var/html/www - but I suspect this to be a typo in this message)
...this is correct, however, with your login, and (if the server is ste up right) pass, you will end up in the folder of the user, not the /var/html/www, a link still needs to be made to that folder from the user's folder, with the proper privs...
mount /var/html/www /home/user/aFolder
where aFolder is an empty folder set up in the user's home folder, this command will link the /var/html/www INTO that folder, and make it accessible for the user (effectively: you)...
If you keep seeing the Apache page, this only means one thing...your upload may have ended up in the root's folder...not accessible for the Apache server...
I'd like to keep this thread on my radar to help further, if need be...
Last edited by ButterflyMelissa; 08-20-2011 at 04:11 PM.
Many thanks for such a quick and descriptive post. I did think that the information I was asking for and the actual information received did not add up, but as I am very unfamiliar with Lynux and Apache I thought maybe he knew more than I did (as he said he had bought a private virtual server).
I did think direct to root was suspect and then the additional information of var/htm/www was incomplete. I do think that maybe it is the blind leading the blind unfortuantely, but I have to make sense of the information given. Your suggestions are veery helpful thank and I will try those now and let you know if I have any success.
Thanks again, your help is very much appreciated.
...of course, this would'nt be much of a forum otherwise. The reading is just the "give someone a fish or teach someone to fish" thing, but asking solves your problem now, reading arms you for what's next...
Please accept my apologies in advance for any dumb questions I might ask!
Done...you should see my first questions...and that's only three years ago...
I was soooo pleased when I found this forum on a search.
Welcome to the bunch...and
sharing their knowledge freely and friendly.
...that is the Linux way, it kinda grows on you...
...and even we're still learing, so...
I must admit it was getting me down not being able to figure out the Lynux and Apache
Well, dont let it get you down...let's see about the time scale... Linux (spelled with a I not a Y by the way) that'll take a life time...Apache...a little (but only a little) less...
Ive emailed my client to ask for a user and password for the server.
By the way : while he's at it, suggest that he changes the root password as soon as conveniently possible: right away. This is the main password that if the perfect hacker-candy...
Last edited by ButterflyMelissa; 08-20-2011 at 06:02 PM.
This really sounds like questions that could be better answered by tech support at your webhosting provider, assuming they have tech support service. It has less to do with Linux than it does with how their system works.
You're right, however, if a virtual private host is in use, just how far can the tech support go? Such a host implies a complete DIY approach. At any rate, OP does'nt have the tools (password, info, config and such) to deliver. The "owner" of the server (the client in this case) should get this thing properly configured, and get that root pass changeed, pronto.
By the sound of it, your customer might be better of with a 'shared hosting' plan
I suggest that you ask your customer to provide you with the email with all setup and login details that he more than likely received when he registered. That way you know that you have the complete and correct information.
I had a quick look at fasthosts and there seems to be a control panel as well to configure (parts of) the system.
Thank you all who replied to my Linux (spelt right now thanks!)and Apache query. I asked my client for all the original logon details etc and also if he wanted to configure the server and change password....... well my latest reply from him ......
He isn't sure if he is going to carry on with the fasthost server .... finds it complicated (my reply was if he sent me the detaild I am sure I could explain how to use it with the original email details etc from fasthost).
And ..... (this one's a beauty) ...... he's found a free template to use instead of having one designed !
I guess you can't please them all.
Thanks everyone for your help anyway and I I look forward to reading more posts on the site to expand my knowledge further !
Not at all. I think I've had a lucky escape ! Clients such as that (want a cheap option) can be hard work and very time consuming ! He has even emailed since to ask me how he can get one of the areas changed in colour !
Thanks anyway Thor, I'm glad I found this forum and look forward to reading more interesting posts !