SGX Cares Bull Charge Charity Run 2022
On 11th November 2022, I joined SGX Cares Bull Charge Charity Run as company staff, the result is good but people told me it is shorter than last time. Although it is 5KM, I think maybe it is shorter.
On 11th November 2022, I joined SGX Cares Bull Charge Charity Run as company staff, the result is good but people told me it is shorter than last time. Although it is 5KM, I think maybe it is shorter.
Windows Defender Realtime Scanning takes lots of CPU time, to disable it, disable following items together.
Real-time Protection
Tamper Protection
Using iSCSI grub parameters can login to one iSCSI target at booting time, but for more than one targets, auto iSCSI session login might not be possible, at least I haven't found a way to do that.
In order to login to other multiple targets, modification need to be done in iSCSI discovered configuration
After discover the iSCSI targets, the targets will be in /etc/iscsi/nodes
folder. Then found the correct target which in the format as below.
/etc/iscsi/nodes/<IQN>/<IP>,<Port>,1/default
Modify the above file and change following two parameters
...
node.startup = automatic
...
node.conn[0].startup = onboot
...
qemu-ga
on ubuntu with high CPU utilizationThe qemu-ga
process has 99% CPU utilization consistently.
Restart qemu-qa
agent
In Proxmox VE, the qemu-guest-agent is used for mainly two things:
If uninstall as the permanent solution, make sure that untick the Use QEMU Guest Agent
under VM options.
rmlint
To exclude files, using find
command, then pass the parameter -
to rmlint
as folder name
$ find /target/dir -type f ! -name '*.nib' ! -name '*.icon' ! -name '*.plist' | rmlint [options] -
For only search specific type of file, can use following command:
find /mm -iname "*.DFF" -type f | rmlint -T df --config=sh:handler=hardlink -
How do I exclude/ignore specific file types/extensions with rmlint?
If go thru NextCloudPI WebUI to update NextCloudPi or NextCloud running by NextCloudPi in Docker, errors could be occurred, which can lead the user not found error. The correct way to do is recreate container using new image.
Note: /data
in container must be mapped or backed up.
docker image pull ownyourbits/nextcloudpi-x86
docker stop nextcloudpi
docker rm nextcloudpi
Use the previous docker parameter, make sure /data
was mapped.
docker run -d -p 4443:4443 -p 443:443 -p 80:80 -v /app/nc/data:/data --name nextcloudpi ownyourbits/nextcloudpi-x86 $IP
Login to NextCloudPi, the NextCloudPi will update itself, need to wait for the process pigz
completed.
Go to Backup => nc-backup-auto
in NextCloudPi WebUI, to find out the backup path, and restore the latest if required.
Go to Updates => nc-update-nextcloud
in NextCloudPi WebUI, to update NextCloud Manually.
pip
Check pip
installed
python3 -m pip -V
Install pip
using root
apt install python3-pip
ansible
Install ansible
using normal user
python3 -m pip install --user ansible
Note: ignore the warning message about .local/bin
, the folder will be created and will be in the path after re-login
ansible
python3 -m pip install --upgrade --user ansible
Price: S$1,500.00
The 6 Best and Most Affordable Chinese Carbon Road Bike Frames
The best aluminium road bikes: top-rated alloy bikes
Top 10 Roadbikes for 2023
For testing database, disable password life time will be able to avoid following error
ORA-28002: the password will expire within 7 days
Using sys password (created during database instance creation) to login to sysdba
sqlplus sys@xepdb1 as sysdba
select username, profile from dba_users where username like '<user_id>';
select RESOURCE_NAME,resource_type,LIMIT from dba_profiles where PROFILE='<profile_name>';
ALTER PROFILE <profile_name> LIMIT PASSWORD_LIFE_TIME UNLIMITED;
SELECT ACCOUNT_STATUS FROM DBA_USERS WHERE USERNAME='<user_id>'
# sqlplus <user_id>/<pwd>@xepdb1
...
SQL> password
Changing password for <user_id>
Old password:
New password:
Retype new password:
Password changed
SQL> quit
This is to describe how to convert Ubuntu VM to Proxmox.
Following hardware options can be considered
sata0
to be considered for disk)disk_image_file
<mac_address>
(This is default for VMware, can use other type too)Convert the VMware disk to Proxmox disk and attach the disk to new VM
qm importdisk 121 ubuntu.vmdk pool240ssd --format qcow2
Attach the disk as sata0.
After boot up system show a GUI error screen, press Contrl + Alt + F3
to switch to console mode.
Note: Press Shift
to active Grub Menu if required
Find out new network interface UUID
nmcli conn
Change NetworkManager file name
cd /etc/NetworkManager/system-connections
mv Wired\ connection\ 1-<old_uuid>.nmconnection Wired\ connection\ 1-<new_uuid>.nmconnection
Update nmconnection
file
[connection]
id=<new_interface_name>
uuid=<new_uuid>
type=ethernet
autoconnect-priority=-999
interface-name=<new_interface_name>
permissions=
timestamp=1628151710
[ethernet]
mac-address-blacklist=
[ipv4]
address1=192.168.1.232/24,192.168.1.254
dns=192.168.1.250;8.8.8.8;
dns-search=
method=manual
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=disabled
[proxy]
After boot, only a white screen with error message appears, this was fixed by running apt update and upgrade
First, update /etc/apt/sources.list
file, replace all repo URL to old-releases.ubuntu.com
Then run following commands
apt update
apt upgrade -y