1 您所在的位置:网站首页 ubuntu配置开发环境 1

1

#1| 来源: 网络整理| 查看: 265

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

这篇文章就没什么技术含量了,只是从官网拷过来后,稍加整理的...仅供我自己参考...

1-1 ubuntu配置 --- ubuntu开发环境搭建

1-3 ubuntu开发环境搭建

一.准备工作

ubuntu server安装好后,为保证速度,最好先替换源,并做一些简单配置

(一)源

#cp /etc/apt/sources.list /etc/apt/sources.list_old

#vim /etc/apt/sources.list

#香港

deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise main restricted

deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise main restricted

deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise-updates main restricted

deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise-updates main restricted

deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise universe

deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise universe

deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise-updates universe

deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise-updates universe

deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise multiverse

deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise multiverse

deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise-updates multiverse

deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise-updates multiverse

deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise-backports main restricted universe multiverse

deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise-backports main restricted universe multiverse

deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise-security main restricted

deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise-security main restricted

deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise-security universe

deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise-security universe

deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise-security multiverse

deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ precise-security multiverse

#apt-get update

(二)add-apt-repository

add-apt-repository 是由 python-software-properties 这个工具包提供的

所以要先安装python-software-properties 才能使用 add-apt-repository

否则会显示“command not found”

安装方法:

#apt-get install python-software-properties

(三)apt-fast

#apt-get install axel aria2

#add-apt-repository ppa:apt-fast/stable

#apt-get update

#apt-get install apt-fast

 

(四)OpenSSH Server

#apt-get install openssh-server

查看返回的结果,如果没有出错,则用putty、SecureCRT、SSH Secure Shell Client等SSH 客户端软件,输入您服务器的 IP 地址。如果一切正常的话,等一会儿就可以连接上了。并且使用现有的用户名和密码应该就可以登录了。

然后确认sshserver是否启动了:(或用“netstat -tlp”命令)

#ps -e | grep ssh

 

如果只有ssh-agent那ssh-server还没有启动,需要/etc/init.d/ssh start,如果看到sshd那说明ssh-server已经启动了。

ssh-server配置文件位于/ etc/ssh/sshd_config,在这里可以定义SSH的服务端口,默认端口是22,你可以自己定义成其他端口号,如222。然后重启SSH服务:

#/etc/init.d/ssh resart

 

二.Installing the JDK (一)手动安装

STEP 1:下载JDK6安装包

 

Oracle公司的官方下载网页链接:

http://www.oracle.com/technetwork/java/javase/downloads/index.html

 http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html

下载Java SE 6 Update 33,是一个jdk-6u43-linux-x64.bin格式文件,大约68MB。

 

STEP 2:安装JDK6

1、为jdk-6u33-linux-i586.bin增加执行权限

#chmod u+x /usr/lib/jvm/java/jdk-6u43-linux-x64.bin

 

2、执行jdk-6u33-linux-i586.bin,将JDK6的相关文件解包至jdk1.6.0_33目录下

#./jdk-6u43-linux-x64.bin

 

3、将jdk1.6.0_33复制到/usr/lib下

#mkdir -p /usr/lib/jvm/

#cp -r jdk1.6.0_43 /usr/lib/jvm/jdk1.6.0_43

 

4、安装JDK6

    JDK6的bin文件中有许多可执行命令,根据需要,可以选择安装至/usr/bin目录下,比如,我安装了java/javac/javaws/jar四个命令。具体执行如下命令:

#update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_43/bin/javac 1

#update-alternatives --install /usr/bin/javadoc javadoc /usr/lib/jvm/jdk1.6.0_43/bin/javadoc 1

#update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_43/bin/java 1

#update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_43/bin/javaws 1

#update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk1.6.0_43/bin/jar 1

#update-alternatives --config javac

#update-alternatives --config javadoc

#update-alternatives --config java

#update-alternatives --config javaws

#update-alternatives --config jar

 

速配:

$ su root

#update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_43/bin/javac 1 \

&& update-alternatives --install /usr/bin/javadoc javadoc /usr/lib/jvm/jdk1.6.0_43/bin/javadoc 1 \

