發表文章

目前顯示的是 2019的文章

Install MongoDB on CentOS8

1. su - 2. vim /etc/yum.repos.d/mongodb.repo  # add follows [mongodb-org-4.2] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.2/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc 3. dnf install mongodb-org 4. semanage --port -a -t mongod_port_t -p tcp 27017 5. firewall-cmd --add-port=27017/tcp --permanent     firewall-cmd --reload reference https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/ https://www.osradar.com/install-mongodb-centos-8/ https://computingforgeeks.com/how-to-install-mongodb-4-0-on-rhel-8-centos-8/ https://docs.mongodb.com/manual/reference/ulimit/ https://repo.mongodb.org/yum/redhat/8/mongodb-org/4.2/x86_64/RPMS/

解決'Microsoft.Jet.OLEDB.4.0' 提供者並未登錄於本機電腦上

圖片
1. https://3ctipsmemo.blogspot.com/2017/07/ms-windows-iis-10-x64.html 2. download Microsoft Access Database Engine 2010 可轉散發套件 Microsoft Access Database Engine 2016 Redistributable https://www.microsoft.com/en-us/download/details.aspx?id=54920 please uninstall 64bit Microsoft Office before install Access Database Engine 2010  Reference https://social.msdn.microsoft.com/Forums/zh-TW/c55decf8-53a4-4c82-8aa3-d9f3e6c627c0/microsoftjetoledb40?forum=238

To print message in a box on CentOS 8

$ dnf  install boxes $ echo 'Merry Chrismas and Happy New Year 2020! ' | boxes -d santa -a c Reference https://boxes.thomasjensen.com/download.html https://www.tecmint.com/boxes-draws-ascii-art-boxes-in-linux-terminal/

Installing WineHQ on CentOS 8

1. download from https://dl.winehq.org/wine/source/4.0/wine-4.0.2.tar.xz 2. tar Jxvf wine-4.0.2.tar.xz 3. cd wine-4.0.2 4. ./configure --enable-win64 5. make && make install reference https://tecadmin.net/install-wine-centos8/

CentOS/RHEL Linux 設定IP轉址與設定調整一臺主機多網卡之靜態route優先權

圖片
1. sudo vim /etc/sysctl.conf to modify net.ipv4.ip_forward or sudo sed -i 's/net.ipv4.ip_forward=0/ net.ipv4.ip_forward=1/g' /etc/sysctl.conf sysctl -p  2. permanent setting in /etc/sysconfig/newtork-scripts/route-eXXXX if nm-bond0 is default router touch /etc/sysconfig/network-scripts/route-enp2s0 echo '192.168.2.0/24 via 192.168.1.1 dev nm-bond0' >> /etc/sysconfig/network-scripts/route-enp2s0 $ route -n    #route $ sudo route del default dev nm-bond0 $ sudo route del default dev enp2s0 $ sudo route add default  via 192.168.1.1 netmask 0.0.0.0 dev nm-bond0 metric 0 $ sudo route add default  via 192.168.1.1 netmask 0.0.0.0 dev enp2s0 metric 1 將 script 加入 /etc/rc.local,讓開機即可改變 #Centos Linux 7 nmcli connection show dev enp5s0 | grep ipv4 nmcli connection modify enp5s0 ipv4.route-metric 0 nmcli connection modify enp2s0 ipv4.route-metric 1 nmcli connection up  enp5s0 nmcli connection up  enp2s0 參考 https://unix.stackexchange.com/questions/34497

Enable the IPython Clusters tab in Jupyter Notebook

圖片
downloaded and preinstalled python3 from https://www.python.org/downloads/   @ on MS Windows 1. python get-pip.py             2. pip install jupyter 3. pip install --upgrade ipyparallel 4. jupyter serverextension enable --py ipyparallel --user     jupyter nbextension install --py ipyparallel --user     jupyter nbextension enable --py ipyparallel --user 5. ipcluster nbextension enable 6. jupyter notebook # on Windows path: C:\Users\%USERNAME%\AppData\Local\Programs\Pytho n\Python36\Scripts\jupyter-notebook.exe @ on CentOS Linux 8 I. pip install jupyter II. pip install --upgrade ipyparallel III. jupyter-serverextension enable ipyparallel --py --user jupyter-nbextension install ipyparallel --py --user jupyter nbextension enable ipyparallel --py --user IV. ipcluster nbextension enable VI. jupyter-notebook&   @ on Mac OS X (if python 3.8 installed) Path of jupyter-notebook /Library/Frameworks/Python.framework/Versions/3.8/bin/jupyter-notebook type  python -m pi

