學術及資源的交流園地 ^_^

qemu cli

last update: 22-8-11
 

User mode
    qemu linux.img

System mode
    qemu-i386 -L / /bin/ls


apt-get install qemu qemu-utils

qemu
qemu-img
 



建立 image

 

qemu-img create -f qcow2 hda.img 10G 

Default cluster_size: 65536

 


 

啟動

 

qemu -hda c.img -cdrom linux.iso -boot d -m 128 -localtime -vnc,password -monitor stdio

 

-monitor stdio 在 cmd mode 下見到 monitor

Debian 常用 package

last update: 22-8-11
 

Network:

  • iproute: tc, ss, ip, arpd, nstat, lnstat, rtmon
  • dnsutils: dig, nslookup, nsupdate
  • traceroute
  • telnet
  • net-tools: arp, mii-tool, route, ifconfig, rarp
  • whois
  • nmap
  • iftop
  • lftp
  • tcpdump
  • mailutils
  • lynx
  • curl
  • wget
  • iputils-ping    <--- ping

 

FileSystem:

  • fuse-utils
  • sshfs
  • quota
  • quotatool

 

Function - drupal_http_request()

Checks whether the server is capable of issuing HTTP requests.

The function sets the drupal_http_request_fail system variable to TRUE if
drupal_http_request() does not work and then the system status report page
will contain an error.

@return TRUE if this installation can issue HTTP requests.

tips-002 查看檔案

 

less 的應用

-N: 顯示行數

 

cat 的應用

cat -A file

-A(-vET) 顯示所有字符(包括不能 print 的)

 

 

RSS feed