Windows 10 a nefunkční tlačítko start a spodní lišta

Reading Time: < 1 minute

tak co je třeba udělat:

dejte ctrl+alt+del, pak správce úloh a v něm soubor powershell se zaškrtnutou volbou vytvořit tuto úlohu s oprávněním administrátora viz obr

po spuštění powershellu do nej napsat

sfc /scannow

enter

a pak dism /online /cleanup-image /restorehealth

 

do doběhnutí cca 15 minut dle PC pak spustit znovu správce úloh..ctrl + alt + del

v něm najít procesy explorer.exe a u nich dát restart, případně restartovat celé pc.

 

ufw cannot determine iptables chyba na raspberry nebo banana debian buster

Reading Time: < 1 minute

pokud jste na sd kartu prave dali posledni dostupny debian buster jako ja na orange pi a v zakladu vam nejde ufw firewall

a po klasické instalaci

apt install ufw

a následného spuštění ufw status verbose hodí chybu ufw cannot determine iptables

 

stačí změnit iptables za iptables legaci pomocí

sudo update-alternatives –set iptables /usr/sbin/iptables-legacy

pak sudo reboot

 

Chybí odezva uživatele. wordpress

Reading Time: < 1 minute

Pokud vám vyskočí při logování do wordpressu hláška Chybí odezva uživatele, většinou je na vině doplněk. V mém případě to u webů býva better wp security a google captcha.

Ostranění se dá provést tak, že se připojíte na web přes ftp a tam dané doplňky přejmenujete například na google-catcha.old

Pak už by mělo být logování v pořádku.

Pokud problém přetrvá, ještěmrkněte do souboru .htaccess kde může být vaše ip adresa v seznamu blokovaných.

Ip adresu zjstíte například kliknutím ZDE

Windows server 2016 má disk offline qnap/synology NAS a ISCSI

Reading Time: < 1 minute

Pokud máte zálohování po síti a používáte iscsi, které máte nastavené v nas serveru synology/qnap a vidíte disk offline.

V mém případě hláška:

The disk is offline because of policy set by an administrator

 

stačí spustit cmd /enter

pak dejte diskpart /enter

dejte prikaz san

a asi se objevi SAN Policy : Offline Shared

dejte

san policy=OnlineAll

melo by to byt uspesne

jste stále v diskpartu a dejte
DISKPART> san policy=OnlineAll
 mělo by vypsat
DiskPart successfully changed the SAN policy for the current operating system.
pak dejte
DISKPART> LIST DISK
 vypíšeme disky
Disk ### Status Size Free Dyn Gpt
——– ————- ——- ——- — —
Disk 0 Online 500 GB 0 B
* Disk 1 Offline 1000 GB 1024 KB
 
DISKPART>; select disk 1
  disk je označen
Disk 1 is now the selected disk.
 pak ještě zrušíme práva , aby šlo zapisovat
DISKPART> ATTRIBUTES DISK CLEAR READONLY
 
Disk attributes cleared successfully.
 úspěch
DISKPART> attributes disk
Current Read-only State : No
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No
 
a nakonec disk převedeme do online příkazem
DISKPART> ONLINE DISK
 
DiskPart successfully onlined the selected disk.
nyní ve správci oddílů disk je online a můžeme na něj nastavit např zálohování /windows server.

macbook ztracené heslo / macbook lost password

Reading Time: < 1 minute

Nejjednodušší řešení je po zapnutí zmáčnout tlačítko Command and R

pak z nabídky vybrat terminál. V terminálu dejte příkaz resetpassword

objeví se nabídka kde je požadování ověření na icloud. At ale zadáte cokoliv nebo budete mimo internet po restartu macu budete vyzváni k vložení nového hesla. To je vše.

Just simple run after switching on computer command and R together. In recovery console just run terminal and run command resetpassword. Just type everything in my case just after command run shutdown. After new run there is prompt for new password. that is all.

Failed to retrieve directory listing ispconfig 3, nevylistování adresáře, prodleva vypršela

Reading Time: < 1 minute

zkontrolujte firewall  zda má kromě portu 21 také otevřené porty  /check firewall rulez and add ports which may be open

40110:40210

pomocí ufw je nastavíme např takto / via ufw just add two lines under root or via sudo
sudo ufw allow in proto tcp from any to any port 40110
sudo ufw allow in proto tcp from any to any port 42210
sudo ufw allow in proto tcp from any to any port 989

a pro konfiguraci pureftpd / and finally for pureftpd config create passive port range
echo "40110 40210" > /etc/pure-ftpd/conf/PassivePortRange
and
nano /etc/pure-ftpd/conf/TLS  a zmenit z 1 na 2 /editing TLS rules
a pak nakonec restartujeme/ and finally restart
/etc/init.d/pure-ftpd-mysql restart

pak by měl jít přes filezillu tranfer atd

qnap a výměna disků s přepočítáním raid 1

Reading Time: < 1 minute

Pokud používáte qnap a chcete zvětšit diskové pole, většinou výměnou za větší disk, mělo by to jít snad ve sprvě disků a položce replace one by one, výměna jedenza jeden.

U mého zákazníka byla tato položka šedivá. Vyměnil jsem tedy disky za větší, které se tvářili jako původní velikostí.

Po připojeni příkazovým řádkem- ssh jsem dal tedy po zkontrolování zda je raid 1 opravdu ok mdadm –detail /dev/md2

mdadm --grow --size max /dev/md2
a po restartování qnapu se již menu ukázalo 1TB

Jak zjistím seriové číslo Office 2010,2013,2017 když ho nenajde nirsoft produkey..

Reading Time: 3 minutes

stací spustit powershell..vlevo start-> programy->nástroje pro správu->windows powershell

a vložit tento kód.

Office 2010 (32-bit) on a 32-bit version of Windows
cscript „C:\Program Files\Microsoft Office\Office14\OSPP.VBS“ /dstatus
Office 2010 (32-bit) on a 64-bit version of Windows
cscript „C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS“ /dstatus
Office 2010 (64-bit) on a 64-bit version of Windows
cscript „C:\Program Files\Microsoft Office\Office14\OSPP.VBS“ /dstatus
Office 2013 (32-bit) on a 32-bit version of Windows
cscript „C:\Program Files\Microsoft Office\Office15\OSPP.VBS“ /dstatus
Office 2013 (32-bit) on a 64-bit version of WindowsOffice 2013 (64-bit) on a 64-bit version of Windows
cscript „C:\Program Files\Microsoft Office\Office15\OSPP.VBS“ /dstatus

seriové číslo office jak najít

What is Lorem Ipsum?

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Why do we use it?

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‚Content here, content here‘, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for ‚lorem ipsum‘ will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

 

Where does it come from?

Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of „de Finibus Bonorum et Malorum“ (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, „Lorem ipsum dolor sit amet..“, comes from a line in section 1.10.32.

The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from „de Finibus Bonorum et Malorum“ by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.

Where can I get some?

There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don’t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn’t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.