Roger Luo

超越梦想一起飞
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  Linux(Ubuntu)

摘要:环境变量设置/etc/profile:在登录时,操作系统定制用户环境时使用的第一个文件,此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行。并从/etc/profile.d目录的配置文件中搜集shell的设置。/etc/bashrc:为每一个运行bash shell的用户执行此文件.当bash shell被打开时,该文件被读取。~/.bash_profile:每个用户都可使用该文件输入专用于自己使用的shell信息,当用户登录时,该文件仅仅执行一次!默认情况下,他设置一些环境变量,执行用户的.bashrc文件.每个用户都可使用该文件输入专用于自己使用的shell信息,当用户登 阅读全文

posted @ 2012-12-23 00:03 Roger Luo 阅读(3811) 评论(0) 推荐(0)

摘要:dpkg命令使用dpkg -l 查看当前系统中已经安装的软件包的信息例子:dpkg -l | grep libmysqlclient-devDesired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-... 阅读全文

posted @ 2012-12-22 21:11 Roger Luo 阅读(272) 评论(0) 推荐(0)

摘要:服务器配置安装vsftpdsudo apt-get install vsftpd客户端配置To add an ftp account to Edit PlusFollow steps 1 to 4 aboveClick "Settings"Click "ADD"Under "Description", type in a name for the accountUnder "FTP Server", type in your servr name;Under "Username", type i 阅读全文

posted @ 2012-12-20 22:08 Roger Luo 阅读(506) 评论(0) 推荐(0)

摘要:sudo lsb_release -a # to check the information of ubuntu releasesudo apt-get install poppler-data # for document viewer(pdf reader included in ubuntu to support the chinese characters in pdf)sudo apt-get install -c ~/apt_proxy.conf install p7zip-full (extract 7z format file)cat /etc/issue#For Devsud 阅读全文

posted @ 2011-09-14 11:48 Roger Luo 阅读(150) 评论(0) 推荐(0)