Jul 03

# /etc/network/interfaces

# The first network card – this entry was created during the Debian
# installation (network, broadcast and gateway are optional)
iface eth0 inet static
address 192.109.42.18
netmask 255.255.255.240
network 192.109.42.16
broadcast 192.109.42.31
gateway 192.109.42.17

Netzwerk Restarten:
/etc/init.d/networking restart

Beispiel für Debian 4.0r1

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.0.0.100
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.254
——————————————————————

Themen-Suche:

  • debian netzwerkadresse
  • debian netzwerkadresse festlegen
  • eigene netzadresse mac
  • mac netzwerkadresse
  • Netzwerkadresse festlegen windows 7
  • statische netzwerk addresse
  • wo ist mac netzwerkadresse
  • netzwerkadresse mac
  • netzwerk adresse debian
  • netzwerkadresse hinzufügen im mac

Geschrieben von admin \\ tags: , , ,

Feb 13

SSH installieren
# apt-get install ssh

Geschrieben von admin \\ tags: , ,

Jun 30

Einträge für die /etc/proftpd.conf
Geändert wird nur diese Zeile

SQLConnectInfo vhcs2@localhost root xxxxxxx
SQLConnectInfo [DB-Name]@[DB Host] [DB User] [DB Passwort]

Beispiel
:
#
# VHCS2 Managment;
#

SQLAuthTypes Crypt
SQLAuthenticate on
SQLConnectInfo vhcs2@localhost root hermann
SQLUserInfo ftp_users userid passwd uid gid homedir shell
SQLGroupInfo ftp_group groupname gid members
SQLMinID 2000

#
# VHCS2 Quota management;
#

QuotaEngine on
QuotaShowQuotas on
QuotaDisplayUnits Mb

SQLNamedQuery get-quota-limit SELECT “name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail, files_in_avail, files_out_avail, files_xfer_avail FROM quotalimits WHERE name = ‘%{0}’ AND quota_type = ‘%{1}’”
SQLNamedQuery get-quota-tally SELECT “name, quota_type, bytes_in_used, bytes_out_used, bytes_xfer_used, files_in_used, files_out_used, files_xfer_used FROM quotatallies WHERE name = ‘%{0}’ AND quota_type = ‘%{1}’”
SQLNamedQuery update-quota-tally UPDATE “bytes_in_used = bytes_in_used + %{0}, bytes_out_used = bytes_out_used + %{1}, bytes_xfer_used = bytes_xfer_used + %{2}, files_in_used = files_in_used + %{3}, files_out_used = files_out_used + %{4}, files_xfer_used = files_xfer_used + %{5} WHERE name = ‘%{6}’ AND quota_type = ‘%{7}’” quotatallies
SQLNamedQuery insert-quota-tally INSERT “%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}” quotatallies
QuotaLock /var/run/proftpd/tally.lock
QuotaLimitTable sql:/get-quota-limit
QuotaTallyTable sql:/get-quota-tally/update-quota-tally/insert-quota-tally

DirFakeGroup off
DirFakeUser off

Themen-Suche:

  • proftpd windows mysql

Geschrieben von admin \\ tags: , , ,

Seite 4 von 41234