Поиск по этому сайту

Zentyal 4.x консоль шпоргалка

Чит коды Zentyal 4.x :


Подключиться через putty или
ssh user@192.168.0.2 (тут ваш ip адрес zentyal либо если контроллеры соединены openvpn то ip адрес соответствующего)
выйти
exit

Подключиться веб-интерфейс
https://<zentyal-ip-address>:8443


-------------------------------------
Синхронизация времени выполняется на обоих контроллерах домена.

sudo ntpdate -ud domainZen.ru
-------------------------------------
Перезапуск служб.

sudo /etc/init.d/zentyal restart
-------------------------------------
Реплика:

sudo samba-tool drs showrepl
sudo samba-tool drs replicate dcserver2.company.lan dcserver.company.lan CN=Configuration,DC=company,DC=lan
-------------------------------------
Прочее оболчка:

help

help name
info bash
man -k
info
-------------------------------------
Прочее самба иструменты:
samba-tool help

  dbcheck     - Check local AD database for errors.
  delegation  - Delegation management.
  dns         - Domain Name Service (DNS) management.
  domain      - Domain management.
  drs         - Directory Replication Services (DRS) management.
  dsacl       - DS ACLs manipulation.
  fsmo        - Flexible Single Master Operations (FSMO) roles management.
  gpo         - Group Policy Object (GPO) management.
  group       - Group management.
  ldapcmp     - Compare two ldap databases.
  ntacl       - NT ACLs manipulation.
  processes   - List processes (to aid debugging on systems without setproctitle).
  rodc        - Read-Only Domain Controller (RODC) management.
  sites       - Sites management.
  spn         - Service Principal Name (SPN) management.
  testparm    - Syntax check the configuration file.
  time        - Retrieve the time on a server.
  user        - User management.
  vampire     - Join and synchronise a remote AD domain to the local server.
Использовать: samba-tool <subcommand> (-h или --help)
-------------------------------------
Прочее самба:
samba --help

  -D, --daemon ###Become a daemon (default)
  -i, --interactive ###Run interactive (not a daemon)
  -M, --model=MODEL ###Select process model
      --maximum-runtime=seconds ###set maximum runtime of the server process, till autotermination
  -b, --show-build ###show build info

Help options:
  -?, --help ###Show this help message
      --usage ###Display brief usage message

Common Samba options:
  -d, --debuglevel=DEBUGLEVEL ###Set debug level
      --debug-stderr ###Send debug output to STDERR
  -s, --configfile=CONFIGFILE ###Use alternative configuration file
      --option=name=value ###Set smb.conf option from command line
  -l, --log-basename=LOGFILEBASE ###Basename for log/debug files
      --leak-report ###enable talloc leak reporting on exit
      --leak-report-full ###enable full talloc leak reporting on exit

Version options:
  -V, --version ###Print version
-------------------------------------
Сеть:

ifconfig
-------------------------------------
Кто ест ресурсы?
 
apt-get install htop
htop
смотрим пид процесса например 1861

ps wwaux | grep 1861
перезапуск ebox

sudo service ebox restart
остановить EventDaemon.pm

sudo service ebox events stop
перезапустить модуль днс например

sudo /etc/init.d/zentyal dns restart (или start stop status enabled ) 
запустить "Domain Controller and File Sharing"
sudo /etc/init.d/zentyal samba start
-------------------------------------
ссылка на установку с картинками))) : http://www.tecmint.com/install-zentyal-as-primary-domain-controller-and-integrate-windows-system/

Комментариев нет:

Отправить комментарий