Hanoi tower problem with recursive solution

https://www.geeksforgeeks.org/c-program-for-tower-of-hanoi/ http://mathworld.wolfram.com/TowerofHanoi.html

密碼生成網站

感謝大神 創造 https://passwordsgenerator.net/ https://passwordsgenerator.net/plus/ 加密生成網站 https://passwordsgenerator.net/sha256-hash-generator/ https://passwordsgenerator.net/md5-hash-generator/ https://passwordsgenerator.net/sha1-hash-generator/ https://passwordsgenerator.net/sha512-hash-generator/ Base 64 https://passwordsgenerator.net/base64-decode/ Name https://passwordsgenerator.net/name-generator/ Counts Char https://passwordsgenerator.net/character-count/ QRcode https://passwordsgenerator.net/qr-code-generator/

ffmpeg transfer stream files mp4 on CentOS 8

圖片
1 Download tarball from below: https://www.ffmpeg.org/download.html 2  go into folder cd ffmpeg {}  # tab key 2. if your account has sudo option #/etc/sudeors  $ sudo dnf install nasm  $  sudo ./configure  $ sudo make && sudo make install  3.with Constant Bitrate Encoding(CBR) $ffmpeg -i input.mp4 -vn -acodec libmp3lanme -ac 2 -ab 128k -ar 44100 output.mp3   with Variable Bitrate Encodeing(VBR) $ffmpeg -i input.mp4 -vn -acodec libmp3lanme -ac 2 - qscale:a 4 -ar 44100 output.mp3 4. Press enter to excute Other Solution bandbrake - https://handbrake.fr/downloads.php reference https://askubuntu.com/questions/84584/converting-mp4-to-mp3

移除 Norton Antivirus後在Windows 10 新增移除該程式會出現不定時重開機的問題

看登入檔可以發現新增移除程式並無把Norton完全移除,故開啟Denfender後,會一直出現衝突的不定時重開,從紀錄檔可以看到PCI-E錯誤與Localhost權限取得錯誤。故我們需使用專門移除程式移除Norton 1. 先停止 Windows Denfender 2. 從下方URL下載原廠移除工具 https://support.norton.com/sp/zh/tw/home/current/solutions/v60392881 http://liveupdate.symantecliveupdate.com/upgrade/RnR/NRnR.exe 3. 執行Norton移除工具,並重開機後 4. 開啟Windows Defender功能

downloader stream on CentOS 8

https://www.duplicate-finder.com/video-dl.html plus GUI https://github.com/MrS0m30n3/youtube-dl-gui from web https://bitdownloader.com/   youtube-downloader https://ytdl-org.github.io/youtube-dl/index.html References https://ytdl-org.github.io/youtube-dl/download.html

CentOS 8 install MPICH

1.  download MPICH rpm $ su - $ dnf install mpi* 2. setup PATH variable about MPI bin PATH in /etc/bashrc or ~/.basrhc and source it $ export PATH = /usr/lib64/mpich/bin    # for bashrc 3. test mpicc or mpif test  C code saved as hellompi.c : #include <mpi.h> #include <stdio.h> int main(int argc,char** argv) {     int id, nums, nlength;     char node_name[MPI_MAX_PROCESSOR_NAME];     MPI_Init(&argc,&argv);     MPI_Comm_rank(MPI_COMM_WORLD,&id);     MPI_Comm_size(MPI_COMM_WORLD,&nums);     MPI_Get_processor_name(node_name,&nlength);     printf("Hello, MPI! thread %d of %d on %s\n",             id, nums, node_name);     MPI_Finalize();     return 0; } 4. compile by mpicc $ mpicc -O2 -o hellompi hellompi.c 5. test hellompi $ mpirun -np 8 hellompi

中華電信 MOD 設定 障礙排除

