vsftp相关配置文件

1.sudo gedit /etc/init.d/rc.local #! /bin/sh mount –bind /media/sda5/software/ /home/ftp/winsoft mount –bind /media/sda6/music/ /home/ftp/music/ mount –bind /media/sda6/movies/ /home/ftp/movies/ mount –bind /media/sda7/linux/ /home/ftp/linux/ mount –bind /media/sda7/games/ /home/ftp/games/ mount –bind /media/sda6/var/ /home/ftp/var/ PATH=/sbin:/bin:/usr/sbin:/usr/bin [ -f /etc/default/rcS ] && . /etc/default/rcS . /lib/lsb/init-functions do_start() { if [ -x /etc/rc.local ]; then log_begin_msg “Running local boot scripts (/etc/rc.local)” /etc/rc.local log_end_msg […]

镜像配置文件/etc/apt/mirror.list

sudo gedit /etc/apt/mirror.list ############# config ################## # set base_path /media/sda6/var/spool/apt-mirror # # if you change the base path you must create the directories below with write privlages # set mirror_path $base_path/mirror set skel_path $base_path/skel set var_path $base_path/var # set cleanscript $var_path/clean.sh # set defaultarch <running host architecture> set nthreads 5 set tilde 0 # ############# […]