&& update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_43/bin/java 1 \

&& update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_43/bin/javaws 1 \

&& update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk1.6.0_43/bin/jar 1 \

&& update-alternatives --config javac \

&& update-alternatives --config javadoc \

&& update-alternatives --config java \

&& update-alternatives --config javaws \

&& update-alternatives --config jar

 注意:如果需要安装其它命令,按照上面的格式,根据需要进行添加即可。

 

5、测试

    执行java -version可以看到当前JDK的版本信息,表示安装成功。显示如下:

# java -version

    java version "1.6.0_33"

    Java(TM) SE Runtime Environment (build 1.6.0_33-b04)

    Java HotSpot(TM) Server VM (build 20.8-b03, mixed mode)

 

(二)命令安装

(来自http://www.android.com/,选择Developers->Open Source->Source->Downloading and Building->Initializing a Build Environment)

The Sun JDK is no longer in Ubuntu's main package repository. In order to download it, you need to add the appropriate repository and indicate to the system which JDK should be used.

Java 6: for Gingerbread and newer$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"$ sudo apt-get update$ sudo apt-get install sun-java6-jdk

Java 5: for Froyo and older$ sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu hardy main multiverse"$ sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu hardy-updates main multiverse"$ sudo apt-get update$ sudo apt-get install sun-java5-jdk

Note: The lunch command in the build step will ensure that the Sun JDK is used instead of any previously installed JDK.

三.Installing required packages (一)On Ubuntu 12.04

You will need a 64-bit version of Ubuntu. Ubuntu 12.04 is recommended. Building using an older version of Ubuntu is not supported on master or recent releases.

$ sudo apt-get install git gnupg flex bison gperf build-essential \zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \libgl1-mesa-dev g++-multilib mingw32 tofrodos \python-markdown libxml2-utils xsltproc zlib1g-dev:i386

$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

(二)On Ubuntu 10.04 -- 11.10

Building on Ubuntu 10.04-11.10 is no longer supported, but may be useful for building older releases of AOSP.

$ sudo apt-get install git-core gnupg flex bison gperf build-essential \zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs \x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev \libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \libxml2-utils xsltproc

(三)On Ubuntu 10.10

$ sudo ln -s /usr/lib32/mesa/libGL.so.1 /usr/lib32/mesa/libGL.so

(四)On Ubuntu 11.10

$ sudo apt-get install libx11-dev:i386

四.gcc、g++版本选择

在Ubuntu 12.04中的默认的GCC版本是4.6。但是这个版本在编译android 4.0源码的时候会出错,如”:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]host C++:“,下面是安装和设置GCC4.4的方法。

下文来自网络:http://mjanja.co.ke/2012/04/ubuntu-gcc-4-4-considered-harmful/I’ve been having some problems with Ubuntu 11.10′s default GCC (4.6.2) for some time now. First, I was having problems with self-kang CyanogenMod 9 builds on my Samsung Tab 7 Plus (specifically, adb wouldn’t work). Second, I couldn’t boot Linux kernel 3.3 on my Sandy Bridge Core i7-2600 build server.

I didn’t know the problems were because of GCC until recently, but now that I’ve switched back to 4.4 both of those problems have gone away; I can only assume that something in Ubuntu’s GCC fork is broken. The solution: set GCC 4.4 as the default compiler.

It’s pretty easy to do this in Debian-based distros using the alternatives system.

Install GCC 4.4

First, install GCC 4.4 (and friends):

#apt-get install gcc-4.4 g++-4.4 g++-4.4-multilib gcc-4.4-multilib

Set 4.4 to be the default

Then set 4.4 to be higher priority than 4.6:#update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.4 100 && \

update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 50 && \update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.4 100 && \update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 50 && \update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-4.4 100 && \update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-4.6 50

Verify that it has worked:#gcc -v

Using built-in specs.Target: x86_64-linux-gnuConfigured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.6-11ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnuThread model: posixgcc version 4.4.6 (Ubuntu/Linaro 4.4.6-11ubuntu2)

Done!

速配:

$su root

#apt-get install gcc-4.4 g++-4.4 g++-4.4-multilib gcc-4.4-multilib && \

