Projects/DrakWizard

From Mandriva Community Wiki

Jump to: navigation, search
Drakwizard

Drakwizard information:

  • needed RPM
  • capabilities, main goal and detailled features
  • URL
  • shortcut to launch it from command line
  • if they use LibConf
  • TODO list

Contents


[edit] WEB server Apache

need apache-mpm-prefork-2.0.54 (not yet tested with 2.2 version)

URL: http://www.apache.org

Main goal: create a default configuration file for apache

use LibConf: NO

quick way to launch it from command line:

drakwizard apache2

Image:apache.jpg

detailled features:

  • enable/disable intranet/internet access to web server
  • enable/disable user_mod
  • specify documentroot

TODO:

  • add virtual host support ?

[edit] DNS server

need Bind server 9.3

URL: http://www.isc.org/products/BIND/

Main goal: create a DNS server, slave server, add or remove host (server only)

use LibConf: NO

quick way to launch it from command line:

drakwizard bind

Image:dns.jpg

detailled features:

  • can choose wich interface to use
  • can add external DNS server (/etc/resolv.conf)
  • create a root.hints file
  • /etc/named.conf
  • create all needed files for a zone
    • 127.0.0.rev
    • ipnet.rev
    • dodb
  • can add/remove a host in DNS
  • be a slave DNS server (with /etc/rndc.key)
  • add ipforwarder in configuration (support out of zone IP resolution))
  • use rndc key (to get remote access)
  • use named-checkconf (to check configuration file)

TODO:

  • add more check (hostname, ip, domainanme)
  • increment SERIAL (to easily update Slaver DNS server)
  • add on Slave: acl "toto" { { ip du server; ip du slave } } ;
  • allow-update { "toto"; };

[edit] DHCP server

tested with dhcp-server 3.0.3

URL: http://www.isc.org/dhcp.html

Main goal: create a dhcp-server configuration file

use LibConf: NO

Image:dhcp.jpg

quick way to launch it from command line:

drakwizard dhcp

detailled features:

  • can choose wich interface to use
  • specify gateway IP address
  • enable/disable PXE support (detect PXE boot)

TODO:

  • add static IP/MAC in /etc/dhcpd.conf (host computer1 {hardware ethernet fixed-address})

[edit] NFS file server

need nfs-utils-1.0.7

URL: http://sourceforge.net/projects/nfs/

Main goal: quickly share a directory via NFS server

use LibConf: NO

quick way to launch it from command line:

drakwizard nfs

Image:nfs.jpg

detailled features:

  • add nfs directory (/etc/exports)
  • nfs netmask
  • nfs access

TODO:

  • remove an existing nfs directory

This tool is no more needed, please now use draknfs to add/remove/modify NFS share.

[edit] FTP server

need proftpd-1.2.10

URL: http://proftpd.org/

Main goal: create a default configuration file for proftpd

use LibConf: NO

quick way to launch it from command line:

drakwizard proftpd

Image:ftp.jpg

detailled features:

  • /etc/proftpd.conf
  • enable/disable intranet/internet access
  • Chroot home user
  • specify FTP port
  • enable/disable fxp ftp option
  • enable/disable chroot home user
  • enable/disable resume ftp
  • specify email server admin
  • enable/disable permit root login
  • enable/disable anonymous ftp
  • improve security (DefaultRoot,DeferWelcome....)
  • rearrange log (xfer, ftp and proftpd)

TODO:

  • FTPS ?
  • use another FTP server (pureFTPD ?)

[edit] MAIL server

need postfix 2.2.5

URL: http://www.postfix.org/ Main goal: create a Main or a relay mail server configuration file for postfix

use LibConf: YES

quick way to launch it from command line:

drakwizard postfix

Image:postfix.jpg

detailled features:

  • /etc/postfix/cf
  • smtpd banner
  • interface to use
  • main options:
    • myhostname: internet hostname of this mail system
    • myorigin: the domain that locally-posted mail appears to come from
    • mydomain: local internet domain name
    • mynetworks
    • enable/disable verify command
    • masquerade domains
    • relay server
    • relay host
    • relay domain
  • Message options:
    • maximal queue lifetime
    • message size limit
    • delay warning time

TODO:

  • dedicated tools using LibConf ?

[edit] Samba wizard

tested with samba-server-3.0.20

3 wizards:

  • sambashare: add/remove/modify a samba share
  • sambaprint: enable/disable printer in samba configuration
  • samba: create a PDC/BDC/Standalone samba configuration

