随笔分类 -  \W+NIX Related

Cygwin/mingw: Intro & Diffs & Notes
摘要:Firstly, compile something with cygwin is to compile something for cygwin1.dll, compile something with mingw is compile something for windows. Here li 阅读全文

posted @ 2017-11-30 21:00 三叁 阅读(147) 评论(0) 推荐(0)

PHP: Learning Notes
摘要:from here. php basics in PHP, variables are defined as $_alphanum variables should always prefixed a $ variables defined/assigned outside of a functio 阅读全文

posted @ 2017-11-24 17:57 三叁 阅读(193) 评论(0) 推荐(0)

Composer: PHP package manager
摘要:To use composer, first system must satisfy php environment: To install composer, try either: enable packagist repo globally: [its speed seems not fast 阅读全文

posted @ 2017-11-24 11:31 三叁 阅读(451) 评论(0) 推荐(0)

net-snmp: introduction
摘要:SNMP is a protocol that enables server remote-info-exchange. Which according to wikipedia: it [collecting and organizing information about managed dev 阅读全文

posted @ 2017-10-09 18:11 三叁 阅读(468) 评论(0) 推荐(0)

Haskell: install from source
摘要:First we need to determine the version of ghc to be installed. Newest version not always good. Since we are going to install ghc-mod as final destinat 阅读全文

posted @ 2017-09-22 12:07 三叁 阅读(301) 评论(0) 推荐(0)

nmap: basic/advanced usages
摘要:most common cases: Very important knowledge: -sS: default if using root/admin with nmap (Syn scan) -sT: default if using normal user with nmap (TCP co 阅读全文

posted @ 2017-09-20 16:02 三叁 阅读(191) 评论(0) 推荐(0)

GNU make: Learning notes
摘要:before talking about Makefiles, compilers are important pre-knowledge. first compile a executable ELF file, by: if we are going to compile one/several 阅读全文

posted @ 2017-04-12 15:22 三叁 阅读(180) 评论(0) 推荐(0)

DNS: Intro & Basics
摘要:Find the authoritative server of a domain, by: find actual IP of a sub-domain, by: What is authoritative server of dns? [Quote]An authoritative name s 阅读全文

posted @ 2017-02-09 16:52 三叁 阅读(197) 评论(0) 推荐(0)

OvS: ovs-ofctl adding parameters analysis
摘要:if using dpdk, then OvS' datapath folder is ignored. Only OvS' userspace code are in use. According to manpages of ovs-vsctl/ovs-dpctl, it says that t 阅读全文

posted @ 2017-01-04 15:45 三叁 阅读(484) 评论(0) 推荐(0)

NIC Bonding: 2 nic port as 1 interface
摘要:The following is concluded from here. Consider we have 2 interfaces: eth0 & eth1 bond the two interface: in ifcfg-eth0/ifcfg-eth1: remove IP/MASK/GW/U 阅读全文

posted @ 2016-12-08 15:19 三叁 阅读(468) 评论(0) 推荐(0)

WI-FI: connection through CLI
摘要:First, ensure that the computer/sbc has WI-FI parts. install wpa_supplicant, edit /etc/wpa_supplicant/wpa_supplicant.conf, with ssid & psk. Then run w 阅读全文

posted @ 2016-11-27 19:11 三叁 阅读(161) 评论(0) 推荐(0)

ramfs/tmpfs: Linux RAM filesystems
摘要:Previously in windows, I uses ramdisk, to accelerate chrome browsing. However, in linux, this is made possible by tmpfs/ramfs already by default. Also 阅读全文

posted @ 2016-11-19 17:02 三叁 阅读(299) 评论(0) 推荐(0)

Samba: Server setup..
摘要:To make samba shard folder permission clear, there are 3 kind of permission need to be paid attention: 1. permission written in /etc/samba/smb.conf of 阅读全文

posted @ 2016-11-18 17:58 三叁 阅读(367) 评论(0) 推荐(0)

Network: Problems and Important notes.
摘要:when ping, specifying the length of the packet by: Actually default is -l 32, so if we omit the last option, the sent packets are the same. This packe 阅读全文

posted @ 2016-11-14 11:07 三叁 阅读(287) 评论(0) 推荐(0)

C89, C99, C11: All the specifics that I know
摘要:before anything.. sizeof is an operand! sizeof is an operand! sizeof is an operand! 重要なことは三回にしませんね! int *ptr; sizeof *ptr; = sizeof (int); the followi 阅读全文

posted @ 2016-10-28 11:53 三叁 阅读(264) 评论(0) 推荐(0)

Docker: Usage instruction
摘要:Install docker from official site, in windows. or install docker from repo as official site told, in linux.. after installation, we run by: (windows s 阅读全文

posted @ 2016-10-27 18:01 三叁 阅读(397) 评论(0) 推荐(0)

Learning BSD.sys/queue.h
摘要:This file includes 4 data-structures.. Insteresting because they are written in 1994.. to make it easier using the structures.. LIST: the common usage 阅读全文

posted @ 2016-09-09 17:29 三叁 阅读(984) 评论(0) 推荐(0)

GDB: advanced usages
摘要:Sometimes running program in Unix will fail without any debugging info or warnings because of the laziness of programmer.. So if need to find the righ 阅读全文

posted @ 2016-09-06 18:41 三叁 阅读(755) 评论(0) 推荐(0)

GRPC: set up..
摘要:get the grpc source file.. compile the helloworld example.. is easy.. the most important is to write the server/client side .go files and one message/ 阅读全文

posted @ 2016-08-14 22:17 三叁 阅读(295) 评论(0) 推荐(0)

THOUGHTS: programming in linux... with third_party open sources... methods
摘要:Actually I do not have experiences in programming with open sources/third party libs.. in linux.. I think this took me almost 3 days to figure out how 阅读全文

posted @ 2016-08-11 14:47 三叁 阅读(164) 评论(0) 推荐(0)

导航