Skip to main content

Singapore Ubuntu Mirror Always Failed on Weekend

I'm not sure everyone facing this issue or not. When I update or install something on my Ubuntu 14.04 server, it always uses "sg.archive.ubuntu.com" Singapore mirror and it's working during weekdays and failed on weekend Sat and Sun. So I make changes on the apt repository.

$sudo vim /etc/apt/source.list

comment out  # deb http://sg.archive.ubuntu.com/xxxx

and add  deb http://au.archive.ubuntu.com/xxx

then run the command apt-get update then solve the issue.

Comments

Popular posts from this blog

Fixing Acer Aspire Z3-605 All-in-one speaker buzzing noise - Part 1

 My Acer Aspire Z3-605 AIO PC speaker has buzzing noise. So I decided to replace the speaker. Unscrew 8 screw from the back side. Total 8 screw at back side Pry up starting from below silver color area. Take out speaker You can see the vibrating membrane or sound film has melted. I search in ebay and the price is about USD $19. So I decided to open and see whether I can just replace the speaker only.  The size of the speaker is 24mm diameter and 10mm thickness. I don't see any label or model no on the back side. I search in google about the wattage of the speaker found it's 3 watts. Then I measured with multimeter and it's 4 ohm. So I searched in China site and found the speaker about SGD $2.  So I just purchased 2 pieces and approximately 2 weeks time to reach to Singapore.  To be continued

How to install Rust on WSL Ubuntu 20.04 on Windows 10

Recently I have installed WSL1 on my Windows 10 (1909) laptop and wanted to try Rust compiler on Ubuntu 20.04. but I have issue with installation. So this GitHub link is working fine. https://github.com/rust-lang/rustup/issues/2245 export RUSTUP_IO_THREADS=1 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh info: downloading installer Welcome to Rust! This will download and install the official compiler for the Rust programming language, and its package manager, Cargo. Rustup metadata and toolchains will be installed into the Rustup home directory, located at:   /home/myubu/.rustup This can be modified with the RUSTUP_HOME environment variable. The Cargo home directory located at:   /home/myubu/.cargo This can be modified with the CARGO_HOME environment variable. The cargo, rustc, rustup and other commands will be added to Cargo's bin directory, located at:   /home/myubu/.cargo/bin This path will then be added to your PATH environment variable by modifying th...

How to extend multiple Windows VM's HDD in VMware vCenter with PowerShell PowerCLI

If you want to extend multiple VM's HDD drive in one go, below script is useful. I've extended 10 Windows VM's HDD in 4 minutes.  Create below script in notepad and save as "extendhdd.ps1". At the same time create another text file and put all servers line by line. eg. in host.txt server1 server2 server3 So if you want to run the script, open your PowerCLI from one of the servers and put two files " ___extendhdd.ps1____ $GuestUser="domain\account" $GuestPassword="xxxx" $hosts = get-content hosts.txt foreach ($server in $hosts) { Get-HardDisk -vm $server | where {$_.Name -eq "Hard Disk 2"} | Set-HardDisk -CapacityKB 15728640 -Confirm:$false Invoke-VMScript -VM $server -ScriptText "ECHO RESCAN > F:\DiskPart.txt && ECHO SELECT Volume F >> F:\DiskPart.txt && ECHO EXTEND >> F:\DiskPart.txt && ECHO EXIT >> F:\DiskPart.txt && DiskP...