User warning: The following module is missing from the file system: bueditor. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
User warning: The following module is missing from the file system: field_validation_extras. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
User warning: The following module is missing from the file system: field_validation_ui. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
User warning: The following module is missing from the file system: geshifield. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
User warning: The following module is missing from the file system: geshifilter. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
User warning: The following module is missing from the file system: google_plusone. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
User warning: The following module is missing from the file system: linkit. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
User warning: The following module is missing from the file system: property_validation. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
User warning: The following module is missing from the file system: taxonomy_menu. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
User warning: The following module is missing from the file system: tweetbutton. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
User warning: The following module is missing from the file system: wysiwyg. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
User warning: The following module is missing from the file system: field_validation. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1181 of /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/bootstrap.inc).
Notice: Undefined index: execute_responsive_theme w drupal_theme_initialize() (linia 100 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
Notice: Trying to get property 'filename' of non-object w _drupal_theme_initialize() (linia 146 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
Notice: Trying to get property 'name' of non-object w _theme_load_registry() (linia 335 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
Notice: Undefined index: execute_responsive_theme w theme_get_setting() (linia 1440 z /usr/home/tomaszroot/domains/blog.tomlot.eu/public_html/includes/theme.inc).
Nie, jeśli napastnik przechwycił maszynę z uprawnieniami, które umożliwiają mu dostęp do pliku [code]/usr/local/sysbk/conf.sysbk[/code]. Przyczyną jest to, że wartość zmiennej [code]FTP_PASS=""[/code] jest podana w sposób jawny, nie jest haszowana.
Zastosowanie:
Przywrócenie kopii zapasowej z zewnętrznego host po ataku w DirectAdmin
Drupal (ale i nie tylko) korzysta z repozytorium rozszerzeń języka PHP.
Komplikacja
[code]Postęp wysyłania Nie włączony
Serwer jest w stanie prezentować postęp wysyłania pliku ale nie ma wymaganych bibliotek. Zalecana jest instalacja PECL uploadprogress lub instalacja APC.[/code]
Przyczyna
Brak zainstalowanej biblioteki PECL Uploadprogress.
Rozwiązanie
Instalacja i konfiguracja przeprowadzona na Debian 6 64-bit z DirectAdmin.
Instalacja DirectAdmin na Debian 64-bit, na serwerze VPS
W konsoli podajesz
[bash]
apt-get update && apt-get upgrade[/bash]
Sprawdź nazwę komputera (serwera). Będzie Ci potrzebna. W konsoli podajesz
[bash]
hostname[/bash]
Sprawdź jaki jest zainstalowany system operacyjny na serwerze. W konsoli podajesz
[bash]
cat /etc/issue[/bash]
Jeśli [code]Debian GNU/Linux 6.0[/code] to wykonaj
[bash]
Edytuj [code]55[/code] linię w pliku [code]/usr/local/directadmin/conf/directadmin.conf[/code].
Zamiast
[code]
port=2222[/code]
Podaj
[code]
port=wybrany_port[/code]
Edytuj [code]2[/code] linię w pliku [code]/var/www/html/redirect.php[/code].
Zamiast
[php]
header("Location: http://".$_SERVER['HTTP_HOST'].":2222");
?>[/php]
Podaj
[php]
header("Location: http://".$_SERVER['HTTP_HOST'].":wybrany_port");
?>[/php]
Port w DirectAdmin i SSH nie może być taki sam.
W konsoli podajesz
[bash]
cd /tmp/[/bash]
Ze strony IonCube Loader pobierz źródło odpowiednie do Twojego systemu
[bash]
wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz[/bash]
Dekompresuj archiwum
[bash]
tar -xvzf ioncube_loaders_lin_x86-64.tar.gz[/bash]
Przenieś do katalogu bibliotek PHP
[bash]
mv ioncube /usr/lib/php5/20131226/[/bash]
Najpopularniejszy skrypt CMS, który wykorzystuje Wildcard jest Wordpress przy tworzeniu Multisite.
Logujesz się do DirectAdmin jako administrator. W dziale [code]Admin Tools (Narzędzia administratora)[/code] wybierasz [code]DNS Administration (Administracja DNS)[/code] -> wybierasz domenę. W dziale [code]Add Domain Records[/code] dodaje rekord [code]A[/code]. W pierwszym polu podajesz [code]*[/code], a w drugim adres IP serwera. Akceptujesz konfigurację klikając na [code]Add[/code].
Logujesz się do DirectAdmin jako użytkownik. Nie zakładasz subdomeny w [code]Subdomain Management (Zarządzanie subdomenami)[/code]. W dziale [code]Advanced Features (Opcje dodatkowe)[/code] wybierasz [code]Domain Pointers (Wskaźnik domen)[/code]. Wprowadzasz [code]blog.tomlot.eu[/code] i zaznaczasz [code]Create as an Alias (Utwórz jako alias)[/code].