????Linux????????·????????????????
???????????? ???????[ 2013/6/7 10:38:47 ] ????????
????·?????????????????????豸???????????г??????罻??????????????????????????????????????????????????????????豸????Ч????????????????????????????????????????·???????????ò?????????????????????????????????λ??????????е????????????????????·??????????·?????м????????Щ·????????????????????????????·?????????????????????????????????????????????Linux??????TFTP????????apache????????????滮??????????·?????????????????????????????????Linux??????????RedHat??Debian????????????а檔????????????????????????????y?????????????????????????????
???????Debian??????TFTP??apache??????
?????????TFTP??????????
????1??TFTP????????????
??????Debian?п???????????????????????????tftpd-hpa????????????“???????”??????????e??????????????и????????????????????????????????????apt-get install tftpd-hpa?????а???????????£?
root@AkBirdofpreyWorkStation:~# apt-get install tftpd-hpa
?????????????????????????????????????????????????′???/srv/tftp????
????2??TFTP????????????????????
???????????TFTP??????????????????TFTP?????????????鼰???????????????/etc/default/tftpd-hpa????????????????£?
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/srv/tftp"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-secure"
???????????????????????????????
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/srv/tftp"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-l -c -secure"
??????????TFTP_OPTIONS????м?????-l -c???????????????????·????????????????????????????????????TFTP??????????
???????????????????TFTP?????????????????????飬?????????£?
root@AkBirdofpreyWorkStation:/etc/default# chown tftp:tftp /srv/tftp
????????/srv/tftp??????????????tftp??????????????????????У?????????з????TFTP????????????/srv/tftp?????????root?????????????????????????????·????????????????????????????????transfer time out????
????????????/etc/init.d/tftpd-hpa restart????TFTP????TFTP???????????????????????????????£?
root@AkBirdofpreyWorkStation:/etc/default# /etc/init.d/tftpd-hpa restart
[ ok ] Restarting HPA's tftpd: in.tftpd.
??????????apache????????????????
????1??apache??????????????????
??????????????TFTP???????????????????????????ν???????????н?????а??????
????2??apache????????????????
??????????????????????RedHat????????Linux?汾?????Debian/Linux??????apache???????????????RedHat????????Linux?汾apache??????????????????Debian/Linux????apache???????????????б?????????httpd.conf????У????????????????????????????????·?????????漰???????????????????????apache???????????????????????????????????????????????á?
????Debian/Linux????apache???????????????????/etc/apache2?У????vi /etc/apache2/apache2.conf???????е??????????????????????????????????????????? /etc/apache2/sites-enabled/000-default?????????????apache????????????????????а???????????????????????????????????????????????
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks Indexes
AllowOverride None
</Directory>
<Directory /var/www/>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow??deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow??deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug?? info?? notice?? warn?? error?? crit??
# alert?? emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11