How to set background process number on Android (NEXSUS 7)
service call activity 51 i32 x
How to re-initialize the cache of offline files (Windows Vista/7/8/10)
REG ADD “HKLM\System\CurrentControlSet\Services\CSC\Parameters” /v FormatDatabase /t REG_DWORD /d 1 /f
How to System Upgrades with DNF
System Upgrades with DNF
Upgrade to Fedora 23 with the native package manager dnf. The updates are performed in an offline environment that allows system packages to be safely replaced.
Upgrading with DNF
- This upgrade functionality comes from a dnf plugin. Install the package:
# dnf install dnf-plugin-system-upgrade
- Update your system.
# dnf update
- Some third party repos may not be available for the next version of Fedora. Check the status of your configured repositories:
#dnf repolist –releasever 23If problems are reported with a repository, you may wish to disable it:
# dnf config-manager –set-disabled repo-name
- Prepare the upgrade enviroment.
#dnf system-upgrade download –releasever 23
- Reboot to perform the upgrade.
# dnf system-upgrade reboot
- If an upgrade fails, clean up the download, resolve any issues, and try again.
# dnf system-upgrade clean
Syncing package versions
By default, if a package is a newer version than the same package in the target Fedora release, it will not be replaced. Some common post-installation issues involving packages from mixed repositories can be resolved by performing a distribution synchronization, or distro-sync, which ensures that packages are replaced with those in the target repos, wherever possible.
You can perform this operation during the system upgrade with the –distro-sync.
How to Powershell folder size
ls -r -force | measure -s Length
How to Avoid Windows 10 Upgrade
How to force filesystem check on Ubuntu at next reboot
sudo touch /forcefsck
How to set proxy for DNF (Fedora)
Edit /etc/dnf/dnf.conf and then add at end of the file:
How to unsubscribe ONENOTE notification
How to add a Language Pack Online on Windows 2012
On the running operating system, open an elevated command-line prompt:
Dism /online /Add-Package /PackagePath:C:\test\LangPacks\lp.cab
Reboot is required.
How to Publish Full Desktop on Windows 2012 R2 RDS
Change the following reg key to 1:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\CentralPublishedResources\PublishedFarms\%Collection%\RemoteDesktops\%Collection%\ShowInPortal
How to document running machine and date/time
How remove “Last modified by” Tag on OneNote
“Hide Authors” button on the History tab of the ribbon
How to set SELinux Domain in Permissive mode
When SELinux is running in permissive mode, SELinux does not deny access, but denials are logged for actions that would have been denied if running in enforcing mode. Permissive domains allow an administrator to configure a single process (domain) to run permissive, rather than making the whole system permissive. SELinux checks are still performed for permissive domains; however, the kernel allows access and reports an AVC denial for situations where SELinux would have denied access.
Making a Domain Permissive:
semanage permissive -a virt_t
View a list of domains you have made permissive:
semodule -l | grep permissive
Disabling Permissive Domain:
semanage permissive -d virt_t
Disabling All Permissive Domains:
semodule -d permissivedomains
PowerShell equivalent of NET HELPMSG