15 янв. 2010 г.

apache2-MPM is needed by apache2-2.2.4-70.i586

Install apache from rpm on SUSE 10.3 (opensuse)

При установке апача на SUSE 10.3 из rpm
интересные зависимости попадаются, такие как:
apache2-MPM is needed by apache2-2.2.4-70.i586

это решается установкой пакета:
apache2-prefork-2.2.4-70.i586.rpm

но! так как он сам требует уже установленный apache2, появляется 
замкнутая цикличность, поэтому делаем:
rpm -i --nodeps apache2-prefork-2.2.4-70.i586.rpm
затем устанавливаем сам апач.

Обычные каменты:
Линуксовода: собирайте все с сорцов ;)
Виндовода: я же говорил что линукс отстой ;)

13 янв. 2010 г.

wildcard in microsoft dns server 2000/2003

Использование "*" в MS DNS

Если не работает то возможно потому что для этого домена включено:
Use WINS forward lookup

Если нужно чтоб работал wildcard, необходимо выключить.


Как завести wildcard в DNS:

Enter DNS entry in Windows Server 2003

1. Click Start, click Control Panel, click Administrative Tools, and then click DNS.
2. On the Action menu, click Connect to DNS Server.
3. In Connect to DNS Server, click The following computer.
4. Type the DNS computer name with the wildcard: *.example
(для example.test.ru)
5. Select the Connect to the specified computer now check box, and then click OK.

Возможное решение для 2000:

They work in W2K. Here is the way:

1. Search the registry key:
HKLM\SYSTEM\CURRENTCONTROLSET\SERVICES\DNS\PARAMETERS
add the dword value: LooseWildcarding
Set it to 1
2. Restart DNS-Service
3. If you want *.yourdomain.com open the zone yourdomain.com and add a subzone with the name *
4. In this subzone add a host entry with no name, confirm the warnig.
5. Thatґs it

29 дек. 2009 г.

Hyper-V 2008 R2

Hyper-V 2008 R2
Управляется только с другого Win2008 сервера

Как залить файл на Hyper-V сервер

Сonfigure the firewall to all file sharing on the Hyper-V server.
Настроить файрвол:

netsh firewall set portopening ALL 139 “NB1"
netsh firewall set portopening ALL 445 "NB2"

далее со своего компьютера
cd file://hyper-v/c$

24 дек. 2009 г.

port in IPN handler URL

PayPal
Instant Payment Notification (IPN) simulator

IPN handler URL
в url можно использовать только 80 и 443 порт.
Обидно.

23 дек. 2009 г.

error: 0xc00000e9

Windows

You need to change the BIOS boot priority so that the optical drive is

first, not the HDD. Then you will need to affect a boot repair as described
here:
http://support.microsoft.com/kb/927392

solved
turn off hdd booting in bios

Windows 2008 R2 Trial ENG error code: 0x80070017

MS Windows 2008 R2 x64 Eng Trial

Windows cannot install required files. The file may be corrupt or missing. Make sure all files required for installation are available, and restart the installation. Error code: 0x80070017

возможно похожее у Vista и Windows 7

взял образ из другого источника - все встало

14 дек. 2009 г.

Установка разрешения на MacOS отличного от стандартного

В MacOsX разрешение отличное от 1024x768
Установить разрешение 1280x1024x32 на видеокарте не поддерживаемой MacOS

Необходимо открыть Terminal
набрать:
'sudo -s'
'cd /Library/Preferences/SystemConfiguration'.
'pico com.apple.Boot.plist'
в этом файле
добавить (выделенное жирным):

<dict>
                  ......
                 <key>Graphics Mode</key>
                 <string>1280x1024x32</string>
</dict>
</plist>

Сохраняем
Перегружаемся.

11 дек. 2009 г.

plesk переписывает конфиги

Например после перезагрузки на компьютере с установленным плеском теряются настройки

Вносить какие-либо изменения в httpd.include файлы бесполезно, Plesk их переписывает. Для того чтобы добавить свои или переназначить какие-либо настройки вам необходимо рядом с httpd.include создать файл vhost.conf с необходимыми вам настройками - после этого нужно выполнить команду:


/usr/local/psa/admin/bin/websrvmng -av

Эта команда сообщит Plesk о то, что в httpd.include необходимо добавить строку:

Include /var/www/vhosts/conf/vhost.conf

взято откудато с Интернета =)

named the working directory is not writable

Ошибка:
named[6098]: the working directory is not writable

необходимо поменять права
предварительно проверьте под каким аккаунтом работает
например аккаунт и группа могут называться named

# cd /etc/namedb/
# chown -R bind:wheel *
# chmod -R g+w *
# chmod -R g+r *
# chmod 0600 rndc.key

если chroot, то по соответствующим путям