Автор Тема: Simply и WEB alterator  (Прочитано 5856 раз)

Оффлайн Archer

  • Участник
  • *
  • Сообщений: 56
Simply и WEB alterator
« : 21.07.2011 10:21:46 »
Работает ли в Simply 6 WEB alterator?

Как я понял многие функции альтератора (серверные) реализованы только для веб интерфейса. Есть ли возможность запустить веб интерфейс к альтератору?
Если да то как?

Оффлайн Skull

  • Глобальный модератор
  • *****
  • Сообщений: 20 163
    • Домашняя страница
Re: Simply и WEB alterator
« Ответ #1 : 21.07.2011 13:30:05 »
apt-get install alterator-fbi
service ahttpd start

И модули alterator-* нужные доставьте.
« Последнее редактирование: 08.07.2014 08:34:41 от Skull »
Андрей Черепанов (cas@)

Оффлайн МИНЗДРАВ

  • Странник_
  • *
  • Сообщений: 3 045
  • ALWK8 х64 Branch sysd & server-light_1.9.3sysV noX
    • http://yx-kak.ru/linux.htm
Re: Simply и WEB alterator
« Ответ #2 : 07.07.2014 20:22:53 »
apt-get install alterator-fbi
service ahttpd start
Почему может не работать?
[root@server ~]# service ahttpd start
Generating ahttpd SSL PEM certificate:             [ DONE ]
Service ahttpd is already running.                 [PASSED]
[root@server ~]# rpm -qa alterator-fbi
alterator-fbi-5.29-alt1
[root@server ~]#
Попытка соединения не удалась

Firefox не может установить соединение с сервером 192.168.0.100.

Оффлайн МИНЗДРАВ

  • Странник_
  • *
  • Сообщений: 3 045
  • ALWK8 х64 Branch sysd & server-light_1.9.3sysV noX
    • http://yx-kak.ru/linux.htm
