iptables

Wie gesagt postgres ist installiert....

Laut: http://www.cyberciti.biz/faq/howto-fedora-linux-install-postgresql-server/

Beim umkonfigurieren von # vi /etc/sysconfig/iptables

Hatts mich aber fregiert :slight_smile:

Last login: Tue Dec 16 13:04:07 2008 from pc-praktikant.uts.intranet

[root(a)nb-kwasig ~]# vi /etc/sysconfig/iptables

          owned by: root dated: Tue Dec 16 12:57:42 2008

         file name: /etc/sysconfig/iptables

          modified: YES

         user name: root host name: nb-kwasig.uts.intranet

        process ID: 20494

While opening file "/etc/sysconfig/iptables"

             dated: Tue Dec 16 13:08:14 2008

      NEWER than swap file!

(1) Another program may be editing the same file.

    If this is the case, be careful not to end up with two

    different instances of the same file when making changes.

    Quit, or continue with caution.

(2) An edit session for this file crashed.

    If this is the case, use ":recover" or "vim -r /etc/sysconfig/iptables"

    to recover the changes (see ":help recovery").

    If you did this already, delete the swap file "/etc/sysconfig/.iptables.swp" to avoid this message.

Da ich VI gleich wie linux noch nie verwendet habe und einfach die Kommandozeile zugemacht habe, ist da immer noch ein offenes File auf meinem PC.

Meine Fragen:

1) Wie schließe ich diese offene File wieder???

2) Gibt es eine Angenehmere Art und Weise solche Files zu konfigurieren als VI. Ihrgend einen Text editor oder so was.

Mit freundlichen Grüßen

Mutsch

attachment.htm (10.8 KB)