URL:http://www.samba.org

use LibConf: YES

quick way to launch it from command line:

drakwizard sambashare
drakwizard sambaprint
drakwizard samba

Image:samba.jpg

detailled features:

  • /etc/samba/smb.conf
  • sambaprint:
    • enable/disable samba printer
    • Browseable:
    • comment
    • Guest ok:
  • sambashare:
    • support of special share: CDROM, home, profiles
    • Public share
    • User share
    • available options: comment, writable, browseable, create mode, create mask, directory mask, path, public
    • advanced options: read list, write list, hide dot files, hide files, valid users, admin users, user own directory, short preserve case, preserver case, force create mode, force group, default case, force directory mode
  • samba:
    • server banner
    • log file
    • BDC - backup domain controller (need PDC+LDAP)
      • domain master
      • security
      • wins support
      • os level
      • local master
      • preferred master
      • wins server
      • domain logons
      • domain master
      • LDAP:
        • LDAP administrator
        • LDAP password
        • LDAP machine suffix
        • LDAP user suffix
        • LDAP group suffix
        • LDAP Passdb backend
    • PDC - primary domain controller
      • domain master
      • security
      • domain logons
      • wins support
      • os level
    • Standalone - standalone server

note, please now user draksambashare tool to add/remove/modify Samba share (printers or directory).

[edit] PROXY

tested with squid-2.5

URL: http://www.squid-cache.org/

Main goal: create a configuration file for squid server

use LibConf: NO

quick way to launch it from command line:

drakwizard squid

Image:squid.jpg

detailled features:

  • /etc/squid/
  • mem usage
  • port used
  • disk cache size
  • Access control
  • proxy cascading (upper proxy)
  • access local network
  • add squid in 345 runlevel
  • check old confgiguration

TODO:

  • check mem parameter

[edit] LDAP

ldap-2.3.6

URL: http://www.openldap.org

Main goal: Ldap server + posix account

use LibConf: NO

quick way to launch it from command line:

drakwizard ldap

detailled features:

  • set ldap server
  • /etc/openldap/slapd.conf
  • create rootdse default
  • create default OU

TODO:

  • lot of work....

[edit] NIS server with autofs map

ypserv-2.17, autofs-4.1

URL: http://www.linux-nis.org/

Main goal: create an YP server with autofs MAP (nfs user's home directory)

use LibConf: NO

quick way to launch it from command line:

drakwizard nisautofs

Image:nis.jpg

detailled features:

  • create needed auto.home auto.master
  • add HOMENIS in /etc/exports
  • check nisdomain
  • add if needed NISDOMAIN in /etc/sysconfig/network
  • set correct /etc/yp.conf
  • wizard client to set NIS client (no more needed, now please use drakauth)
  • Set NIS server /var/yp/Makefile

[edit] Mandrake Install server

need NFS and apache

Main goal: create an install directory accessible via nfs and http

use LibConf: NO

quick way to launch it from command line:

drakwizard installsrv

Image:installsrv.jpg

detailled features:

  • copy a Mandriva repository
  • export NFS directory (/etc/exports)
  • enable http installtion (link in /var/www/html)

TODO:

  • rsync ftp ?

[edit] SSHD server

need openssh-server-4.2.1

URL: http://www.openssh.com/

Main goal: configure sshd server configuration

use LibConf: YES

quick way to launch it from command line:

drakwizard sshd

Image:sshd.jpg

detailled features:

  • /etc/ssh/sshd_config
  • Classical option
    • protocol
    • sshd port
    • listen address
    • Permit root login
  • Syslogfacility
  • Log level
  • User login
    • Strict mode
    • Allow users/Deny users
  • Log options:
    • Login grace time
    • Keep alive
    • Print motd
    • Print Last login
  • Authentication method:
    • RSA Authentication
    • Pubkey Authentication
    • Authorized Keys File
    • Password Authentication
    • Ignore Rhosts
    • Permit Empty Passwords
  • X11 Forwarding
  • Compression

TODO:

  • a dedicated tool ?

[edit] NEWS server

tested with inn

URL:

Main goal:

use LibConf: NO

quick way to launch it from command line:

drakwizard

detailled features:

TODO:

[edit] Kolab

tested with

URL:

Main goal:

use LibConf:

quick way to launch it from command line:

drakwizard

detailled features:

TODO:

Personal tools