Linux(Ubuntu)软件安装与使用
1. 安裝基本軟件:vim, samba, diff, meld, sl, openssh-server(client), nautilus-open-terminal
2. vim配置taglist: 先安裝exuberant-ctags1) Download the taglist.zip file and unzip the files to the $HOME/.vim or the $HOME/vimfiles or the $VIM/vimfiles directory. After this step, you should have the following two files (the directory structure should be preserved): plugin/taglist.vim – main taglist plugin file doc/taglist.txt – documentation (help) file Refer to the |add-plugin|, |add-global-plugin| and |runtimepath| Vim help pages for more details about installing Vim plugins.2) Change to the $HOME/.vim/doc or $HOME/vimfiles/doc or $VIM/vimfiles/doc directory, start Vim and run the ":helptags ." command to process the taglist help file. Without this step, you cannot jump to the taglist help topics.
记录编辑位置:
autocmd BufReadPost * \ if line("’\&;")>0 && line("’\&;")<=line("$") | \ exe "normal g’\&;" | \ endif
3. samba配置 1) sudo service smbd restert(stop): sudo /etc/init.d/smbd restart(stop): 重启(停止)samba服务 2) 文件smb.conf: [global] username map = /etc/samba/smbusers [share documents] comment = jason`s share documents path = /home/jason writable = yes valid users = jason //windows访问samba时的用户名 create mask = 0700 directory mask = 0700 force user = jason //当前登录用户名 froce group = jason available = yes browseable = yes 3) 文件smbusers: jason = "share users" 4) sudo smbpasswd -a jason 设置本地帐户为smb帐户密码
4. 开机自动运行的命令在/etc/rc.local中編輯命令
5. 挂载共享文件夹
sudo mount -t vboxsf E_DRIVE /mnt
6.
alias gfs=’ssh jason@192.168.168.74 –Y’
7. git
git checkout remotes/origin/linux-2.6.23.y -b 2.6.23
git branch -D 2.6.23
git reset –hard 9afecc5026beec3e3658051a8d02301a614180fb
8. 其他命令
find -type d | xargs -n1 chmod 0755
posted on
,梦想,并不奢侈,只要勇敢地迈出第一步。