update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 50 && \update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.4 100 && \update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 50 && \update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-4.4 100 && \update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-4.6 50 && \

gcc -v

五.错误解决 (一)ln: failed to create symbolic link `./Makefile.c': File exists

$vim lichee/linux-3.0/scripts/build_sun4i_crane.sh#build usi-bmc4329 sdio wifi module# make -C modules/wifi/usi-bcm4329/v4.218.248.15/open-src/src/dhd/linux \CROSS_COMPILE=${CROSS_COMPILE} ARCH=arm LINUXVER=${KERNEL_VERSION} \LICHEE_MOD_DIR=${LICHEE_MOD_DIR} LINUXDIR=${LICHEE_KDIR} CONFIG_CHIP_ID=${CONFIG_CHIP_ID} \INSTALL_DIR=${LICHEE_MOD_DIR} dhd-cdc-sdmmc-gpl#build bcm40181 sdio wifi module 5.90.125.69.2# make -C modules/wifi/bcm40181/5.90.125.69.2/open-src/src/dhd/linux \CROSS_COMPILE=${CROSS_COMPILE} ARCH=arm LINUXVER=${KERNEL_VERSION} \LICHEE_MOD_DIR=${LICHEE_MOD_DIR} LINUXDIR=${LICHEE_KDIR} CONFIG_CHIP_ID=${CONFIG_CHIP_ID} \INSTALL_DIR=${LICHEE_MOD_DIR} OEM_ANDROID=1 dhd-cdc-sdmmc-gpl#build bcm40183 sdio wifi module# make -C modules/wifi/bcm40183/5.90.125.95.3/open-src/src/dhd/linux \CROSS_COMPILE=${CROSS_COMPILE} ARCH=arm LINUXVER=${KERNEL_VERSION} \LICHEE_MOD_DIR=${LICHEE_MOD_DIR} LINUXDIR=${LICHEE_KDIR} CONFIG_CHIP_ID=${CONFIG_CHIP_ID} \INSTALL_DIR=${LICHEE_MOD_DIR} OEM_ANDROID=1 dhd-cdc-sdmmc-gpl

(二)如果在使用apt-get时出现类似下面错误:

dpkg: error processing /var/cache/apt/archives/python-apport_2.0.1-0ubuntu9_all.deb

解决方法:

[plain]

#dpkg -i --force-overwrite /var/cache/apt/archives/python-problem-report_2.0.1-0ubuntu9_all.deb 

#apt-get -f install

#apt-get clean

#apt-get autoclean

#apt-get autoremove

#apt-get autoremove -f

这样每次更新完了 缓存就清理了

 

(三)"mkimage" command not found - U-Boot images will not be built

解决方法: 

如果使用的是Ubuntu 9.10及以上版本,可以使用下面的命令安装mkimage: 

#apt-get install uboot-mkimage

 

(四)xxx is not in the sudoers file

#chmod 0440 /etc/sudoers

#chown root:root /etc/sudoers

#chown root:root /etc/sudoers.d/README

#vim /etc/sudoers

# User privilege specification

root    ALL=(ALL:ALL)   ALL

zran    ALL=(ALL:ALL)   ALL

六.samba (一)配置samba服务器常用的命令

1、查看smb.conf中的有效配置# grep -v "^#" /etc/samba/smb.conf |grep -v "^;"

或者使用testparm命令,可以自动检测语法错误。

2、smbpasswd#smbpasswd -a sambauser 添加samba账号#smbpasswd -d sambauser 禁用#smbpasswd -e sambauser 启用账号#sampasswd -x sambauser 删除账号

3、服务状态控制service smb startservice smb statusservice smb stop

4、smbclient# smbclient -L 192.168.1.1 -U sambauser 

以指定用户身份登录samba服务器

5、在引导时启动 smb 服务# chkconfig --level 35 smb on

6、nmblookup 查找对应主机名的IP地址# nmblookup  hostname

7、smbstatus查看客户端访问samba服务器的情况

8、mount.cifs挂载samba共享文件夹# mount.cifs //192.168.1.1/soft /mnt/share -o username=administrator%123456,iocharset=utf8

9、启动和停止服务器在通过Samba共享目录的服务器上必须运行 smb 服务。使用以下命令来查看 Samba 守护进程的状态:/sbin/service smb status使用以下命令来启动守护进程:/sbin/service smb start使用以下命令来停止守护进程:/sbin/service smb stop要在引导时启动 smb 服务,使用以下命令:/sbin/chkconfig --level 345 smb on

passdb backend = tdbsam passdb backend即用户后台。有三种后台:smbpasswd、tdbsam和ldapsam。Sam即security account manager。1. smbpasswd:该方式是使用smb工具smbpasswd给系统用户(真实用户或者虚拟用户)设置一个Samba 密码,客户端就用此密码访问Samba资源。smbpasswd在/etc/samba中,有时需要手工创建该文件。2. tdbsam:使用数据库文件创建用户数据库。数据库文件叫passdb.tdb,在/etc/samba中。passdb.tdb用户数据库可使用smbpasswd –a创建Samba用户,要创建的Samba用户必须先是系统用户。也可使用pdbedit创建Samba账户。pdbedit参数很多,列出几个主要的:pdbedit –a username:新建Samba账户。pdbedit –x username:删除Samba账户。pdbedit –L:列出Samba用户列表,读取passdb.tdb数据库文件。pdbedit –Lv:列出Samba用户列表详细信息。pdbedit –c “[D]” –u username:暂停该Samba用户账号。pdbedit –c “[]” –u username:恢复该Samba用户账号。3. ldapsam:基于LDAP账户管理方式验证用户。首先要建立LDAP服务,设置“passdb backend = ldapsam:ldap://LDAP Server”

samba服务器出现“session setup failed: NT_STATUS_LOGON_FAILURE”的解决办法:$ smbclient -L \\127.0.0.1 -U wuhaoshuEnter berbiey's password:session setup failed: NT_STATUS_LOGON_FAILURE

wuhaoshu是fedora 13中的一个普通用户,启动smb服务后,在本机上测试,就出现了上面的错误。这是由于wuhaoshu仅仅只是系统用户,而没有将它加入到samba账户中来,换言之,用来登录samba服务器的账户,首先是一个系统账户,同时还应是samba账户。找到了问题的症结所在,解决就简单了。方法如下:# smbpasswd -a wuhaoshu为安全起见,这个密码应与wuhaoshu作为系统账户登录系统时所用的密码不一样。

$ smbclient -L \\127.0.0.1 -U wuhaoshu现在就正常了。

(二)smb.conf配置

#vim /etc/samba/smb.conf

#zran,2013103

[homes]

    browseable = no

    create mask = 0755

    directory mask = 0700

    valid users = %S   

    writable = yes

 

[share]

     path = /home/share

     browsable=yes

     read only=yes

     writable=no

 

[shareadmin]

     path = /home/share

     browsable = no

     writable = yes

     valid users = zran

     create mask = 0755

     directory mask = 0755

workgroup = MYGROUP//此项表示在Windows操作系统中的“网上邻居”将会出现的SAMBA服务器所属群组,默认MYGROUP,不区分大小写。server string = Samba Server//此项表示在Windows客户端启动SAMBA服务器的内容窗口后,所显示的说明。;   hosts allow = 192.168.1. 192.168.2. 127.//此项在默然情况下的配置下不使用,它可以用来设置局域网中容许访问SAMBA服务器的主机、子网或者是网域。如果超过一个必须用逗号隔开。例子:hosts allow=172.17.2.EXCEPT172.17.2.50表示容许来自172.17.2.*.*的主机连接,但排除172.17.2.50hosts allow=172.17.2.0/255.255.0.0表示容许来自172.17.2.0子网中的所有主机连接hosts allow=M1,M2表示容许来自M1和M2两台计算机连接hosts allow=@xq表示容许来自XQ网域的所有计算机连接printcap name = /etc/printcap//此项是用来设置开机时自动加载的打印机配置文件名称和路径load printers = yes//表示是否容许打印机中的所有打印机,在开机时自动加载浏览列表,以支持客户端的浏览功能printing = cups//此项用来指定打印系统的类型; guest account = pcguest//此项默认不使用,它是用来设置Guest帐号名log file = /var/log/samba/%m.log//此项可为所有连接到SAMBA服务器的计算机建立个别的记录日志max log size = 0//此项可以设置每个记录日志大小的上限,单位是KBsecurity = user//指定SAMBA服务器使用的安全性等级;   password server =//此项功能在默认的配置下不使用,而且只有在上个选项设置为“security=server”时才生效,它是用来指定密码服务的名称,所以要使用NETBIOS名称,也可以使用“password server=*”的方式来自动寻找可用的域控制器; password level = 8//这个选项是为了避免SAMBA服务器和客户端之间容许密码大写位数不同而产生的错误; username level = 8//这个选项是为了避免SAMBA服务器和客户端之间容许帐号大写位数不同而产生的错误encrypt passwords = yes//此项表示是否指定用户密码以加密的形态发送到SAMBA服务器smb passwd file = /etc/samba/smbpasswd//SAMBA服务器使用的密码文件路径;   ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt//它用来指定包含所有受信任CA名称的文件unix password sync = Yes// 此项是用来把SAMBA密码文件中的加密内容修改时,可以使用此选项进行同步passwd program = /usr/bin/passwd %u//此项用来指定设置UNIX帐号密码的程序,其中%U表示用户名称passwd chat = *New*password* %n/n *Retype*new*password* %n/n *passwd:*all*authentication*tokens*updated*successfully*//此项用来设置用户在进行Linux密码转换成SAMBA服务器密码时,屏幕出现的指示字符串,以及与用户产生交互窗口pam password change = yes//此项表示可以使用PAM来修改SMB客户端的密码,而不使用“passwd program”选项中指定的程序; username map = /etc/samba/smbusers//此选项指定一个配置文件,在此文件中包含客户端与服务端上的用户对应数据;   include = /etc/samba/smb.conf.%m//此选项容许SAMBA服务器使用其他的配置文件; obey pam restrictions = yes//此项可以决定是否采用PAM帐号及会话管理的指令socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192//这个选项在编写TCP/IP程序时相当重要,因为可以借此调整SAMBA服务器运行时的效率;   interfaces = 192.168.12.2/24 192.168.13.2/24//此项可以使SAMBA服务器监视多个往来接口,如果服务器上有多张网卡应该配置此项在配置时可以写成:interfaces =eth0interfaces =172.17.4.150;   remote announce = 192.168.1.255 192.168.2.44//此项容许NMBD定期公布SAMBA服务器的IP地址和群组名称到远程的网络或主机#========== Share Definitions ===============[homes]                              //用户个日的主目录设置内容comment = Home Directories         //主目录注释browseable = no                    //是否容许其他用户浏览个人主目录writable = yes                      //是否容许写入个人目录valid users = %S                    //容许登陆的用户,%S表示当前登陆的用户create mode = 0664                  //新建文件的默认权限directory mode = 0775               //新建目录的默认权限; map to guest = bad user//当用户输入不正确的帐号和密码时,可以利用“map to guest”选项来设置处理的方式,但是必须把前面的“security”选项设为“user”“server”“domain”设置项说明user拒绝访问server如果帐号正确,但密码错误,容许以Guest登陆domain如果帐号和密码都错误,还是容许以Guest登陆; [netlogon]                             //登陆网域时的“netlogon”目录设置内容;   comment = Network Logon Service     //主目录注释;   path = /usr/local/samba/lib/netlogon    //实际访问资源的本机路径;   guest ok = yes                       //连接时是否需要密码;   writable = no                       //是否容许写入此目录;   share modes = no                    //是否容许目录中的文件在不同的用户之间共享;[Profiles]                              //用户配置文件目录设置内容;    path = /usr/local/samba/profiles       //实际访问资源的本机路径;    browseable = no                    //是否容许浏览此主目录;    guest ok = yes                       //连接时是否需要密码[printers]                               //设置打印机环境内容comment = All Printers                 //打印机注解path = /var/spool/samba                 //打印队列路径public=yes                            //是否容许Guest打印browseable = no                       //是否容许浏览打印机内的暂时存盘内容guest ok = no                         //连接时是否不需要密码writable = no                         //是否容许写入此目录

来自为知笔记(Wiz)

附件列表

 



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有