圖片
插上電源線、網路線連接至ADSL MODEM、將HDMI從電視接上MOD,打開MOD電源,便會開始跑動,接著在調整解析度畫面,可以按下遙控器 i 鍵 (右上) 進入設定畫面 (圖一) 請按照工程師給予的IP, NetMask, Gateway 設定 (圖二) 設定後可內部測試,正確設定應該所有測試都要通過 (圖三) 接著再回到首頁,接著跑完初始化後,會出現輸入MD帳號跟密碼 ,在請工程師給定,輸入確認後即可看到公視畫面了。

Compile LAPACK on CentOS 8

download LAPACK from http://www.netlib.org/lapack/ $ wget http://www.netlib.org/lapack/lapack-3.8.0.tar.gz $ tar zxvf lapack-3.8.0.tar.gz $ cd lapack-3.8.0 $ cp make.inc.sample make.inc $ ulimit -s ulimit $ make && make install

Octave install on CentOS 8

rpm installation https://rpmfind.net/linux/rpm2html/search.php?query=octave 缺少的library 下載 http://rpmfind.net/linux/rpm2html/search.php?query=tex%28titlesec.sty%29&submit=Search+...&system=&arch= http://rpmfind.net/linux/rpm2html/search.php?query=libqscintilla2_qt5.so.15%28%29%2864bit%29&submit=Search+...&system=&arch= http://rpmfind.net/linux/rpm2html/search.php?query=libsundials_ida.so.4%28%29%2864bit%29&submit=Search+... http://rpmfind.net/linux/rpm2html/search.php?query=libsundials_nvecserial.so.4%28%29%2864bit%29&submit=Search+... https://rpmfind.net/linux/rpm2html/search.php?query=libsuperlumt64_d.so.3.1%28%29%2864bit%29&submit=Search+... https://rpmfind.net/linux/rpm2html/search.php?query=SuperLUMT-common&submit=Search+...&system=&arch=

顯卡測試軟體收集

User Benchmark https://gpu.userbenchmark.com/ Geeks3D FurMark https://geeks3d.com/furmark/ Heaven https://benchmark.unigine.com/heaven?lang=en PassMark https://www.passmark.com/products/performancetest/ 3D Mark https://www.3dmark.com/ reference https://graphicscardhub.com/graphics-card-benchmarking-softwares/

CentOS 8 disable nouveau and install NVIDIA driver

圖片
Dowaload driver from https://www.nvidia.com.tw/Download/index.aspx?lang=tw ( if file name is  NVIDIA-Linux-x86_64-430.50.run) 1. remove nouveau driver $ su - $ dnf remove xorg-x11-driver-nouveau* 2. disable grub load module (option) add rd.driver.blacklist=nouveau in /etc/default/grub GRUB_CMDLINE_LINUX variable make grub2 config for efi boot or mbr boot sudo grub2-mkconfig -o /etc/grub2-efi.cfg sudo grub2-mkconfig -o /etc/grub2.cfg 3. add contents   # generated by nvidia-installer blacklist nouveau options nouveau modeset=0 ------------------------------------------------------------------ in /etc/modprobe.d/nvidia-installer-disable-nouveau.conf and /usr/lib/modprobe.d/nvidia-installer-disable-nouveau.conf 4. chmod 755  NVIDIA-Linux-x86_64-430.50.run ./NVIDIA-Linux-x86_64-430.50.run 5. Follow their(NVIDIA) instruction guide. 6. startx and open terminal $ nvidia-smi

VMware installation on CentOS 8 error

圖片
Error: Makefile:958: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel" su - sudo yum install elfutils-*

CentOS 8 install ntfs-3g and exfat

圖片
NTFS-3G Download from https://www.tuxera.com/community/open-source-ntfs-3g/ wget https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2017.3.23.tgz tar zxvf ntfs-3g_ntfsprogs-2017.3.23 cd ntfs-3g cd  ntfs-3g_ntfsprogs-2017.3.23 make make install Exfat su - yum grou install 'Development Tools' yum install fuse-devel git clone https://github.com/relan/exfat.git cd exfat autoreconf --install ./configure make dnf dnf install epel-release dnf install ntfs-3g CentOS8 也開始使用 dnf 了 https://zh.wikipedia.org/wiki/DNF_(%E8%BD%AF%E4%BB%B6) reference https://access.redhat.com/solutions/70050 https://github.com/relan/exfat https://opensource.com/article/18/8/guide-yum-dnf 使用 dnf 更新系統 $ sudo dnf install dnf-plugin-system-upgrade  $ sudo dnf system-upgrade download --releasever=24 --best --nogpgcheck --allowerasing  $ sudo dnf system-upgrade reboot

