Tuesday, November 6, 2018

Upgrade Asus Eee PC Series 1025C with 4GB RAM and SSD 256 GB

I have a netbook Asus Eee PC Series 1025C. It already 5 years old and equipped with Intel® Atom™ N2800 (Dual Core; 1.86GHz) Processor, 2GB RAM and SATA HDD 320 GB. The challenge is I want to upgrade this netbook so it can be faster to run.

The limitations are processor is support only 32 bit OS and maximum RAM usable is 3 GB only. So, I just changed the DDR3 RAM from 2 GB to 4GB and HDD to SSD. I was using Ubuntu Linux before, but in this time I tried to install Windows 7 32 bit and Microsoft Office 2016 with original license.


I failed when tried to install Windows 10 bit, it won't work because problem with display driver for Asus Eeee PC 2015C not supported by Asus or Intel. They don't give update for their display driver to compatible with Windows 10.

The SSD is Silicon Power A56 256 GB. The read write result test using winsat command shows that the SSD performance increased significantly than using HDD.


Friday, October 19, 2018

How to Set Quota on CLoudLinux 7.5 kvm Image With XFS

I just installed CloudLinux 7.5 kvm images, downloaded from CloudLinux website, then failed to update Quota on the WHM. They already set it with XFS file system.
Updating Quota Files......
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.

Then I did this.

Check /etc/fstab makes sure that the quota is enabled on the partition
UUID=xxx-xxx / xfs     defaults,uquota 0 0
Check the quota option for XFS filesystem.

# mount| grep ' / '
You will see something like this.
/dev/sda1 on / type xfs (rw,relatime,attr2,inode64,noquota)
If you see the "noquota" option, then you need to go to next step.

Edit /etc/default/grub add rootflags=uquota
GRUB_CMDLINE_LINUX="crashkernel=auto biosdevname=0 net.ifnames=0 rhgb quiet rootflags=uquota"
Reconfig grub
# grub2-mkconfig -o /boot/grub2/grub.cfg
# reboot
After the server started.
# mount| grep ' / '
Then the XFS will change like this.
/dev/sda1 on / type xfs (rw,relatime,attr2,inode64,usrquota)
Fix WHM quota
# /scripts/fixquotas
# reboot

Sunday, September 16, 2018

Recover Crashed Ubuntu VM On Proxmox VE

One of our VM server accidentally crash and the partition table was deleted. It is using Ubuntu 14.04 on VMDK container. Here are what we did to recover the server.

Prerequisite: Ubuntu NON-EFI, ext4 partition

Convert vmdk to qico2
# qemu-img convert -f vmdk -O qcowq file.vmdk file.qcow2

Download ISO System Rescue CD from http://www.system-rescue-cd.org/ then treat as CD-ROM in the crashed VM, and then in the VM Console interface, boot from CD-ROM.

Run Test-disk

  1. Select the disk
  2. Select partition format: INTEL
  3. Analyze
  4. Deep search
  5. Select the righ partition
  6. Write
  7. Quit & reboot

Reload Using Ubuntu live CD
- fdisk recover extender partition (change type) from f to 5
- write, reboot

Rescue:
Install boot on /dev/sda, then reboot.

All done.

NOTES:
Mount to see files:
# qemu-nbd -c /dev/nbd0 file.qcow2
# partprobe /dev/nbd0
# mount /dev/nbd0 /mnt/nbd0

Friday, August 31, 2018

Avast Business Installer Installation Failed: Unable to Load Policy

Our team just installed Management console for Avast Business Antivirus, Avast Business Antivirus Pro and Avast Business Antivirus Pro Plus On local server (on-premise) on Windows 2008 Server R2. The server got IP Public, so all PC outside the office can install the Avast Business Installer generated from the console.

Unfortunately, we got error 'Installation Failed: Unable to Load Policy' during setup process.


After discuss with support from Avast reseller in Indonesia, we also discuss with support directly from Avast. They said there are a few things we can try to correct it. 
  1. Was there any Avast products on the server before? If yes, please remove using Avast clear to make sure everything is removed. Download from https://www.avast.com/uninstall-utility
  2. Make sure to remove all Anti-Virus programs before installation.
  3. Disable any local firewalls that may be preventing the program from running.
  4. Please make sure to download a new copy once you have made sure the other items are correct. 
  5. Login to business.avast.com portal (note: we use another address because our console installed in our own portal) and navigate to Add New Device > Customize > Choose options > Download.

Avast support suggest doing the full installer. Also, after downloading and before installing "right click" on the file and select "Properties". Sometimes there will be a Security option at the bottom, make sure to unblock the program as shown in the screenshot below. 



The client/cloud server communication is completed using the following ports. To ensure proper communication to the cloud portal please make sure all ports below are open and also the whitelisting of *.avast.com.

- http/80 (updates) 
- https/443 (FFL encryption key negotiation) 
- TCP, UDP/ 443, 53 for secure DNS 
- *.avast.com
- 77.234.40.0/21 Update servers

After I tried the solutions, they dont work!

Then I tried to check all ports used to communicate between client and server, and got that Avast use 8080/8090 for server/client stuff. After out network admin open the port, then the installation work seamlessly.