1. su
2. visudo
3.下面是添加完的结果。
## Allow root to run any commands anywhere
root
hsu0301 ALL=(ALL)
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = ~/tftp
disable = no
}
sudo mkdir ~/tftp
sudo chmod -R 777 ~/tftp
sudo chown -R nobody ~/tftp
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /home/jim.hsu/tftp
disable = no
}
Version | Codename | API | Distribution |
---|---|---|---|
2.2 | Froyo | 8 | 0.3% |
2.3.3 - 2.3.7 | Gingerbread | 10 | 5.6% |
4.0.3 - 4.0.4 | Ice Cream Sandwich | 15 | 5.1% |
4.1.x | Jelly Bean | 16 | 14.7% |
4.2.x | 17 | 17.5% | |
4.3 | 18 | 5.2% | |
4.4 | KitKat | 19 | 39.2% |
5.0 | Lollipop | 21 | 11.6% |
5.1 | 22 | 0.8% |