個人資料
歸檔
正文

Coding book/tool

(2020-02-07 16:07:53) 下一個

https://github.com/seteda/books https://github.com/huihut/CS-Books   https://github.com/xy00/books https://github.com/zhedahht/CodingInterviewChinese2

gdbgui: https://reverseengineering.stackexchange.com/questions/1392/decent-gui-for-gdb

adv prog in the unix env: https://github.com/shihyu/Linux_Programming/blob/master/books/Advanced.Programming.in.the.UNIX.Environment.3rd.Edition.0321637739.pdf cn try https://www.linuxidc.com/Linux/2018-09/154523.htm

adv linux prog: https://www.jqhtml.com/down/5370.html

understanding the linux kernel: V3: http://shop.oreilly.com/product/9780596005658.do WCW5:http://www.banshujiang.cn/e_books/72/webstorage_links/6624/dow

嵌入式Linux:http://www.wdfxw.net/Fulltext33268621.htm 嵌入式設計及Linux驅動開發指南——基於ARM9處理器http://www.wdfxw.net/Fulltext18089581.htm Linux就該這麽學:https://www.linuxprobe.com/docs/LinuxProbe.pdf 中文書:http://www.wdfxw.net/l81505Grade3QPage1.htm VM:https://www.nocmd.com/740.html 建議官網下載,linux iso:http://mirror.aminidc.com/redhat/RHEL_7.0/ lastguyc1, yahoo, 去redhat reg...

https://www.binarytides.com/socket-programming-c-linux-tutorial/

Linux device driver 3rd: https://www.oreilly.com/openbook/linuxdrive3/book/ch01.pdf https://tc5.us/file/19528924-342856476 4th cn:https://www.7down.com/soft/314340.html

admin video:http://shop.oreilly.com/product/0636920040774.do

C++:http://www.downcc.com/soft/132736.html C++ Primer https://github.com/huihut/CS-Books/tree/master/C%2B%2B%20Primer%205th

==

awk手冊:https://www.tutorialspoint.com/awk/index.htm

Centos 7.6:

1.redirect stderr: cmd > qq 2>errf, or 2>&1 or cmd &> errf 不能用 cmd 2>... 

2. #yum install vim; yum install at, 注意atrm刪除的任務號可由at -l第一列看出。crontab -e是編輯文件 -r是刪除 -l是列表; yum install quota

3.ifcfg格式不同,參數帶雙引號如 TYPE="Ethernet"

4./etc/yum.repos.d下文件格式不同,除非鏈接失效不用修改,軟件安裝如常。

5. https://www.thegeekdiary.com/what-is-suid-sgid-and-sticky-bit/ ls -l列出文件類型及三組權限:用戶/組/其他用戶。SGI=set group id用chmod 2555 [path_to_file] or chmod g+s [path_to_directory]添加;SUID=set user id用chmod 4555 [path_to_file], Sticky bit禁止用戶刪別人的文件用chmod 1777|t [path_to_directory]。防止刪除還可以用隱藏屬性命令chattr,列表是lsattr。

6.visudo: linuxprobe ALL=(ALL) NOPASSWD: /usr/sbin/poweroff

7. quota: https://www.serveradminblog.com/2012/06/centos-server-simple-quota-howto/

8. Raid|LVM: 

https://linuxhint.com/install_lvm_centos7/  https://www.linuxhelp.com/how-to-configure-raid5-in-centos-7

9. firewalld: yum install firewalld, https://linuxize.com/post/how-to-setup-a-firewall-with-firewalld-on-centos-7/ 

要使用firewall-config GUI,還要:

yum groupinstall "GNOME Desktop" "Graphical Administration Tools"

ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target

reboot

10. Screen https://linuxize.com/post/how-to-use-linux-screen/

Screen 或GNU screen是窗口管理軟件工具,它在多個進程(通常是交互式外殼程序)之間多路複用物理終端。這意味著您可以啟動屏幕會話,然後在該會話中打開任意數量的窗口(虛擬終端)。即使原終端窗口不可見或關閉或遠程連接已斷開,在Screen中運行的進程也將繼續運行。man screen內容中的C-a是^A或Ctrl-A,^A是Caret notation,實際上是Ctrl與A鍵同時按下,產生的是ASCII鍵值1,順便說字符A的ASCII鍵值是0x41。

