發表文章

目前顯示的是 10月, 2019的文章

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