Welcome to AlexTech.Tips

We are driven by passion for using technology to make things better.

apache2 reverse proxy

apache2 reverse proxy

一直以來我都用 port number 來區分不同的 project, 最近換了 workflow, 用多了 virtual machine, 每一個 project 都有自己的 virtual machine, 自己的獨立 IP, 所以我試一下 reverse proxy, 原來簡單到不得了,只是以下幾個步驟便成功設定了 server. 首先要設定好 apache2, 如何設定 webserver 可以參考這個 blog post How to develop WordPress site locally 再 enable...

read more
How to download your data from Google

How to download your data from Google

1. Go to https://takeout.google.com/ 2. You can tick the items you need to download and then scroll to the bottom and click next step 3. Delivery method choose -> Send download link via email 4. Frequency -> Export once, File type -> zip, Sie -> 2GB, then...

read more
Install Oh My Zsh on Ubuntu 18.04

Install Oh My Zsh on Ubuntu 18.04

Update system first sudo apt update && sudo apt upgrade Install Oh My Zsh sudo apt install zsh sudo apt install powerline fonts-powerline Clone Oh my zsh repo git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh Create a New ZSH configuration...

read more
Ubuntu 18.04 stuck on booting screen

Ubuntu 18.04 stuck on booting screen

Press ctrl + alt + F2 or F3 or F4 or F5 or F6 use tty to login or use ssh remote login Take ownership of your home directory sudo chown $(whoami):$(whoami) ~/ Install lightdm desktop manager sudo apt install lightdm sudo dpkg-reconfigure...

read more
2020 Home office 完全手冊

2020 Home office 完全手冊

2020年這個農曆年假因為這個2019-nCoV 病毒弄到人心惶惶。農曆年假已經完了。 要上班了,但不敢出門的我們,有沒有方法可以在家工作呢?因此在這我在這整理了幾種方法可以安在家中進入公司的電腦辦公的方法! 1. Windows 內置的 remote desktop, 如果你的 Windows 系統是專業版(PRO) 的話,那你便可以設定你的電腦允許遠端連接。 還可以用 command 來啟動遠端連接, 以管理員身份執行 Command Prompt, 然後輸入以下的命令。 reg add...

read more
Novel Coronavirus 2019 (2019-nCoV) (COVID-19)

Novel Coronavirus 2019 (2019-nCoV) (COVID-19)

武漢肺炎疫情地圖網址 Another Dashboard Hong Kong DashboardWhat Actually Happens If You Get Coronavirus?The Truth About The Coronavirus醫師親授提升免疫力方法 來源:小白藥師 blog不要用酒精消毒口罩口罩戴錯=白戴?酒精濃度75%殺菌效果最好?瑞德西韋 - RemdesivirWash your hand 洗手重要性COVID-19 (CORONAVIRUS)Simulating an...

read more
A Complete Guide to Flexbox

A Complete Guide to Flexbox

Container Properties for the Parent (flex container) .container { display: flex; /* or inline-flex */ } flex-direction .container { flex-direction: row | row-reverse | column | column-reverse; } flex-wrap .container{ flex-wrap: nowrap | wrap | wrap-reverse; }...

read more
Clear Thumbnail Cache In Windows 10

Clear Thumbnail Cache In Windows 10

Start cmd as Administrator run the following commands cd /d %userprofile%\AppData\Local\Microsoft\Windows\Explorer attrib -h thumbcache_*.db del thumbcache_*.db or download my cmd file and run it as administrator restart your computer

read more
All about Ubuntu server

All about Ubuntu server

My Ubuntu Server Version: 18.04 LTS Install SSH $ sudo apt update $ sudo apt upgrade $ sudo apt install openssh-server $ sudo systemctl enable ssh Create an authorized keys file $ sudo touch ~/.ssh/authorized_keys Copy over client pub file over and put it into the...

read more
Ubuntu server backup script

Ubuntu server backup script

Backup script backup.sh #!/bin/bash #################################### # # Backup to NFS mount script. # #################################### # What to backup. backup_files="/home /var/spool/mail /etc /root /boot /opt" # Where to backup to. dest="/mnt/backup" #...

read more