Ubuntu Servers :: How To Edit The File Ports.conf

Jul 8, 2011

I want to edit the file ports.conf to make Apache to listen only to loopback interface as described [URL]... here ,The text extract follows

Quote:

The Listen directive specifies the port, and optionally the IP address, Apache2 should listen on. If the IP address is not specified,Apache2 will listen on all IP addresses assigned to the machine it runs on. The default value for the Listen directive is 80. Change this to 127.0.0.1:80 to cause Apache2 to listen only on your loopback interface so that it will not be available to the Internet, to (for example) 81 to change the port that it listens on, or leave it as is for normal operation. This directive can be found and changed in its own file, /etc/apache2/ports.conf

But by typing [CODE]sudo vi /etc/apache2/ports.conf [/CODE} and opening the file I am not able to edit the file After going to the Listen Directive I am not able to type 127.0..0.1, Since what I type does not appear on the screen, the Keyboard is not working. How will I be able to edit the ports.conf and other configuration files

View 3 Replies


ADVERTISEMENT

Ubuntu Servers :: Use Vi Editor To Edit The Smb.conf File ?

Jul 28, 2010

Trying to get this server to work and abandoned trying to do it with Xubuntu last night and installed Ubuntu server. But now I'm stuck on Samba again as I decided to use the vi editor to edit the smb.conf file and now I can't get out of it.

View 4 Replies View Related

Ubuntu Servers :: Can't Edit /etc/resolv.conf File As Root

Jun 14, 2010

i can't edit /etc/resolv.conf with root account (Ubuntu Server 8.02)

root@webserver:~# sudo vim /etc/resolv.conf
"/etc/resolv.conf"
"/etc/resolv.conf" E212: Can't open file for writing
root@webserver:~# ls -l /etc/resolv.conf
-rw-r--r-- 1 root root 287 2010-06-14 15:20 /etc/resolv.conf

View 9 Replies View Related

Ubuntu :: Can't Edit Resolv.conf File Under Root?

Feb 12, 2011

I am trying to edit my /etc/resolv.conf file while under root. After saving the changes and reboot my computer, file has not changed. I read a thread on chattr and lsattr on this fourm.(see link below) I ran in terminal lsattr /etc/resolv.conf and got the following results:-----------------e- /etc/resolv.confWhat does the dashes and e mean? I thought I would get ----ia------------ /etc/resolv.conf instead, as shown in the link. What am I doing wrong?

View 4 Replies View Related

Fedora :: Edit The Daemon.conf File ?

Jan 17, 2011

My sample rates are out of whack and I need to edit the daemon.conf file.

However if I use

Code:

It will open the file but will not let me edit at all. If I just navigate to it I can edit it, but I can not save it!

I tried going in as root from the terminal and using the code above and I get a weird error.

Something like:

Then it says core dump.

Am I missing something to be able to edit the daemon.conf ?

View 2 Replies View Related

Installation :: CentOS4.5 Edit Grub.conf - Says It Is A Read Only File ?

Nov 12, 2010

I am trying to edit my grub.conf file. I am logged in as root. It says it is a read only file. I have tried to set permission with chmod 777 and also tried through GUI. Using VI it says it's a read only file. Using nano it will not write either. I have two choices on boot up. I want to automatically go to second automatically. First at the moment is CentOS-4 i386 (2.6.9-55.ELsmp) and second is CentOS-4 i386 (2.6.9-55.EL).

View 9 Replies View Related

Fedora :: Error When Try To Edit /boot/grub.conf File Or Any Other Files

Jan 31, 2011

I'm trying to set up some shares on this pc and every time I try to edit the /etc/exports file I get this error. I get the same error when I try to edit /boot/grub.conf file or any other files. Does not matter what editor I use. I'm running f14.

View 3 Replies View Related

Ubuntu Networking :: 11.04 Networking - No Ping Response - Edit .conf File?

Apr 27, 2011

I can connect to the internet and browse. I'm wired and using DHCP on a Windows network. Updating Ubuntu or downloading programs takes hours for 52MB of updates. Why? I read some articles that mention Network Manager needs to be enabled at the .conf file. Can I edit this using GUI or command line only?