screen -S創建帶有外殼的窗口,此時底行終端名變為screen 0;然後用^A c在單個screen殼中繼續創建終端,底行相應顯示screen n;用^A n切換終端。也可創建次底行顯示每個終端的tab。各終端窗口與VT100兼容,有滾屏複製粘貼日誌等功能,獨立運行程序,可連接(attach)或脫離。示例:screen -S trial,tail -f ,然後關閉該終端,在另一終端用screen -ls看trial仍在,用screen -r trial即可恢複。

11. httpd & selinux

缺省httpd已裝且selinux是enforcing態。瀏覽器用127.0.0.1或IP可見缺省網頁。建立下述符號鏈接即可用http:///filebase顯示用戶Download目錄(權限755):

#ln -s /home/linuxprobe/Download filebase

如果目錄因SElinux不能顯示,用:semanage fcontext -a -t httpd_sys_content_t <目錄名|文件名>

12 sftpd/tftp:

直接安裝,tftp配置文件無需修改。去除文件中的注釋行:

grep -v "#" /etc/vsftpd/vsftpd.conf > qq

13. Samba/NFS

cat /etc/samba/smb.conf.bak | grep -v "#" | grep -v ";
" | grep -v "^$" > qq

cifs-utils是smb包的一部分。

20 ARM V8

https://static.docs.arm.com/100878/0100/fundamentals_of_armv8_a_100878_0100_en.pdf

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0801g/pge1427897667125.html

21 Virtual machine

https://developer.arm.com/architectures/learn-the-architecture/armv8-a-virtualization/single-page

KVM: 和Vmware、VirtualBox 之類的虛擬機管理軟件不同,QEMU不提供圖形化的管理界麵。你可以使用第三方的圖形前端,例如qtemu,但是命令行的豐富性讓QEMU更適合在服務器上使用。

ARM/KVM: https://lwn.net/Articles/557132/ https://blog.csdn.net/shuaifengyun/article/details/85195514

V8: https://blog.csdn.net/gaojy19881225/article/details/88889180 V7: https://blog.csdn.net/shuaifengyun/article/details/85298553

https://www.youtube.com/watch?v=oF8ydWwEuBI  https://www.youtube.com/watch?v=WHIrGfNFwVo  https://www.youtube.com/results?search_query=ARM%2FKVM

安裝:https://www.jianshu.com/p/12da040d6e93

https://blog.gmem.cc/kvm-qemu-study-note  https://people.cs.nctu.edu.tw/~chenwj/dokuwiki/doku.php?id=kvm  

arm: https://community.arm.com/developer/tools-software/oss-platforms/w/docs/415/spawn-a-linux-virtual-machine-on-arm-using-qemu-kvm  https://www.youtube.com/watch?v=oF8ydWwEuBI

由源碼安裝:https://gist.github.com/doomedraven/41af84c8cf93ba63cea933a80e898fb6

書籍:http://www.javalearns.com/mobile/java1/Html/?5093.html

http://www.linuxnew.com/book/201811297.html https://systems.cs.columbia.edu/projects/kvm-arm/

XEN: https://wiki.xenproject.org/wiki/Archived/Xen_ARM_(PV)

http://xhypervisor.org/https://www.jianshu.com/p/329635e8107b

Linux versions:https://systems.cs.columbia.edu/projects/kvm-arm/

pointers on C: https://www.cs.rit.edu/~kar/pointers.on.c/ https://www.mootoo.co/uploads/Kenneth%20Reek-Pointers%20on%20C-Addison%20Wesley%20%281997%29.pdf

VC++ 2019:https://docs.microsoft.com/en-us/visualstudio/releases/2019/compatibility#developLinux

SourceInsight: https://blog.csdn.net/qq_21792169/article/details/85835864

[ 打印 ]
閱讀 ()評論 (0)
評論
目前還沒有任何評論
登錄後才可評論.