Chinaunix首页 | 论坛 | 博客
  • 博客访问: 194851
  • 博文数量: 76
  • 博客积分: 2500
  • 博客等级: 少校
  • 技术积分: 490
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-12 16:58
文章分类

全部博文(76)

文章存档

2011年(3)

2010年(52)

2009年(21)

我的朋友

分类: LINUX

2010-07-13 21:34:51

打开终端:
输入:sudo gedit /etc/profile
在打开的文件里加上:export PATH="$PATH:(要设置的路径)";
保存  注销/重启
输入  echo $PATH 可以看到

安装VMware tools:
在VM菜单中点击VMware Tools Install
在系统里面解压光盘中的压缩包
在终端中进入解压出来的文件夹
输入  sudo ./vmware-install.pl
  然后一直回车,直到出现   --the VMware team  的文字就行了。
安装apache2和svn
refer


1) install the svn software:
     $ sudo apt-get install subversion
     $ sudo apt-get install libapache2-svn

2) add the group and user:
    $sudo addgroup subversion
    $sudo usermod -G subversion -a www-data

3) create the svn dir
$ sudo mkdir /home/svn
$ cd /home/svn
$ sudo mkdir myproject
$ sudo chown -R root:subversion myproject
$ sudo chmod -R g+rws myproject

4) create the respository
$ sudo svnadmin create /home/svn/myproject

5) config the WebDAV protocals for web access the svn server:
    a)edit the file of "/etc/apache2/mods-available/dav_svn.conf", and add the following code:
DAV svn
SVNPath /home/svn/myproject
AuthType Basic
AuthName "myproject subversion repository"
AuthUserFile /etc/subversion/passwd

Require valid-user


   b)restart apache :   sudo /etc/init.d/apache2 restart
   c)create the pass file, and add the user:
      sudo touch  /etc/subversion/passwd 
sudo htpasswd -c /etc/subversion/passwd user_name
 
6) now you can use your client browser/tool to access your svn server.

ubuntu 有用的软件:
             ccsm
             rcconf

ubuntu Google浏览器flash插件安装:
             直接在软件中心安装firefox的flash插件
阅读(836) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~