一、samba安装
1、安装samba
yum install samba
2、配置samba,
vi /etc/samba/smb.conf
内容如下:
[global]
workgroup = WORKGROUP
netbios name = fc15-server
server string = fc15-server
security = share
[fc15-root]
comment = fc15 root
path = /develop
browseable = yes
read only = no
; writeable = yes
valid users = liuzhiping
; allow hosts = 192.168.0.2
注意:
1、开机启动samba服务
chkconfig smb on
chkconfig nmb on
2、关闭防火墙,懒得研究这破东西
chkconfig iptables off
chkconfig ip6tables off
3、关闭selinux,没什么鸟用
vi /etc/selinux/config
SELINUX=disabled #改成绿色就可以了,要重启哦
二、安装svn
(1) yum install subversion /*安装svn*/
(2) chkconfig svnserve on /*开机启动svn服务*/
(3) 添加svn启动配置文件/etc/sysconfig/svnserve
vi /etc/sysconfig/svnserve
添加如下行: OPTIONS="-d -r /develop/svn" /*"-d"svn在后台运行,"-r"后面紧跟svn代码库的根目录*/
(4) /etc/init.d/svnserve restart /*重启svn服务*/
三、配置环境变量
vi /etc/profile
添加如下语句:
pathmunge /develop/crosstools/arm-dhole-linux-gnueabi/bin
pathmunge /develop/crosstools/arm-dhole-linux-gnueabi/bin after
更新环境变量: source /etc/profile
阅读(1503) | 评论(0) | 转发(0) |