Rexxer

Some tips for me and other

Backup freebsd

Чтобы не забыть: Монтируем виндовую шару: mount_smbfs -I 192.168.X.X -d 777 -O root:wheel //administrator@backup_server/Backup /mnt Смотрим что у нас имеется: server# df Filesystem  1K-blocks    Used     Avail Capacity  Mounted on /dev/ad0s1a    507630  312096    154924    67%    / devfs               1       1         0   100%    /dev /dev/ad0s1e    507630      26    466994     0%    /tmp /dev/ad0s1f 203114302 2747794 184117364     1%    /usr /dev/ad0s1d  30462636  […]

Apache + mod_proxy = magic

Понадобилось сделать доступ из внутренней сети к стэйджингу так, чтобы продакшн тоже был доступен. Простое создание зоны в ДНС не подходит уже. Мало того, оказалось, что на стэйджинге прописаны имена сервера как и на продакшне (т.е. только IP-адреса разные). Сразу же возникла мысль использовать локальный Apache + mod_proxy. После изучения мануалов по мод-прокси и ресолвинга […]

Exchange 2010 + mobile devices limits

Не думал, что в моей небольшой организации возникнут проблемы с кол-вом разрешенных мобильных устройств. Но этот момент настал. Один из пользователей не смог подключиться к почте со своего нового Айпада. Понять что происходит помогло сообщение в его почте о превышении им лимита. Что в этом случае можно сделать: 1. Увеличить лимит для всего сервера либо […]

Mikrotik + script for a channel failing detecting

I have got a router Mikrotik 750. Periodically I have issues when the internet channel failed. But it start work when I changed port speed to 10Mbps and later turned it back to 100Mbps. (problem with cable 🙂 ) So, I wrote script for switching the port speed automatically: :global u :local PingCount 3; :local […]

Exchange 2010 + export single mailbox

1. Run Exchange powershell console and type (e.g.): New–ManagementRoleAssignment –Role “Mailbox Import Export” –User domainadmin So, You got rights import-export for user admin. 2. Restart Exchange powershell console. 3. Create a share on a server or use existed one, and grant Exchange Trusted Subsystem read/write permission. You can’t export on the local disks (but why […]

TRAC + strict permissions

Once PM ask me to configure strict access to a project in TRAC for user. He can have access only for “New ticket” and view only own tickets. Firstly, I have created the user account and add him to the special group. I assigned the next permissions for this group: MILESTONE_VIEW REPORT_VIEW TICKET_APPEND TICKET_CHGPROP TICKET_CREATE […]

Office 2010 Guru – прошел тест для просто так

Результат: 17 із 20, 5:41 хв.Стати Guru можна тут

Lync 2010 + Exchange 2010 + удаленная загрузка модулей powershell

Понадобилось мне добавлять пользователей в Lync с другого сервера, где у меня работает скрипт по созданию новых юзеров. Но ставить туда админские утилиты от Lync не хотелось. Нашел вариант удаленной загрузки модуля powershell для Lync: #Import the Lync module $lyncOptions = New-PSSessionOption -SkipRevocationCheck -SkipCACheck -SkipCNCheck $lync = New-PSSession -ConnectionUri https://lync1/ocspowershell -SessionOption $lyncOptions -Authentication NegotiateWithImplicitCredential Import-PSSession […]

Smokeping + ports update

После очередного обновления портов моя мониторилка перестала работать через веб. Переустановил начисто перл, speedy, smokeping – не помогло. Решилось путем нескольких запусков: perl-after-upgrade -f

Windows Deployment Services – добавление новых драйверов

Краткая напоминалка: Делаем backup image на всякий случай (можно и не делать). 1. Run WAIK cmd as administrator 2. Монтируем образ в папку: imagex /mountrw d:setup_x64.WIM 2 c:mount or Dism /Mount-Wim /WimFile:d:setup_x64.wim /Index:2 /MountDir:C:mount 3. Добавляем драйвера из папки d:inf: Dism /Image:C:mount /Add-Driver /Driver:d:inf /Recurse 4. Закрываем образ: Dism /Unmount-Wim /MountDir:C:mount /Commit 5. Делаем replace […]

Previous Posts Next posts