Lai uz Vistas panāktu vecajam DOS Apvārsnim latviešu valodu, pēc sistēmas latviskošanas (Vistas latviešu lokāle, Lāča „Apostrofs“ , Tiles birojs vai kas cits) jāiekopē fails c_775lv.nls no kāda darbojoša XP vai 2000 Windows un pēc tam jāreģistrē tas reģistrā.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage] "775"="c_775lv.nls"
Klaviatūras draiveri, piem. - girc.com, draiveri pa vecam iekš autoexec.nt
Jau 2019. gadā bija informācija, ka Oracle JAVA vairs nevar bez maksas izmantot juridiskas personas un arī šeit par šo atgādināja. Sankcijas var būt skarbas.
Oracle Javu noņem ar https://www.java.com/en/download/uninstallapplet.jsp
Vietā liek Open JDK.
MS kompilēto ar
winget install -e --id Microsoft.OpenJDK.17
vai kopienas kompilēto ar
winget install -e --id AdoptOpenJDK.OpenJDK.11
Vēl pastāv Oracle kompilētais Open JDK, bet ieteiktu ar to neķēpāties, ej nu viņu atšķir!
ZzDats Pakalpojuma serviss veiksmīgi darbojās ar abiem uz Win 10 Pro 22H2. 06.01.2023.
Ja Windows Media Ceration tool uz veca Win 7 negrib sākt jaunināšanu uz Win 10 un rāda kļūdu Error 0x8007007F-0x20000, tad visticamāk ir problēmas sazināties ar jauninājumu serveri TLS versiju nesaderības dēļ.
To labo MicrosoftEasyFix51044 jauninājums. microsofteasyfix51044.zip
Par labu atzīts latvisks OCR
sudo apt-get install tesseract-ocr tesseract-ocr-lav gimagereader
Ar administratora tiesībām;
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
choco install -yes
choco install oraclejdk
far audacity firefox googlechrome adobereader flashplayerplugin jre8 7zip vlc putty skype cdburnerxp winscp opera gimp imagemagick libreoffice-fresh gimp
inkscape handbrake strawberryperl geosetter virtualbox notepadplusplus
ccleaner itunes pdf24
<%@ page import="com.ubnt.data.Voucher" %> <%@ page import="java.util.List" %> <%@ page import="com.ubnt.ace.view.JspHelper" %> <%@ page contentType="text/html;charset=UTF-8" %> <% List vouchers = (List) request.getAttribute("vouchers"); %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="x-ua-compatible" content="IE=Edge;chrome=1" /> <title>Vouchers</title> <style type="text/css"> <%=JspHelper.renderTemplate(request, "bundle/voucher.css", null)%> </style> </head> <body onload="self.focus(); window.print()"> <% for (int i=0; i<vouchers.size(); i++) { Voucher voucher = (Voucher) vouchers.get(i); String code = voucher.getString("code"); code = code.substring(0, 5)+"-"+code.substring(5); voucher.put("code", code); int duration = voucher.getInt("duration"); int days = duration / 1440; int hours = (duration % 1440) / 60; int minutes = duration % 60; voucher.put("hasDays", days > 0 ? "days_enabled" : "days_disabled"); voucher.put("hasHours", hours > 0 ? "hours_enabled" : "hours_disabled"); voucher.put("hasMinutes", minutes > 0 ? "minutes_enabled" : "minutes_disabled"); voucher.put("days", "" + days); voucher.put("hours", "" + hours); voucher.put("minutes", "" + minutes); String valid = (days > 0 ? days + ( days > 1? " dienas" : " dienu") : "") + (hours > 0 ? hours + " stundas" : "") + (minutes > 0 ? minutes + " minūtes" : ""); voucher.put("valid", valid); int down = voucher.getInt("qos_rate_max_down"); voucher.put("hasDown", down > 0 ? "downrate_enabled" : "downrate_disabled"); voucher.put("down", "" + down); int up = voucher.getInt("qos_rate_max_up"); voucher.put("hasUp", up > 0 ? "uprate_enabled" : "uprate_disabled"); voucher.put("up", "" + up); int qos_usage_quota = voucher.getInt("qos_usage_quota"); voucher.put("hasData", qos_usage_quota > 0 ? "quota_enabled" : "quota_disabled"); voucher.put("data", "" + qos_usage_quota); String notes = voucher.getString("note"); voucher.put("notes", notes); int quota = voucher.getInt("quota"); voucher.put("voucher_type", quota > 0 ? "vienam lietotÄjam" : "daudziem lietotÄjiem"); out.print(JspHelper.renderTemplate(request, "bundle/voucher.html", voucher)); } %> </body> </html>
Ja ir SSH pieeja, tad kāpšanu pie griestiem bakstīt ar saspraudi var aizstāt ar
syswrapper.sh restore-default
https://community.spiceworks.com/how_to/45794-fix-unlicensed-office-2013-error
http://admin-to-admin.info/blog/udalenie-aktivatsii-office-365/
quota -v lietotajs
quotaoff / quotacheck -ugvm / quotaon /
Ja PHP vajag definētu upload_tmp_dir, dara tā.
Izveido templeitu
cp /etc/e-smith/templates/etc/php.ini/50PathsDirectories /etc/e-smith/templates-custom/etc/php.ini
Tam beigās pieraksta
upload_tmp_dir = /tmp
Un katram IBAY, kurš ir jāpielaiž pie /tmp definē
/sbin/e-smith/db accounts setprop IBAY PHPBaseDir /tmp:/home/e-smith/files/ibays/IBAY /sbin/e-smith/signal-event ibay-modify IBAY
All your databases are saved with the signal-event pre-backup
They are stored in the file /home/e-smith/db/mysql/mysql.dump.
To restore them, just type (as root) mysql < /home/e-smith/db/mysql/mysql.dump
This command will restore all your mysql database as they were during the backup.
yum update
signal-event post-upgrade
signal-event reboot
Derēs arī priekš Nethserver.
chsh username
ievada /bin/bash
db accounts setprop joe Shell /bin/bash
Linux unzip nemāk atzipot gabalos sadalītus zip failus, tāpēc tie ieperiekš mehāniski jāapvieno
cat arhivs.zip.* > arhivs.viss.zip unzip arhivs.viss.zip
md5sum -c atpumpetais_fails.iso.md5
Saspiest
tar -czvf archive.tgz files/
Atspiest
tar -xzvf archive.tgz
Aplūkot 3ware RAID veselību ar CLI
tw_cli /c0 show
BackupPC un smeserver-BackupPC priekš SME8
BackupPC To install Backuppc, there is some problemes of dependancies.
db yum_repositories set rpmforge repository \ BaseURL 'http://apt.sw.be/redhat/el5/en/$basearch/rpmforge' \ EnableGroups no \ Exclude freetype,htop,iptraf,rsync,syslinux \ GPGCheck yes \ GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \ Name 'RPMForge - EL5' \ Visible no \ status disabled
signal-event yum-modify yum install --enablerepo=rpmforge perl-XML-RSS perl-Time-module* perl-File-RsyncP db yum_repositories set sme7contribs repository \ GPGCheck yes \ MirrorList http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smecontribs-7 \ Name 'SME 7 - contribs' \ Visible no \ status disabled
signal-event yum-modify yum clean all
yum --enablerepo=smecontribs install BackupPC yum --enablerepo=sme7contribs install smeserver-BackupPC signal-event post-upgrade && signal-event reboot
Kad veidotājs spēj maitāt reģistrētu, jāatslēdz PD_DPV.APS.01.E02 PD_DPV.DTN.05.E01
Izņemt un atkal pievienot AD ir garš ceļš.
Tā vietā labāk:
PoweShell ar admin tiesībām:
Reset-ComputerMachinePassword -Server 192.168.1.103 -Credential admin
Teorija: https://theitbros.com/fix-trust-relationship-failed-without-domain-rejoining/
Paslēpt Bing pogu un sānu joslu
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge] "HubsSidebarEnabled"=dword:00000000
explorer shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}
Wni 11 atjaunot Win 10 izskata context menu.
REG.EXE add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
winget install -e –id Adobe.Acrobat.Reader.64-bit;winget install -e –id 7zip.7zip;winget install -e –id Mozilla.Firefox;winget install -e –id GIMP.GIMP;winget install -e –id ArtifexSoftware.GhostScript;winget install -e –id ImageMagick.ImageMagick
winget install -e –id Oracle.JavaRuntimeEnvironment
winget install Microsoft.OpenJDK.17
winget install -e --id AdoptOpenJDK.OpenJDK.11
winget install -e –id VideoLAN.VLC.Nightly;winget install -e –id CodecGuide.K-LiteCodecPack.Mega;winget install -e –id TeamViewer.TeamViewer
winget install -e –id TheDocumentFoundation.LibreOffice
winget install -e –id FarManager.FarManager;winget install -e –id Audacity.Audacity;winget install -e –id Google.Chrome;winget install -e –id NoMoreFood.PuTTY-CAC;winget install -e –id WinSCP.WinSCP;winget install -e –id Opera.Opera
2022. gada beigās sabojājās Netserver hotsync. 10.02.2023. vēl nav salabots.
Backup started at 2022-10-22 11:59:47 Event pre-backup-config: SUCCESS Action backup-config-execute: SUCCESS Event post-backup-config: SUCCESS Backup status: SUCCESS Backup ended at 2022-10-22 11:59:51 Time elapsed: 0 hours, 0 minutes, 4 seconds hotsync error: rsync returned 2. rsync output: ERROR: rejecting excluded file-list name: var/lib/nethserver/backup rsync error: protocol incompatibility (code 2) at flist.c(907) [receiver=3.1.2] rsync error: protocol incompatibility (code 2) at io.c(1640) [generator=3.1.2]
Jādaungreidojas uz iepriekšjo rsync versiju.
yum downgrade rsync-3.1.2-10.el7 signal-event nethserver-hotsync-update
Avots: https://community.nethserver.org/t/hotsync-trouble/20823/6