發表文章

目前顯示的是 6月, 2018的文章

CentOS 下使用官方 MySQL 源安裝 MySQL 5.7.x

圖片
各位有做網站開發及管理網站的朋友總會離不開便宜好用的開源平台 LAMP 組合吧。 當中 LAMP 中的 M 字母代表了開源界的資料庫姣姣者 MySQL。 就讓 Jimmy Chan 示範一下教教大家在 CentOS 7.x 下使用官方的 MySQL 源安裝 MySQL 5.7.x 吧! 增加官方 MySQL Repository 源 ### CentOS 7 ### # rpm -ivh https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm 之後為了檢查是否成功增加官方的 MySQL源可輸入下面的指令 # yum repolist all | grep mysql | grep enabled 輸出畫面: mysql-connectors-community/x86_64 MySQL Connectors Community enabled: 42 mysql-tools-community/x86_64 MySQL Tools Community enabled: 53 mysql57-community/x86_64 MySQL 5.7 Community Server enabled: 227 安裝官方社區版 MySQL Server 增加完成官方 MySQL 源之後就只用輸入下面的指令就能安裝社區版的 MySQL Server 了 ### CentOS 7 ### # yum -y install mysql-community-server 啟用 MySQL Server 安裝完成了當然就是要把 MySQL 後台服務啟用起來吧,輸入下面的指令來啟用 MySQL   ### CentOS 7 ### # systemctl start mysqld 在每次重新起動伺服器後自動運行 MySQL Server 可輸入下面的指令,這樣就不用每次重新起動伺服器後要手動起動 MySQL Server 服務在背景運行了   ### CentOS 7 ### # systemctl enable mysqld 輸

最新 Hyper-V Server 支援的各種 Configuration Version 版本

圖片
最新的 Hyper-V Server Configuration Version 版本列表 Hyper-V host Windows version Supported virtual machine configuration versions Windows Server, version 1803 8.3, 8.2, 8.1, 8.0, 7.1, 7.0, 6.2, 5.0 Windows 10 April 2018 Update (version 1803) 8.3, 8.2, 8.1, 8.0, 7.1, 7.0, 6.2, 5.0 Windows Server, version 1709 8.2, 8.1, 8.0, 7.1, 7.0, 6.2, 5.0 Windows 10 Fall Creators Update 8.2, 8.1, 8.0, 7.1, 7.0, 6.2, 5.0 Windows 10 Creators Update 8.1, 8.0, 7.1, 7.0, 6.2, 5.0 Windows Server 2016 8.0, 7.1, 7.0, 6.2, 5.0 Windows 10 Anniversary Update 8.0, 7.1, 7.0, 6.2, 5.0 Windows Server 2016 Technical Preview 7.1, 7.0, 6.2, 5.0 Windows 10 build 10565 or later 7.0, 6.2, 5.0 Windows 10 builds earlier than 10565 6.2, 5.0 Windows Server 2012 R2 5.0 Windows 8.1 5.0 大家要留意哦,當 VM 使用了最新的 Configuration Version 版本就不能降級的了哦!!! 例如使用 Hyper-V Server 2016 的 VM Configuration Version 版本就是 8.2,如果你想把這個 VM 轉移去使用 Hyper-V Server 2012 R2 的話就不行哦!!!因為 Hyper-V Server 2012 R