Re: Simply и WEB alterator
« Ответ #3 : 07.07.2014 20:26:32 »
И модули altarator-* нужные доставьте.
Какие модули ещё нужны?
[root@server ~]# apt-cache search alterator-*
alterator-doc - documentation and samples for alterator
rpm-macros-alterator - Set of RPM macros for packaging alterator-based applications
alterator-alternatives - alterator module for alternatives package
alterator-asterisk-gateway - alterator module for E1<->SIP gateway setup
alterator-asterisk-limits - Alterator module for control Asterisk limits
alterator-audit - alterator module for audit system
alterator-auth - Alterator module for system wide auth settings
alterator-bacula - module for Bacula backup system
alterator-bacula-client - Alterator module for Bacula client configuration
alterator-beancounters - OpenVZ beancounter observer module
alterator-bind - alterator module to create and manage dynamic dns
alterator-ca - Office Server CA Manager
alterator-cd2 - additional cdrom installation
alterator-console - Alterator module for emulate console
alterator-control - alterator module for control package
alterator-cyrus - alterator module for system wide cyrus settings
alterator-datetime - alterator module for date/time setup
alterator-dhcp - alterator module for dhcp conf file editing
alterator-distro-chainmail - special alterator modules for IVK Chainmail
alterator-distro-skif - HPC specific tunings
alterator-etcgit - Alterator module to control versions of configuration files in /etc using git
etcgit - A tool to control versions of configuration files in /etc using git
alterator-firsttime - first time system setup
alterator-hw-functions - helper functions for alterator to retrieve hardware info
alterator-kdc - Alterator module for Kerberos KDC
alterator-l10n - translations for all alterator modules
alterator-ldap-groups - Alterator module for LDAP groups administration
alterator-ldap-users - Alterator module for ldap users administration
alterator-livecd - special steps for LiveCD installers
alterator-logs - alterator module for system logs
alterator-ltsconf - Alterator module for ALTSP terminal management
alterator-luks - alterator module for change LUKS passphrase
alterator-mastercontrol - Alterator module to control configuration profiles on the remote hosts
alterator-mirror - local mirrors setup and maintainance
alterator-mkbootflash - Create bootable usb storage for installing system or using as live, rescue etc.
alterator-mkimage - Create distribution images
alterator-mkve - Alterator module for creating/destroing virtual environments
alterator-moodle-install - Alterator module for Moodle service configuration
alterator-mysql-functions - Helps the base MySQL server configuration management
alterator-net-domain - alterator module to edit system network domain
alterator-net-eth - alterator module for tcp/ip connections configuration
hostname-hook-hosts - /etc/hooks/hostname.d hook for use with alterator-net-eth
alterator-net-functions - helpers for etcnet administration
alterator-net-iptables - alterator module for simple iptables configuration
alterator-net-openvpn - Alterator module for openvpn connections configuration
alterator-net-pppoe - alterator module for pppoe connections configuration
alterator-net-pptp - alterator module for pptp connections configuration
alterator-net-routing - alterator module for network routing administration
alterator-net-shares - Enable/disable mounting samba shares from "domain" server
alterator-net-wifi - alterator module for wi-fi connections administration
alterator-netinst - alterator module for network installations management
alterator-notes - alterator module for view license and release notes
alterator-openldap - alterator module for OpenLDAP server
alterator-openldap-functions - helper functions for alterator openldap based backends
alterator-openvpn-server - Alterator module for openvpn server configuration
alterator-packages - Alterator module for packages installation/removal
alterator-perl-functions - helper functions for alterator perl based backends
alterator-php-functions - Helps the base PHP configuration management
alterator-pkcs11 - PKCS#11 user certificate manager
alterator-pkg - additional package installation
alterator-ports-access - alterator module to control ports access
alterator-postfix-dovecot - Alterator module for Postfix/Dovecot setup
alterator-preinstall - Alterator preinstall hooks runner module
alterator-backend-printer-drivers - alterator backend for printer drivers maintainance
alterator-printers - simple alterator module for printer administration
alterator-quota - alterator module for managing filesystem quotas
alterator-root - alterator module for edit system administrator properties
alterator-service-functions - Helpers for common service management
alterator-services - Simple SysV services configurator
alterator-setup - Perform initial setup of an OEM installation (warning!)
alterator-sh-functions - helper functions for alterator shell based backends
alterator-shapercontrol - Alterator module for shapercontrol administration
alterator-snort - Alterator module for snort administration
alterator-squid - Alterator module for Squid proxy server configuration
alterator-squidmill - Alterator module for browsing the Squid proxy server statistics
alterator-sshd - OpenSSHd system configuration module
alterator-sslkey - Alterator module for manipulations with ssl keys
alterator-standalone - System Management center
alterator-sysconfig - alterator module for basic system settings
alterator-sysinfo - alterator module to view general system information
alterator-trust - alterator module for setting one-way trust relationships
alterator-ulogd - alterator module for network traffic statistics
alterator-updates - dialog based interface for alterator
alterator-users - alterator module for system users administration
alterator-vm - Alterator module for volume management
alterator-vsftpd - alterator module for vsftpd configuration
alterator-witchery - demo steps for alterator-wizard
alterator-wizardface - alterator's wizard like module aggregator
alterator-wizardface-usermode - Usermode bindings for alterator-wizardface
alterator-xinetd - alterator module for xinetd
alterator-zabbix-agent - Alterator module for the Zabbix agent configuration
alterator-zabbix-node - Deployment tool for a Zabbix node
alterator-zabbix-node-common - Library files for Zabbix node configuration programs
alterator-zabbix-node-mysql - Deployment tool for a Zabbix node (Zabbix-MySQL dependencies)
branding-altlinux-backup-server-alterator - Design for alterator for ALT Linux backup-server
branding-altlinux-centaurus-alterator - Design for alterator for ALT Linux Centaurus
branding-altlinux-desktop-alterator - Design for alterator for ALT Linux Desktop
branding-altlinux-kdesktop-alterator - Design for alterator for ALT Linux KDesktop
branding-altlinux-lite-alterator - Design for alterator for ALT Linux Desktop
branding-altlinux-lxdesktop-alterator - Design for alterator for ALT Linux LXDEsktop
branding-altlinux-office-server-alterator - Design for alterator for ALT Linux Ark Server
branding-altlinux-sisyphus-alterator - Design for alterator for ALT Linux Sisyphus
branding-altlinux-spt-alterator - Design for alterator for ALT Linux SPT
branding-altlinux-tablet-alterator - Design for alterator for ALT Linux Tablet
branding-informika-schoolmaster-alterator - Design for alterator for Informika Linux School Master
branding-ivk-chainmail-alterator - Design for alterator for IVK Chainmail
branding-school-junior-alterator - Тема для "Центра управления системой" и QT для дистрибутива Альт Линукс 7.0.5 Школьный Юниор
branding-school-lite-alterator - Design for alterator for ALT Linux School Lite
branding-school-master-alterator - Тема для "Центра управления системой" и QT для дистрибутива Альт Линукс 7.0.5 Школьный Мастер
branding-school-server-alterator - Тема для "Центра управления системой" и QT для дистрибутива Альт Линукс 7.0.5 Школьный Сервер
branding-school-teacher-alterator - Тема для "Центра управления системой" и QT для дистрибутива Альт Линукс 7.0.5 Школьный Учитель
branding-simply-linux-alterator - Тема для "Центра управления системой" и QT для дистрибутива "Просто Линукс"
branding-sisyphus-server-light-alterator - Design for alterator for sisyphus Server Light
caterva-alterator-kit-sh - Alterator communication library for Verborum Caterva generators
docs-alterator_vm - Разбиение диска средствами программы установки
docs-smc - Краткое описание Центра управления системой
installer-feature-setup-openldap - Tunes openldap to be ready to alterator-openldap out of the box
installer-feature-snort-stage3 - Installer stage3 snort hook
installer-feature-vm-altlinux-generic-stage2 - Installer stage2 alterator-vm profile tuning hook
installer-feature-vm-ofs-stage2 - Installer stage2 alterator-vm profile tuning hook
installer-feature-vm-server-light-stage2 - Installer stage2 alterator-vm profile tuning hook
metalterator - Alterator meta-backend with additional Guile modules
perl-Alterator-Automate - Control host via web alterator from perl code
python-module-alterator - Python module for writing backends for ALTLInux Alterator framework
alterator - ALT Linux configurator engine
alterator-browser-qt - X11 Qt interface driver for alterator
alterator-distro-office-server - special alterator modules for ALT Linux Office Server
alterator-fbi - alterator on rails
alterator-grub - alterator module to setup grub bootloader
alterator-lilo - alterator module for lilo setup
alterator-lookout - dialog based interface for alterator
alterator-selinux-users - alterator module for administration users in SE Linux
alterator-backend-x11 - alterator backend for x11 setup and configuration
alterator-x11 - alterator module for Xorg setup and configuration
alterator-xkb - alterator module for XKB administration
apache2-mod_auth_ahttpd - Alterator-FBI authentication module for Apache 2 HTTP Server
[root@server ~]#

