1. how to start a service in a linux
这个回答的挺好
service [servicename] start
/etc/init.d/[servicename] start
2. how to view the network protocols opening in a linux
(回答了命令,参数当时不 ...
1. how to start a service in a linux
这个回答的挺好
service [servicename] start
/etc/init.d/[servicename] start
or start a deamon with(or without ) parameter directly, such as /usr/local/bin/vsftpd&
or even in an old fashion and also unsecured way by using xinetd to start a service
2. how to view the network protocols opening in a linux
(回答了命令,参数当时不知道)
netstat -l
or lsof -i
or ss -a
3. how to view the routing tables in a linux
(回答了命令,参数当时不知道)
route
or netstat -rn
or ip route
4. how to view the opening ports in a remote linux
当时回答:using ‘telnet ip port’ to review the response for the remote host
面试官补充:a better way : using nmap to scan the remote host (这个完全不知道)
or nessus
or nc localhost 1-65534
or ncat
5. tail me about the LVM
这个回答的挺好
a powerful tool in LINUX kernel to managing large hard disk farms
PV - physical Volume
VG - Volume Group, consisting of PVs
LV - logic volumes, could be used by the LINUX
Advantage: to adjust the logic volume size dynamically without disturbing the system
The Best Pro is snapshot, you can use either in VM testing environment or safe backup
6. tell me about the different between dd, df, du
dd: the low-level copying and conversion of raw data (这个不知道,只是老实承认了,当时回答:我记得如果创建swap文件需要用dd)
剩下两个回答还可以
df: a command to view the disk file system like
du: a command to view the disk utilization of the system
7. could you give me some example of /dev/ virtual devices
/dev/null (只举出了这么一个)
/dev/zero
/dev/tty
8. could you give the situation of redirection
似乎没太讲明白,只是举了2个例子
input redirection : get the input from a specified file rather than the keyboard
command [arguments] < filename
output redirection :
9. could you explain the pipe
这个回答的挺好
to combine the two command together : the first one’s out is the next command input
eg: ps –ef | grep ora_ to check the oracle processes of a linux
Redirection and pipe is the most useful and powerful concept in unix
HP G350
1 Q-Core CPU 2.2G
12 G memory
256 MB RAID Controller
2*146 SAS FOR OS
3*500 SATA FOR FILE DATA
HBA Card For TAPE Drive
3 Y 13*5 4 HOUR repsonse
Rednt Power+FAN
WINDOWS 2008 SBS + 10 USER CAL
一共税前价格6800,感觉不贵啊!
5-7个人用的域服务器,应该可以支撑3年了。
来的销售都是开始先聊,然后执意看看server room,然后马上开始鼓吹虚拟化,云计算。说投入很少。
娘的,以为我傻,硬件是不贵,软件也不贵,到时候你收个天价的consultant费,老板不杀了我才怪。
还是等我先自己搞明白再说。再说我才进去一个月,就天翻地覆,出事谁给我逗着!
HP G350
1 Q-Core CPU 2.2G
12 G memory
256 MB RAID Controller
2*146 SAS FOR OS
3*500 SATA FOR FILE DATA
HBA Card For TAPE Drive
3 Y 13*5 4 HOUR repsonse
Rednt Power+FAN
WINDOWS 2008 SBS + 10 U ...
we just bought 4 dell machines, $5500 each,poweredge,i thinks. 2cpus,32G.2 redundant PS, 5/6 fans.
HP G350
1 Q-Core CPU 2.2G
12 G memory
256 MB RAID Controller
2*146 SAS FOR OS
3*500 SATA FOR FILE DATA
HBA Card For TAPE Drive
3 Y 13*5 4 HOUR repsonse
Rednt Power+FAN
WINDOWS 2008 SBS + 10 U ...
we just bought 4 dell machines, $5500 each,poweredge,i thinks. 2cpus,32G.2 redundant PS, 5/6 fans.
so cheap.
when i asked the boss which brand to choose, he said IBM OR HP is shit, DELL is worst.
So i have to choose HP.
Actually the server itself is very cheap. i think it is about 3000 AUD but the upgrade of service, windows 2008 is expansive.