CentOS 8 1905 released

Download link: http://isoredirect.centos.org/centos/8/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso for Taiwan: http://free.nchc.org.tw/centos/8.0.1905/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso http://mirror01.idc.hinet.net/centos/8.0.1905/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso http://ftp.twaren.net/Linux/CentOS/8.0.1905/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso Rufus USB booting disk https://rufus.ie / Supported updated via dnf program  

iMac A1419 late 2013 升級 SSD

圖片
iMac 型號 https://everymac.com/systems/apple/imac/specs/imac-core-i7-3.5-27-inch-aluminum-late-2013-specs.html 該型號升級SSD必須先拆前面液晶總成,而此代薄型螢幕為四週黏強力雙面膠型,故拆除時必須注意以下幾點: 1. 需要 有熱風槍先將黏膠軟化 ,並且邊軟化邊使用軟塑膠刮刀剃除黏絲 2. 可在網路上購買iMac A1419 專用軟刮刀, 並使用軟刮刀刮除,切勿如同網路上使用三角硬刮刀跟吸盤,會容易使得邊框玻璃碎裂 。 3. 需購買 A1419 27吋 或 21吋 液晶膠條,換完SSD並液晶端與主機邊框端除膠乾淨後,再貼上新的膠條。 以上三點施作前,請先保護好液晶正面,以防其他刮傷,或手指印。 A. 將iMac平躺,並於螢幕左、上、右用熱風槍一步步融膠,吹熱融一段便用軟刮刀括除一段,將左、上、右的膠括除後,再記得將主機站立,打開上方,並將液晶後面之排線移除,如圖一。顯示訊號線從主機板移除 記得要先將卡榫 U 字向上扳起成ㄇ字 ,再拉起排線,右方電源線於主機板上卡榫,記得是往中間壓後,再慢慢搖起,沒工具的要靠手指按住施作。 (圖一) B. 將上述的排線街移除後,再用熱風槍融下方膠,並雙手慢慢將液晶移幕拿開,保護好置於旁。我們看到內部機構如圖二,我們的目標就是要換掉左方的 3.5 吋 Seagate 1TB HDD。所以先拉開其SATA排線。再利用 T8 與 T10 螺絲起子解開圖二左方黑蓋與硬碟旁的固定架 (圖二) C. 最後換上SSD後,再黏上周圍膠條,如圖三。並對正貼回拆下來的螢幕總成(圖四),利用平躺方式對正後,先放回螢幕底部,再插回螢幕訊號線與電源線,再慢慢放下螢幕,讓左、上、右邊框的膠密合。 (圖三) (圖四) D. 再插上安裝系統的USB,選擇是否用Time Machine回復或是清除硬碟再重裝作業系統,本次使用的為Mac OSX High Sierra。 (圖五) 附錄 (軟刮刀)

MySQL/MariaDB 查詢多表格並合併成單一紀錄 select as JOIN

通常查詢多表格並且同時輸出在同筆紀錄,如同JOIN in SQL,可讓PHP直接用mysql_fetch_array()抓取陣列值成為變數。可使用以下方法 例如表格 A, B 個別含以下欄位 table A   table B pid       id field1    field2 field2    field3           pid SQL: select pid, id, field1, GROUP_CONCAT(field2),field3 from A,B where A.pid=B.pid group by pid 參考 https://stackoverflow.com/questions/12890071/select-from-multiple-tables-mysql

利用.htaccess禁止嵌入 iframe

在 .htaccess 檔案內 <meta>標籤內設定不被iframe嵌入 Header set X-Frame- Options DENY 僅允許同樣來源主機 Header append X-FRAME-OPTIONS " SAMEORIGIN " 可允許某些特定主機 Header append X-FRAME-OPTIONS ALLOW-FROM https://facebook.com/ reference https://gist.github.com/jgarciaruiz/68c53352efb028cf4cc0cf8873b3b216

Windows 7 patch KB4499164 與 Sophos Antivirus有衝突無法近作業系統之解決方式