Оффлайн МИНЗДРАВ

  • Странник_
  • *
  • Сообщений: 3 045
  • ALWK8 х64 Branch sysd & server-light_1.9.3sysV noX
    • http://yx-kak.ru/linux.htm
Re: Simply и WEB alterator
« Ответ #4 : 07.07.2014 20:34:15 »
[root@server ~]# rpm -qa apache2-mod_auth_ahttpd
apache2-mod_auth_ahttpd-1.0.0-alt4.1
[root@server ~]#
man ahttpd не помогает

[root@server ~]# cat /var/log/ahttpd/access.log
*** Make a new server socket ***
*** Make a new server socket ***
*** Make a new server socket ***
[root@server ~]#
« Последнее редактирование: 07.07.2014 20:51:00 от МИНЗДРАВ »

Оффлайн Skull

  • Глобальный модератор
  • *****
  • Сообщений: 20 163
    • Домашняя страница
Re: Simply и WEB alterator
« Ответ #5 : 08.07.2014 08:36:30 »
Теперь переходите по адресу http://192.168.0.100:8080
Обратите внимание: порт 8080, а не стандартный 80.
Андрей Черепанов (cas@)

Оффлайн МИНЗДРАВ

  • Странник_
  • *
  • Сообщений: 3 045
  • ALWK8 х64 Branch sysd & server-light_1.9.3sysV noX
    • http://yx-kak.ru/linux.htm
Re: Simply и WEB alterator
« Ответ #6 : 08.07.2014 12:36:00 »
Обратите внимание: порт 8080, а не стандартный 80.
У меня, кроме 80го - никакого больше нету. Подскажите, как именно через 80й его заставить работать?It works!

Оффлайн Skull

  • Глобальный модератор
  • *****
  • Сообщений: 20 163
    • Домашняя страница
