Quantcast
Channel: Good memory
Browsing latest articles
Browse All 30 View Live

Не работает X11Forwarding с отключенным IPv6

Добавить в конфигурационный файл sshd:AddressFamily inetперезапуск sshd не помог, помогла перезагрузка, возможно поможет перелогин.Проверить работоспособность: echo $DISPLAY

View Article


Отключение поддержки Ipv6 в RHEL/CentOS

Для отключения поддержки протокола Ipv6 необходимо внести следующие две строки в файл /etc/modprobe.confalias ipv6 offalias net-pf-10 offИзменения вступят в силу после перезагрузки.Либо поставить...

View Article


21 пример использования iptables для администраторов.

Файрвол в системе linux контролируется программой iptables (для ipv4) и ip6tables (для ipv6). В данной шпаргалке рассмотрены самые распространённые способы использования iptables для тех, кто хочет...

View Article

iptables rules for NAT with FTP active / passive connections

If you have an FTP server running behind a server that acts as the gateway or firewall, here are the rules to enable full NAT for active and passive connections.# general rules for forwarding traffic...

View Article

IP SLA CISCO

Прочитал две статьи «Dual ISP на маршрутизаторах cisco без BGP» и «Одновременное использование двух провайдеров на маршрутизаторах cisco». На ум пришла мысль попробовать нарисовать и описать решение к...

View Article


Tomcat – Digest Authentication

Digest authentication is one of authentication type available on web server. This is very similar with Basic authentication and, the main difference, is using a encoded password. This password is...

View Article

Подсветка кода в эгее с помощью highlight.js

На демо странице highlight.js подбираем понравивщуюся тему оформления. Допустим, приглянулась гитхабовская тема.В браузере открываем http://yandex.st/highlightjs/7.3/styles/github.min.css.Убеждаемся,...

View Article

RSOP – Invalid Name Space

Recently had an issue where an entire site was not downloading domain policies. After a thorough search and different attempts to fix the issue I came across a batch file that I want to list here for...

View Article


LVM — это просто!

Собственно, хочется просто и доступно рассказать про такую замечательную вещь как Logical Volume Management или Управление Логическими Томами.Поскольку уже давно пользуюсь LVM-ом, расскажу что он...

View Article


Исследуем базы данных с помощью T-SQL перевод

Как dba и консультант по оптимизации производительности SQL Server в Ambient Consulting, я часто сталкиваюсь с необходимостью анализа узких мест производительности на экземплярах SQL Server, которые...

View Article

How to reset the admin password for ISPConfig 3

Losing/Forgetting your ISPConfig 3 administrator password is annoying, but can happen to anyone! To reset the password, you need to follow the few steps below.You will need the root login for MySQL,...

View Article

Openmediavault: join a Windows 2008R2 domain

SettingsDomain is : domain.local windows 2008R2 hostname : srv-dc-01 omv hostname : omvCheck IP configurationOpenmediavault has a DHCP assigned IP address. You should check its hostname and name...

View Article

Clipperz – password manager

You’ll need LAPM and both the GitHub core and Python GitHub packages installed, so if requiredsudo apt-get install python-git git1 Download the GIT package to a working directory (eg your home dir)git...

View Article


Linux: How to get an external IP address from the command line

curl checkip.amazonaws.com curl ifconfig.me curl icanhazip.com curl ipecho.net/plain curl ifconfig.coordig +short myip.opendns.com @resolver1.opendns.comor#!/bin/bash MYIP=$(wget -O - -q...

View Article

Windows 10: how to block telemetry

Open PowerShell and run it:New-NetFirewallRule -DisplayName “BlockDiagTrack” -Name “BlockDiagTrack” -Direction Outbound -Program “%SystemRoot%\System32\utc_myhost.exe” -Action block

View Article


Nutanix: Warning health status but all services are OK

Type these commands using SSH on one CVM of your cluster :allssh ~/cluster/bin/genesis stop cluster_health allssh ~/cluster/bin/genesis stop hyperint allssh ~/cluster/bin/genesis stop prism allssh...

View Article

hblock

Improve your security and privacy by blocking ads, tracking and malware domains.https://hblock.molinero.dev

View Article


Nutanix CLI to shutdown all vms currently on

for vm_name in `acli vm.list power_state=on | grep -v ^’VM name’ | awk ‘{print $1}’`; do acli vm.shutdown $vm_name; donei change acli command from acli vm.force_off to acli vm,shutdownthis command will...

View Article

How to add RemoteAddresses to the existing Windows Firewall rule

$newips = @("1.2.3.4/24", "1.2.3.5/24", "1.2.3.6/24") $ips = (Get-NetFirewallRule -DisplayName "RuleName" | Get-NetFirewallAddressFilter ).RemoteAddress $add = $ips + $newips Get-NetFirewallrule...

View Article

How-to Install custom certificate on RDP Server

Working on a Server 2012 Standard R2 today that had an initial SSL self signed certificate. I needed to replace that certificate, so IIS and Remote Desktop would stop warning users about the security...

View Article
Browsing latest articles
Browse All 30 View Live