vmware Administrator@vsphere.local password reset

From KB For the vCenter Server: Log in to the vCenter Server with a domain administrator account. If vCenter Single Sign-On is installed separate from the vCenter Server, log into the vCenter Single Sign-On server. Open an elevated command prompt. For more information, see Opening a command or shell prompt (1003892). Navigate to the vmdird […]

symfony 1.2.7 upload image

protected function configure($options = array(), $messages = array()) { $this->addOption(‘max_size’); $this->addOption(‘mime_types’); $this->addOption(‘mime_type_guessers’, array( // array($this, ‘guessFromFileinfo’), array($this, ‘guessFromFileBinary’), array($this, ‘guessFromMimeContentType’), )); $this->addOption(‘mime_categories’, array( ‘web_images’ => array( ‘image/jpeg’, ‘image/jpg’, ‘image/pjpeg’, ‘image/png’, ‘image/x-png’, ‘image/gif’, )));

bind slaves directory

Саша, Коли наступного разу ти будеш налаштовувати bind slave, то не забудь, що треба ще поправити /etc/apparmor.d/usr.sbin.named і додати туди дозвіл на запис в директорію /etc/bind/slave