Re: Simply и WEB alterator
« Ответ #7 : 08.07.2014 14:46:07 »
Обратите внимание: порт 8080, а не стандартный 80.
У меня, кроме 80го - никакого больше нету. Подскажите, как именно через 80й его заставить работать?It works!
It works! значит, что Apache2 настроен и работает.
1. Нужно его выключить:
service httpd2 stop2. Поменять порт Alterator в файле /etc/ahttpd/ahttpd.conf:
server-port     803. Перезапустить ahttpd:
service ahttpd restart4. Зайти в браузере по 80-му порту

Если установлен alterator-console, то можно в веб-интерфейсе выполнять команды shell.
Андрей Черепанов (cas@)

Оффлайн МИНЗДРАВ

  • Странник_
  • *
  • Сообщений: 3 045
  • ALWK8 х64 Branch sysd & server-light_1.9.3sysV noX
    • http://yx-kak.ru/linux.htm
Re: Simply и WEB alterator
« Ответ #8 : 08.07.2014 19:49:22 »
server-port     80
alterator-console
Спасибо Сэнсэй! Заработало.

Оффлайн МИНЗДРАВ

  • Странник_
  • *
  • Сообщений: 3 045
  • ALWK8 х64 Branch sysd & server-light_1.9.3sysV noX
    • http://yx-kak.ru/linux.htm
Re: Simply и WEB alterator
« Ответ #9 : 08.07.2014 21:02:28 »
А почему из web-консоли не получается telnet заюзать?
Зависает, и потом уже облом только высвечивает:Trying 192.168.0.21...
Connected to 192.168.0.21.
Escape character is '^]'.
WL-500gP_V2 login:
Login timed out after 60 seconds
Connection closed by foreign host.
Она, что, не интерактивная? В режиме диалога не может работать?

Оффлайн МИНЗДРАВ

  • Странник_
  • *
  • Сообщений: 3 045
  • ALWK8 х64 Branch sysd & server-light_1.9.3sysV noX
    • http://yx-kak.ru/linux.htm
Re: Simply и WEB alterator
« Ответ #10 : 08.07.2014 21:04:40 »
И на такую команду не регирует:while true; do clear; iwlist scanning | grep -E "(ESSID)"; date; sleep 5m; done
Цитировать
/usr/lib/alterator/backend3/console: line 20: while: команда не найдена
Её апргрейдить как-то реально? На самом серваке, это-то всё работает. Даже по телнету и ssh

Оффлайн Skull

  • Глобальный модератор
  • *****
  • Сообщений: 20 163
    • Домашняя страница
Re: Simply и WEB alterator
« Ответ #11 : 09.07.2014 08:53:20 »
Она, что, не интерактивная? В режиме диалога не может работать?
Да. Специально переменная TERM сбрасывается для умников, которые запускают mc и удивляются, когда alteratord зависает.
Андрей Черепанов (cas@)

Оффлайн Skull

  • Глобальный модератор
  • *****
  • Сообщений: 20 163
    • Домашняя страница
Re: Simply и WEB alterator
« Ответ #12 : 09.07.2014 08:54:40 »
И на такую команду не регирует:while true; do clear; iwlist scanning | grep -E "(ESSID)"; date; sleep 5m; done
Цитировать
/usr/lib/alterator/backend3/console: line 20: while: команда не найдена
Её апргрейдить как-то реально? На самом серваке, это-то всё работает. Даже по телнету и ssh
Через bash -c "..."
Андрей Черепанов (cas@)

Оффлайн МИНЗДРАВ

  • Странник_
  • *
  • Сообщений: 3 045
  • ALWK8 х64 Branch sysd & server-light_1.9.3sysV noX
    • http://yx-kak.ru/linux.htm
Re: Simply и WEB alterator
« Ответ #13 : 09.07.2014 12:31:27 »
Ё-моё! Он чё-то зависает, на этапе "установка безопасного соединения". К нему, что, только через https можно подсоединятся? Упростить реально?

Оффлайн Skull

  • Глобальный модератор
  • *****
  • Сообщений: 20 163
    • Домашняя страница
Re: Simply и WEB alterator
« Ответ #14 : 09.07.2014 13:58:30 »
Ё-моё! Он чё-то зависает, на этапе "установка безопасного соединения". К нему, что, только через https можно подсоединятся? Упростить реально?
А смысл? Самоподписанный сертификат приняли?
Андрей Черепанов (cas@)