圖片
更新KB4499164後,有安裝Sophos Antivirus機器無法進入 1. 利用F8 進入安全模式並啟動命列提示字元選項 2. 啟動control panel 與 services.exe 3. 新增移除程式->顯示安全性更新 ->移除Microsoft的安全更新 KB4499164 4. 服務-> 找尋 Sophos 開頭之啟動服務,並全部停用 5. 重開機重置更新,會花上一段時間,請勿隨意關閉系統。 6. 就可以進入Login畫面

RHEL 8 release issue

2019.5.7 RedHat Enterprise Linux 8 release https://developers.redhat.com/products/rhel/download/?sc_cid=701f20000012jlLAAQ CentOS 8 progress https://wiki.centos.org/About/Building_8 references https://developers.redhat.com/

因為應用程式的並列設定不正確,所以無法啟動

圖片
Windows 10 啟動較舊軟體時,遇到因為應用程式的並列設定不正確,所以無法啟動,如下圖 此時可下載 VC++ 2005-2012 redistribute 2005 https://www.microsoft.com/zh-tw/download/details.aspx?id=5638 2005 ATL https://www.microsoft.com/zh-tw/download/details.aspx?id=14431 2005 MFC https://www.microsoft.com/zh-tw/download/details.aspx?id=26347 2008 - 2017 https://support.microsoft.com/zh-tw/help/2977003/the-latest-supported-visual-c-downloads 參考自 https://answers.microsoft.com/zh-hant/windows/forum/all/windows-10/20b69701-8f13-49b8-a661-d0b9aee47e1a http://www.krc.url.tw/archives/554

JavaScript / JQuery 常用外掛

JQuery: http://code.jquery.com/ http://code.jquery.com/ui/ JQuery DOM Windows http://swip.codylindley.com/ JQuery Sweet alert https://sweetalert.js.org/guides/#installation Tether Selection http://tether.io/docs/welcome/ 感謝以上大神的分享

Linux下的sed 指令常用語法

$ sed -i 's/<?/<?php/g' test.php # 參數 -i :直接修改檔案,而不須標準輸出,將 test.php 內的 <? 全部置換為 <?php,g代表全部行,s代表置換 $ sed 's/^192.168./&112.1/' test.php # 開頭行192.168的行,會在該行最後面增加 112.1 $ sed -i '13,$d' test.php #刪除  檔案 test.php 第13行開始到最後一行,並直接修改檔案 $ sed '/require_once(/d' test.php #刪除包含 require_once的所有行,並印出標準輸出 $ sed -n '/$var_config/w test2.php' test.php # 把有$var_config字串的行寫入 test2.php $ sed -i '/^$/d test.php # 刪除所有空白行 $ sed -i 's?/n?/r/n?g' test2.php # 把換行符號換成Windows環境下,為了辨別區隔符號,可以在s後接上?當區隔符號   各系統文件行換行符號 Mac: /r Windows: /r/n Linux/Unix: /n   參考資料 https://www.gnu.org/software/sed/manual/sed.html

產生QRcode之網站

感謝以下大神提供之服務: https://tw.piliapp.com/generator/qr-code/ http://qr.calm9.com/tw/ https://www.34qr.com/ https://qr.ioi.tw/zh/#copyright https://www.funcode-tech.com/LOGOQR_Encoder.aspx

MS Windows 7 更新檔 kb4493472造成更新無法登入

1. 使用安全模式或是windows PE進入windows 7 2. 安全模式登入後從新增移除程式移除更新檔kb4493472,由windows PE進入可移除 c:\Windows\software distribution 3. 重開機,會回復未更新狀態 或利用安全模式進入 控制台->新增移除程式->左方更新檔案,找到kb4493472並移除 參考資料 https://www.ghacks.net/2019/04/11/oh-look-another-broken-windows-update-kb4493472-and-kb4493446-causing-issues/

MySQL取消索引值與改變欄位順序

1. 取消欄位索引標籤 drop index [field_name] on [table_name]; 2. 列出索引鍵 show keys from [table_name]; 3.改變欄位順序 alter table [table_name] modify [field_A] charvar(64) after [field_C]; #field_A 移到 field_C 後面 alter table [table_name] modify [field_A] charvar(64) first [field_D]; #field_A 移到 field_D 後面

NVIDIA CUDA tool + Python + Tensorflow/Tensorflow-gpu + Theano + pytorch 安裝順序 on MS Windows 10