View 9 Replies View Related

Ubuntu Servers :: No Path In Smb.conf File

Mar 21, 2010

I successfully shared a subdirectory of my home directory, using GNOME under Ubuntu 8.04 LTS Desktop. What drives me crazy is that I can't find this directory listed in /etc/samba/smb.conf, in a "path" line. Please tell me where is this directory specified, since smb.conf seems to be the only samba config file.

View 5 Replies View Related

Ubuntu Servers :: Where Did My Resolv.conf File Go?

May 8, 2010

I tried to setup a dyndns, and ever since I tried to get that setup, I can't access my webmin, or access /etc/hosts/resolv.conf. But I can still access my samba shares I had created before this happened.

View 5 Replies View Related

Ubuntu Servers :: Can't Edit The HTML File?

Oct 4, 2010

I installed apache and when i go to my 127.0.1.1 ip i see the welcome page. I found the directory where the html is located (var/www/index.html but i cannot edit the file. what is going on here? why cant i edit the HTML file?

View 1 Replies View Related

Ubuntu :: Edit File Inside It, Open It, Edit A File, Then Remake The Bin File?

Mar 3, 2011

I have a linux.img image for ubuntu.I want to edit file inside it, how can open it, edit a file, then remake the bin file?

View 7 Replies View Related

Ubuntu Servers :: Httpd.conf Not Found While Running .PHP File?

Jul 28, 2010

While trying to run the file in PHP I am getting below error. httpd.conf not found Following directories (and its subdirectories) are accesible via Apache:

View 3 Replies View Related

Ubuntu Servers :: Edit Files In Mounted .image File?

Mar 24, 2010

a friend of mines laptop died a few weeks ago and i said i would extract data off the drive for her... did this with dd and created a .image file. I have this image mounted so it is browseable, and we can copy files from it however i am unable to delete files from it?

You'd think it was not a big deal... but i'm running out of space!! and the .image is 90 odd gb. I know i "could" just get the disk and copy the files off she wants... but that would be too easy

View 1 Replies View Related

Ubuntu Servers :: Edit Index.html File With Winscp (SSH)

Mar 4, 2011

Whenever I try to edit my index.html file with Winscp (SSH), it says I don't have the permission to do so. Is there anyway I can change that?

View 4 Replies View Related

Ubuntu Servers :: Edit /etc/environment File And Write There My Variable

May 7, 2011

I edit /etc/environment file and write there my variable by it's not effected, what i need to restart daemon that it's show on echo $VARIABLE.

View 1 Replies View Related

Ubuntu Servers :: WebGUI File Manager - Able To Access And Edit Files From The Web ?

Jun 13, 2011

I'm after a WebGUI file manager which runs on another port rather than port 80 (already have a Apache installed)

But i want to be able to access and edit files from the web, rather using FTP client etc..

View 6 Replies View Related

Ubuntu Servers :: Internet Printer - Configure In The Cupsd.conf File To Put It Online?

Oct 20, 2010

I need to get my printer assigned to a hostname "myhost.dyndns.org". What do I need to configure in the cupsd.conf file to put it online?

View 1 Replies View Related

Ubuntu Servers :: Modify The Httpd.conf File But It's Empty And Wordpress Installation

Jun 17, 2011

I'm installing Wordpress and I want Hosting Multiple Sites with them. For that I need modify the httpd.conf file but it's empty. Where I can make that changes? These are the changes:

1. Type: LoadModule rewrite_module /libexec/mod_rewrite.so
2. Find the <VirtualHost> section in the httpd.conf file.
3. Find a line in the <VirtualHost> section of the httpd.conf that looks like this: AllowOverride None
3. Replace that line with this line: AllowOverride FileInfo Options
4. On a new line, type ServerAlias *.[URL].
5. Save the httpd.conf file and close it.

View 1 Replies View Related

Ubuntu Servers :: Desktop 10.04 Home Server- Editing Httpd.conf File - Fails

Jul 8, 2010

I turned my home PC running Ubuntu 10.04 into a server, and so i am so lost, after reading like a 10-20 different guides and/or official docs, I am totally lost.

All I wanted was to create a custom 404 error page...i read about how people edited .htaccess files to customize error pages, i tried and failed also, editing apache2.conf, I got lost and i dont wanna mess up everything and also, how you're supposed to not touch either of those as its not how it should be done and instead you need to edit httpd.conf and i did and FAILED! again...

Also how do I make it so that I can make subdomain(s) on my site? and wth is a name server and where do I get one?

View 4 Replies View Related

CentOS 5 :: Edit The Iptables To Include Some Ports/ip For Openfire Server?

Jun 16, 2010

I am trying to edit the iptables to include some ports/ip for openfire server. The problem is the computer is very locked down with permissions...I logged in as ROOT with ID 0.Now the iptables has ROOT for permission BUT ID 1 which reflects BIN.As root i cant edit or chmod/chown the iptables. Here is what i tried:

1. change password of BIN - successfully changed with no errors BUT still cant su BIN with the new password...

2. tried changing the ID of ROOT to 1 but I dont have permission to use the command....

so anything i can do here??? I dont have permission with Shadow either...

View 3 Replies View Related

Fedora :: How To Edit Xorg.conf

Sep 2, 2010

Cannot edit xorg.conf on Fedora13. I do it from the root but changes is not saving.

View 7 Replies View Related

OpenSUSE :: 11.4 Will Not Let Edit 50-blacklist.conf ?

Jun 17, 2011

I need to add the following line in /etc/modprobe.d/50-blacklist.conf ..

Code:

In order to get wlan working, but I cannot seem to edit the file .

I tried:

Code:

Code:

I also tried manually opening the file but it is read-only . (I did not set my root folder to read-only, however .)

I even wrote a script in /home/exo/.gnome2/nautilus-scripts that should let me open files as root, but nothing works ..

This is my script:

Code:

View 2 Replies View Related

Ubuntu :: Unable To Edit Either Fstab Or Xorg.conf

Feb 13, 2010

I am running Ubuntu 9.04 on an Acer Aspire laptop and have broken my display system while trying to use the restricted drivers for the nvidia graphics card.

Basically I downloaded and activated the restricted driver. I rebooted and now ubuntu freezes on startup.

I can get access to the command line but am unable to edit either fstab or xorg.conf because ubuntu has mounted the filesystem in read only mode.

I have read and tried all the options given in this posting [URL] but because I cant read or write any of the files I cant seem to affect any change to the system

View 1 Replies View Related

Fedora :: Edit Conf Files In WINE?

Aug 16, 2009

I need to change a game's screen resolution in a couple of .con files, but when I double click on them all I get is success in a little pop up window. Can I move them to my computer, edit them with a text editor, and reinsert them with read only privileges?

View 2 Replies View Related

Fedora :: How Edit Xorg.conf In Terminal

Aug 13, 2010

What is the command I use to edit the xorg.conf in fedora?

Achieve using the following command:

View 2 Replies View Related

General :: Big Fonts After Xorg.conf Edit - Slackware 12.2

Mar 9, 2010

After i edited my xorg.conf file to get 1280x1024 Resolution the font size in some programs is really big. [url]

View 2 Replies View Related

OpenSUSE Network :: Manual Edit Of NetworkManager Conf Files ?

Sep 2, 2010

I cannot seem to find where the conf files for NetworkManager are stored in suse 11.3. I want to manually edit my IP address without using the gui.

View 5 Replies View Related

General :: Cannot Edit Xorg.conf To Fix - Input Unsupported - Message

Jul 10, 2011

I am trying to install debian as a DC but on reboot I get the "Input not supported " error. I switched to virtual input and login to try to edit the xorg.conf file but created a new file instead because the xorg.conf file is open by the installation. How do I close it so I can edit it and continue. I am afraid to start a new file as I am not sure what is in the ools one.

View 2 Replies View Related

Software :: How To Edit My Extensions.conf Located On Remote Host

Feb 4, 2011

I intend to configure my extensions.conf and sip.conf but asterisk in configured on a remote host in another city, i have to travel there to configure it. Is there any way to access it using internet instead of vnc and teamviewer. how can i use telnet to access it or how can i ssh the remote host.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved