Coding book/tool

打印 被阅读次数

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

登录后才可评论.