圖片
1. 安裝Nvidia驅動程式 https://www.nvidia.com.tw/Download/index.aspx?lang=tw   2. 安裝python 3.6.x版本 https://www.python.org/downloads/release/python-368/     安裝好設定環境變數PATH 3. 安裝 pip 版本 https://bootstrap.pypa.io/get-pip.py 開始->cmd -> 執行 python get-pip.py      安裝後 升級 pip, python -m pip install --upgrade pip 4. 安裝 visualstudio 2015 或以上 https://visualstudio.microsoft.com/vs/older-downloads/?rr=https%3A%2F%2Fwww.google.com%2F 5. 安裝 cuda toolkit https://developer.nvidia.com/cuda-downloads 6. 透過 pip 安裝 jupyter    開始->cmd -> pip3 install jupyter 利用 where 指令找到 jupyter 位置並新增至桌面為捷徑,再加上notebook參數,就可直接開啟 jupyter notebook 7. 透過pip 安裝 tensorflow    開始->cmd -> pip3 install tensorflow->pip install tensorflow-gpu 8.透過 pip 安裝 theano   開始->cmd -> pip3 install theano 9. 透過pip 安裝 pytorch(https://pytorch.org/)   開始->cmd-> pip3 install  https://download.pytorch.org/whl/cu100/torch-1.0.11-cp36-cp36m-win_amd64.wh

How to mount a external LVM lun on CentOS

圖片
1.type instruction, pvscan   # find VG tag name 2. type instruction, vgdisplay   # find vg uuid for vgchange    type instruction, vgrename {UUID} {tagname}   # because have same vg name 3.vgchange -ay --select vg_uuid={UUID} 4. type instruction, lvdisplay   #find lv name you want to mount 5. mkdir /media/old_home  # create a destination 6. mount /dev/centos/home /media/old_home Referneces https://serverfault.com/questions/904179/lvm-in-my-lun-to-mount

iMac 7.1 2007 mid 升級 macOS X 10.13 High Sierra

1. 建議記憶體先升級到 2G + 2G 總容量 4G以上,最大容量為2G + 4G 2. 先利用 High Sierra Patcher 做下載High Sierra與製作開機隨身碟,下載連結如下 http://dosdude1.com/highsierra/ 3. 按照網站步驟下載並置入USB隨身碟後,開機使用option進入正常安裝程序,選擇該隨身碟開機。 4. 先點選左下角工具程式之 mac OS post install,選擇要patch的位置,第一次選擇USB隨身碟,並選擇您的機型,如iMac 7.1,再選擇patch,接著重新開機再利用option進入隨身碟開機。 5. 選擇欲安裝之磁碟,或利用工具程式清除磁碟後,重新分割成最新的APFS格式(記得先備份資料),再進入正常安裝程序 6. 安裝完成重開機後,沒有執行patch會無法進入硬碟的High Sierra ,此時,先利用option選擇進入USB隨身碟 ,再選擇mac OS post install,並選擇要 patch 剛剛安裝High Sierra的硬碟位置,按下patch後重開機。 7. 會進入EFI shell,並且開進High Sierra的初始化設定,此時就可以有Siri功能, 但主機可能會失去wifi的連線能力 8. 筆者升級到 T9300 與 2G+4G之記憶體,並且為SSD硬碟,使用High Sierra相當順暢 參考網站 http://dosdude1.com/highsierra/

macOS Mac OS X 各大版本下載連結

Sonoma - https://apps.apple.com/us/app/macos-sonoma/id6450717509?mt=12 Ventura -  https://apps.apple.com/us/app/macos-ventura/id1638787999?mt=12 Monterey -  https://apps.apple.com/us/app/macos-monterey/id1576738294?mt=12 Big Sur -  https://itunes.apple.com/us/app/macos-big-sur/id1526878132?mt=12 Catalina - https://apps.apple.com/tw/app/macos-catalina/id1466841314?mt=12 Mojave - https://itunes.apple.com/tw/app/macos-mojave/id1398502828?mt=12 High Sierra - https://itunes.apple.com/ca/app/macos-high-sierra/id1246284741?mt=12 Sierra - https://itunes.apple.com/us/app/macos-sierra/id1127487414?ls=1&mt=12 EI Capitan - https://itunes.apple.com/app/os-x-el-capitan/id1147835434?mt=12 Yosemite - https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=915041082&mt=12 參考 https://apple.stackexchange.com/questions/331688/how-to-download-macos-high-sierra-from-the-mojave-app-store

