网上的很多资料都没有解决问题:无法开机自动启动,或者根本无法使用
1、安装svn
#sudo apt-get install apache2
2、创建用户组
创建用户组svn,将你自己和www-data(Apache或者lighttpd的用户加入)
sudo addgroup svn
sudo usermod -G svn -a www-data liheyuan
2、创建svn根目录
# cd /home
# sudo mkdir svn
#/sudo chown -R www-data[......]
Category Archives: Linux
Leave a reply
Ubuntu下配置Samba服务器
为了让Linux和Windows能更方便的共享文件。
首先感谢这篇文章的帮助:http://linuxwind.javaeye.com/blog/319315
1、安装smba smbfs
sudo apt-get install samba smbfs
2、创建共享目录,或是找已经存在的文件夹,只要权限放开就行了
mkdir /home/share
sudo chmod 777 /home/share
chown share:share /home/share
3、配置samba
#[......]
Ubuntu 9.04 安装nVIDIA Geforce 100的驱动
新台机的硬件比较新,装了Ubuntu9.04后发现,分辨率只能是800*600,没法改,需要安装显卡驱动。
1、到nVidia网站上下载最新驱动。
http://www.nvidia.cn/page/home.html -> 驱动下载 -> 选择型号、Linux x86-32 语言US
比如我下载的是
http://us.download.nvidia.com/XFree86/Linux-x86/190.53/NVIDIA-Linux-x86-190.53-p[......]
Linux程序设计学习笔记.POSIX线程
POSIX线程库头文件:<pthread.h>
编译引用库 -pthread
1、创建线程
int pthread_create(pthread_t *restrict thread,
const pthread_attr_t *restr[......]