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
ADVERTISEMENT
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
View Related
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
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
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
Aug 2, 2010
I am using Ubuntu and looking for a good editor to edit a file that is > 4GB. I just need to put content at the end and beginning of the file. I suppose I could use something like
cat "text to add" >> huge_file
To append to the file. Is that the route to go? What about prepending? In general, what is the best route if I wanted to edit somewhere in the middle?
I've tried VIM and it fails miserably. I assume emacs and nano would be even worse. What else is there? I assume to accomplish what I am looking for, the editor would have to be specifically designed for this by not keeping the entirety of the file's contents in memory.
View 5 Replies
View Related
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
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
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
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
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
Aug 8, 2011
when I type "crontab -e" to edit the file, it is not opening in the editor & showing output as "285". I just wanted to edit crontab, So could anybody please tell me which is the real file of crontab, so I can manually edit that file using vi editor or nano. Or if that default editor is corrupted when I type "crontab -e", how can I change default editor before using "crontab -e" command. I will be waiting for your kind reply
View 2 Replies
View Related
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
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
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
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
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
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
Jan 3, 2011
Is there a video editor that also allows me to edit the audio. For example I have 2 videos and want to take the audio from one clip and add it to the other clip. I have tried Avidemux and Pitivi but these don't seem to have this ability.
View 9 Replies
View Related
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
Jul 1, 2010
I recorded someone using a VCR (tape) camcorder-it was all I had available. I've now recorded/transfered the tape to DVD format, so it's now digital instead of analog. I want to edit the file and separate it into smaller files. What's a good program to use?
View 6 Replies
View Related
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
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
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
Aug 2, 2011
My system is fedora 15 and i have been using quanta plus as my editor to edit html and php files... I need windows based quanta plus .. though I googled a lot for windows platform I may not be able to get ..
View 2 Replies
View Related
Oct 24, 2010
I've been looking for a good, easy to install, video editor. All searches thus far have lead into blind install alleys. All I want to do at this point is edit, cut, and paste AVI and MPEG4 files.
View 4 Replies
View Related
May 31, 2011
When I try to edit p2p1 with nm-connection-editor, it aborts back to the command prompt with the following error.
Quote:
# ./nm-connection-editor
(nm-connection-editor:1879): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0).
[code].....
My /etc/sysconfig/network-scripts/ifcfg-p2p1:
Code:
# New Fedora Core 15+ Ethernet naming convention: use "ifconfig -a" to find
# new port name
# Use "ethtool -p port_name" (ethtool -p p2p1) to blink LED's on backup of
# port jack to find which port goes to which name
[code]....
View 8 Replies
View Related
May 26, 2010
I have a server I can ssh into, and I am also running Ubuntu. How do I edit this remote file using any program I have installed on my local Ubuntu, without copying it to local, editing it, and copying it back?
View 4 Replies
View Related
Sep 7, 2010
Warning: Do not edit /etc/sudoers directly with an editor; Errors in syntax can cause annoyances (like rendering the root account unusable). You must use the visudo command to edit /etc/sudoers. In the previous section we added your user to the "wheel" group. To give users in the wheel group full root privileges when they precede a command with "sudo", uncomment the following line:
%wheelALL=(ALL) ALL
so i signed in as root and typed in visudo now i alreayd made the changes but how do i exit and save super+x doesnt seem to do it for me since im not using nano and not supposed to cause it causes errors
View 3 Replies
View Related
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