發表文章

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            ...

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

 說明  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: Inapp...

Executing Sysprep on Windows has error message

圖片
系統複製後,要使用sysprep重置SID( Windows 重置 SID (3ctipsmemo.blogspot.com) ,發生如下錯誤   暫時允許勒索軟體防護的隔離停止 1. windows安全性 -> 病毒 與威脅防護-> 勒索軟體防護-> 封鎖歷程記錄 -> 允許裝置

Windows 10 disable Fast User Switching

圖片
1. search -> cmd.exe -> run as administrator 2. gpedit.msc 3. enable Hide entry points for Fast User Switching references https://www.askvg.com/how-to-disable-switch-user-option-in-windows-vista-and-7/ https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.WindowsLogon::HideFastUserSwitching&Language=zh-tw

Windows 10 掛載 NFS 網路磁碟

圖片
1. 控制台 -> 程式集 -> 程式和功能 -> 開啟或關閉功能 2. 選取  Services for NFS  Client for NFS and 系統管理工具 3. 開啟命令提示字元  showmount NFS_IP    # NFS_IP is xxx.xxx.xxx.xxx for ipv4 mount /help      mount -o anon \\NFS_IP\NFS_share   References https://docs.microsoft.com/zh-tw/windows-server/administration/windows-commands/services-for-network-file-system-command-reference https://social.technet.microsoft.com/Forums/zh-TW/d91d2b21-5955-4217-8e86-963f7685c269/windows-10-nfs-client?forum=win10itprosetup

Test POP3 on CentOS

圖片
1. open terminal 2. telnet IP pop3 or telnet   user username pass password list  . . quit