發表文章

目前顯示的是 3月, 2021的文章

Rebuilded RPM product path for Rpmbuild --tb on CentOS

 1. dnf install rpm-build / yum install rpm-build 2. download tarball source from website, eg. Intel ixgbe 10G ethernet driver  https://downloadcenter.intel.com/download/14687/Ethernet-Intel-Network-Adapter-Driver-for-PCIe-Intel-10-Gigabit-Ethernet-Network-Connections-under-Linux- 3.execute rpmbuild instruction from README file in extracted folder > rpmbuild -tb ixgbe-5.11.3.tar.gz when compile and rebuild is finish, its RPM file is located in /root/rpmbuild/RPMS/ixgbe-5.11.3-1.x86_64.rpm   4. rpm ivh  /root/rpmbuild/RPMS/ixgbe-5.11.3-1.x86_64.rpm   p.s. if the source file is .rpms  source > rpmbuild --rebuild  rpm-source.rpms

Rsync to updated backup between folder A and B on CentOS Linux

 1. If source is folder A, and destination is folder B, rsync will not produce new folder A in folder B, only backup files under folder A. > rsync -rulptgo /A/ /B -r  recursive : recurse into directories -u  update : skip files that are newer on the receiver -l  links : copy simlinks as symlinks -p perms : preserve permission -t times : preserve modification times -g group: preserve group -o owner: preserve owner -v verbose : increase verbosity - a  stands for  -rlptgoD

Filezilla FTP server installation steps on Windows 10

圖片
1. Download from https://filezilla-project.org/download.php?type=server 2. Double click downloaded executable file to install such as figure 1   (Figure 1) 3.set default value as follow figures (Figure 2) (Figure 3)   (Figure 4) 4. set default value for administrator remote control port or what you would like port (Figure 5) 5. Go on to set default value for enable daemon with booting (Figure 6)               (Figure 7)   6. Build a administrator password not involve with client user as Figure8         (Figure 8)  7. BTW,  FTP server is listening for connection, you have to add client user next step. (Figure 9) (Figure 10) 8. Click icon of user adding and type user name and passwords in general option as Figure 11 (Figure 11)  9.Select share folder to the user in shared folder option   (Figure 12) 10.  Configure speed limitation for upload and download             (Figure 13)   11. Restrict Remote Login IP from  Internet or Intranet for network security in IP filter option as Figure 14

臺灣股票除權息股價參考價計算

 說明  https://investoredu.twse.com.tw/FileSystem/eBook/12_%E8%82%A1%E7%A5%A8%E9%99%A4%E6%AC%8A%E9%99%A4%E6%81%AF%E5%8F%83%E8%80%83%E5%83%B9%E8%A8%88%E7%AE%97%E8%AA%AA%E6%98%8E.pdf   計算機 證交所   https://www.twse.com.tw/zh/exchange/cal1 櫃買中心  https://www.tpex.org.tw/web/stock/exright/exref/rightref.php?l=zh-tw

臺灣各保險退休金計算機

 公保  https://iocs.mocs.gov.tw/precal/kpc1020000/kpc1020000_frm.asp  https://iocs.mocs.gov.tw/medmvc/cal1010000 勞保  https://calc.mol.gov.tw/trial/personal_account_frame.asp  https://edesk.bli.gov.tw/na/   農保  https://www.bli.gov.tw/0105231.html   國民年金保險 https://www.bli.gov.tw/0100410.html

Compile Kernel-2.6.32.27 and upgrade it on CentOS 4.8 for modern equipment

  1. download kernel from https://mirrors.edge.kernel.org/pub/linux/kernel/v2.6/ 2. tar your kernel zip file out and copy kernel folder to /usr/src/kernels 3. Copy .config from /usr/src/kernels/2.6.9.smp.xxxxx to new kernel folder 4. type cd to go into kernel folder, type make menuconfig and add device driver item to support contemporary equipment. 5. Modify device driver -> network device   and                device driver -> network device -> wireless     Modify device driver -> usb device -> XHCI     Modify device driver -> character device  6. please read http://3cbarbarian.blogspot.com/2016/07/linux-linux-vii.html   for compiling and deploying the new kernel to upgrade. 7. Must solve some issue such as  "default keymap :/etc/rc.d/rc.sysinit: line 294: /dev/tty0: No such directory" "hwclock: KDGHWCLK ioctl failed, errno-25: Inappropriate ioctl for device" "Cannot access the Hardware Clock via any known method" 8. If all process is