flask-skeleton příprava virtual enviromentu v terminálu

sudo apt-get install virtualenvsudo apt-get install libpython-devsudo apt-get install build-essentialmkdir it3sitcd it3sitgit clone https://github.com/petrgru/flask-skeleton-novy.gitcd flask-skeleton-novy### v requirements.txt je zakomentovany konektor na postgressDB radek psycopg2==2.5.2virtualenv ../.venv. ../.venv/bin/activate pip install -r ./requirements.txt #nasledne vytvorit DBpython manage.py db upgrade a spustit server python manage.py runserver pripadne aktualizovat DB model pokud chcete vytvorit novou databazi musite smazat rm migrations/versions/*rm … Číst dál

ipv6to4 tunnel technologie

        ipv6to4-tunnel-pkt R1 config ! interface Tunnel1 no ip address mtu 1476 ipv6 address CCCC::/64 ipv6 ospf 1 area 0.0.0.0 tunnel source GigabitEthernet0/0 tunnel destination 192.168.0.2 tunnel mode ipv6ip ! ! interface GigabitEthernet0/0 ip address 192.168.0.1 255.255.255.0 duplex auto speed auto ipv6 dhcp server localipv6 ! interface GigabitEthernet0/1 no ip address duplex … Číst dál

CPT IPV6 OSPFv3 SLAAC

router                Konfigurace router0 ipv6 unicast-routing interface GigabitEthernet0/0 no ip address duplex auto speed auto ipv6 address 2001:1CC1:DDDD:2::/64 ipv6 ospf 1 area 0.0.0.0 ipv6 router ospf 1 router-id 1.1.1.1 log-adjacency-changes Konfigurace router1 ipv6 unicast-routing interface GigabitEthernet0/0 no ip address duplex auto speed auto ipv6 address 2001:1CC1:DDDD:2::1/64 ipv6 ospf 1 … Číst dál

RSTP a STP cisco

Cisco STP – odkaz   https://cs.wikipedia.org/wiki/Spanning_Tree_Protocol bridge priority odkaz, odkaz úkol 2-3-2-3-lab-configuring-rapid-pvst-portfast-and-bpdu-guard

Enable network connection for MSSQL SQLEXPRESS

https://blogs.msdn.microsoft.com/sqlexpress/2005/05/05/how-to-configure-express-to-accept-remote-connections/ STEP 1: Enabling TCP/IP First we must tell SQL Server Express to listen on TCP/IP, to do this perform the following steps: 1. Launch the SQL Server Configuration Manager from the “Microsoft SQL Server 2005 CTP” Program menu 2. Click on the “Protocols for SQLEXPRESS” node, 3. Right click on “TCP/IP” in the list … Číst dál

Backup and restore All DB Microsoft SQL server

Make Backup in SQL script DECLARE @name VARCHAR(50) — database name DECLARE @path VARCHAR(256) — path for backup files DECLARE @fileName VARCHAR(256) — filename for backup DECLARE @fileDate VARCHAR(20) — used for file name — specify database backup directory SET @path = 'C:\Backup\' — specify filename format SELECT @fileDate = CONVERT(VARCHAR(20),GETDATE(),112) DECLARE db_cursor CURSOR FOR … Číst dál

Zabbix adaptec scan

Zabbix Adaptec monitoring 1) add user parameter to “zabbix_agentd.conf” 1 UserParameter=custom.adaptec,/usr/bin/sudo /usr/sbin/arcconf GETCONFIG 1 | grep „Logical devices“ | awk -F „/“ ‚{print $5}‘ Item 1 2 3 Name=adaptecItem Type=Zabbix agent Key=custom.adaptec Trigger 1 2 3 4 Name=adaptecTrigger Expression={Adaptec RAID controllers:custom.adaptec.last()}<0 Multiple PROBLEM events generation=yes Description=Adaptec RAID failure visudo: 1 zabbix ALL=NOPASSWD:/usr/sbin/arcconf

mikrotik wifi vlan eth2

/interface wireless   add master-interface=wlan1 name=wlan1.10 ssid=ssid10   add master-interface=wlan1 name=wlan1.30 ssid=ssid30   /interface vlan   add vlan-id=10 interface=ether2 name=ether2.10   add vlan-id=30 interface=ether2 name=ether2.30 /interface bridge   add name=native   add name=vlan1   add name=vlan10   add name=vlan30 /interface bridge port   add bridge=vlan1 interface=ether2   add bridge=vlan1 interface=wlan1   add bridge=vlan10 interface=ether2.10   … Číst dál