server name directive
Hi there
So im setting up my own server never done it before so should be interesting Im going to install apache but it says in my instructions First thing is make sure you open up /etc/httpd/conf/httpd.conf and at least change the ServerName directive So ive found the file, and i managed to open it with hte command ed httpd.conf But it just showed a 5 or 6 digit number. Do i need to edit this and why ? What command should i use to edit? what should i put into this file ? how do i close the file when ive edited it? Woc |
LOL ! ed is not an editor.
Use vim or vi to edit if you are familiar with it. Otherwise use some GUI editor like gedit. |
GNU nano is quite an easy editor.
|
Actally, ed is a really old school editor, pre-cursor to vi. However, these days I'd definitely use vim (may be symlinked from the name vi).
http://linux.die.net/man/1/ed |
Quote:
vim stands for vi improved. vim has a pleothra of features as compared to its predecessor vi. |
Both vi and vim are great editors. They however have quite a steep learning curve. If you are new to Linux I would recommend nano as it is easy to use....
|
Different editors, but some distros do symlink the name vi to point to vim. You can usually access it from via the full path.
|
All times are GMT -5. The time now is 02:36 PM. |