Complete Multi Hospital Management System In PHP MySQL Free Source Code | CampCodes
GitHub - danb35/freenas-iocage-nextcloud: Script to create an iocage jail on FreeNAS for the latest Nextcloud
To Reset Default user permissions on Drive Windows OS:
icacls "full path to the folder" /reset /t /c /l
wget -r --no-parent -c https://cios.dhitechnical.com/VM/VMware%20vSphere%208.0/ --user cios --password SuperSecretPassword
rsync --ignore-existing -avhP /mnt/[from_folder] /mnt/[to_folder]
mount_smbfs -I xxx.xxx.xxx.xxx //[user_name]@xxx.xxx.xxx.xxx/[sharing_folder] /mnt/[pool]/[sharing_folder]
Services on Linux:
systemctl list-units --type=service
systemctl stop [servicename]
systemctl disable [servicename]
rm /etc/systemd/system/[servicename]
rm /etc/systemd/system/[servicename] # and symlinks that might be related
rm /usr/lib/systemd/system/[servicename]
rm /usr/lib/systemd/system/[servicename] # and symlinks that might be related
systemctl daemon-reload
systemctl reset-failed
Perintah Common used Nextcloud:
iocage exec nextcloud su -m www -c 'php /usr/local/www/nextcloud/occ [command]'
iocage exec nextcloud su -m www -c 'php usr/local/www/nextcloud/updater/updater.phar' # untuk update nextcloud
Perintah linux untuk cek size:
du -sh /path/to/folder #Basic Folder Size, This command provides a summary (-s) of the folder size in a human-readable format (-h), such as KB, MB, or GB.
du -h /path/to/folder #Detailed Folder Size, This command lists the size of each subdirectory within the specified folder in a human-readable format.
du -ch /path/to/folder | grep total #Folder Size with Total, This command provides a detailed list of sizes
php -i | grep "php.ini" #search file location for change setting PHP
chown -R www-data:www-data nextcloud
find /path/to/folder -type d -exec chmod 750 {} \;
find /path/to/folder -type f -exec chmod 640 {} \;
find /path/to/folder -type f -name "*.json" -exec rm -fv {} \;
Backup & Restore Windows Driver dengan PowerShell
Export-WindowsDriver -Online -Destination "D:\DriverBackup"
$DriverPath = "D:\DriverBackup"
Get-ChildItem -Path $DriverPath -Recurse -Filter *.inf | ForEach-Object {
pnputil.exe /add-driver $_.FullName /install
}