IT設備台灣品牌,總部在台灣

為了怕買錯IT設備,記錄台灣品牌(或總部於台灣),包含消費市場與商務市場,品牌公司資訊來源為wikipedia,以市面上常見商品分類如以下,依品牌英文字排序: 主機板 ACER (宏碁) ASUS (華碩) ASRock (華擎) GIGABYTE (技嘉) MSI (微星) 顯示卡 ASUS (華碩) GIGABYTE (技嘉) MSI (微星) 記憶體 ADATA (威剛) Apacer (宇瞻) Transcend (創見) NAS Promise (喬鼎) QNAP (威聯通) Synololgy (群暉) 持續新增...

Macbook iMac 搭配bootcamp 之 Windows 限制

每一年代的iMac 與 macbook air, mac mini搭配bootcamp跑windows皆有不同限制,以下整理其中實做結果 iMac7.1, 2007, 24" - 最高升至EI Capitan後,bootcamp僅能安裝 32bit Windows 7 ,需使用 Legacy BIOS boot的Windows ,並且可 從 Windows7升至Windows 10 Macbook air 2011 13",最高升至High Sierra後,bootcamp引導僅能安裝 64bit Windows7/8,但bootcamp導引會因為windows7與Windows8的軟體驅動無法下載而中斷,故要自行從Apple網站下載bootcamp驅動,https://support.apple.com/downloads/boot-camp ,並單獨指定bootcamp分割才能分割後重開機。重開機後依舊需按住Option,來選擇 Legacy BIOS boot之Windows。實測可直接放入Windows 10 開機片,按住Option鍵後,用BIOS(不要選EFI)進入Windows,格式化bootcamp分割後安裝在該分割。接著再下載晶片驅動來安裝,或是bootcamp提供之驅動安裝。 Macbook air 2013 13 bootcamp引導僅能安裝64bit Windows10,並可跟隨引導後,直接利用製作的USB boot碟來BIOS/EFI開機。接著一樣的格式化bootcamp後,安裝在bootcamp分割。

解決Windows 7 遠端桌面連線 發生驗證錯誤。無法連線到本機安全性授權單位

圖片
1. windows 7 自動更新微軟推播之更新版本KB4480970 (Monthly Rollup),會造成發生驗證錯誤(如圖一),且尚未更新 KB4480960,會造成本機唯一個administrator群組帳號,無法連線,KB4480960 2. 解決方法為我的電腦->滑鼠右鍵->內容->遠端->選擇所有連線方式皆可連入(本來應該是較安全的殻層驗證造成的連線錯誤) 3. 從 windows update catalog( https://www.catalog.update.microsoft.com/home.aspx ),搜尋KB4480960並下載後安裝,再重開該windows 7機器即可。 參考來源 https://support.microsoft.com/en-us/help/4480970 https://support.microsoft.com/en-us/help/4480960

CentOS 7 設定squid來架設proxy server

1. su - 2. yum -y install squid 3. 解除 selinux 限制 setsebool squid_connect_any 1 setsebool squid_use_tproxy 1 4. 解除防火牆,當proxy server port 為3128 先知道現在在哪個zone firewall-cmd --get-active-zones firewall-cmd --zone=public --add-port=3128/tcp --permanent firewall-cmd --zone=public --add-service=squid --permanent firewall-cmd --reload 5. 編輯 /etc/squid/squid.conf 若要僅綁定一個IP,則server設為  server 10.0.0.111:3128  6. 加入開機載入並且啟動或重啟動squid systemctl enable squid systemctl start squid

CentOS 7.X install Realtek rtl8822be WiFi and Bluetooth

圖片
1. $ su - && yum install git 2. $ git clone https://github.com/synthtc/rtlwifi-next 3. $ make 4. $ make install 5. $ modprobe rtl8822be && rtlwifi p.s. clean cache yum rm -rf /var/cache/yum/* refer to https://github.com/lwfinger/rtlwifi_new/issues/247

CentOS 7 取消載入硬體驅動

1. 在 /etc/modprobe.d/ 產生一個 blacklist.conf檔 2. 在 blacklist.conf 檔填入     modprobe.blacklist=nouveau 參考 https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/sect-driver-updates-performing-x86#sect-blacklisting-a-driver-x86 https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/chap-anaconda-boot-options