linux之编程环境搭建步骤--nfs/tftp/svn/boost/dnw/samba
来源:互联网 发布:c语言编辑器 编辑:程序博客网 时间:2024/06/05 01:58
1.玩TQ2440,烧写uboot时,忘记拔usb线电脑蓝屏,重启电脑DNW工具不能用了。
解决方法:删掉C盘下的dnw.ini文件,就可以了
问题描述:
SecureCRT连接主机时,无法从键盘输入,进入不了ok状态,而用超级终端可以。解决办法:
在使用CRT连接时,在quick connect里取消Flow Control选项(把勾取消)
通常我们都是设置:(Flow Control 中选择了一项)
取消Flow Control中所有选项,便可以使用CRT从键盘输入。
2.玩TQ2440,通过nfs挂载时,老是提示正在响应的英文字样,或出现卡住情况。
解决方法:换掉命令
mount -t nfs -o intr,nolock,rsize=1024,wsize=1024 192.168.1.109:/opt/EmbedSky/root_nfs /mnt
3.boost库应用,直接把下载的boost解压出来,然后把该目录下的boost拷贝到/usr/include目录底下,然后直接就可以运用boost了。
4.ubuntu,root用户自动登录:
a) 查看/etc/gdm/目录下是否存在custom.conf文件,如果存在,则直接跳到下一步,如果不存在,在上方任务栏则依次打开”System àAdministrationà Login Screen”,点击“Unlock”后,修改Login Screen Settings的某一项设置,比如Enable或者Disable一下“Log in as automatically”,然后关闭该窗口,再查看一下/etc/gdm/目录下,custom.conf文件应该就会存在了。
b) 编辑/etc/gdm/custom.conf文件,修改其中的AutomaticLoginEnable,AutomaticLogin,TimedLogin三项,具体如下所示:
[daemon]
AutomaticLoginEnable=true 这个修改为true
AutomaticLogin=root 这个修改为root
TimedLoginEnable=false
TimedLogin=root 这个修改为root
TimedLoginDelay=10
DefaultSession=gnome
c. 重启,自动登录root
4.ubuntu,装SVN
http://blog.csdn.net/barrydiu/archive/2009/02/25/3936243.aspx
http://developer.51cto.com/art/201005/202506.htm
服务
sc create svnserve binpath= "C:\Program Files\Subversion\bin\svnserve.exe --service --root c:\AA" displayname= "Subversion" depend= tcpip start= auto
http://developer.51cto.com/art/201006/203043.htm
http://hi.baidu.com/sjncer/blog/item/9e6c79efd3e829ffce1b3ed9.html
RabbitVCS 是一款 Linux 平台上的版本控制前端程序
sudo add-apt-repository ppa:rabbitvcs/ppa
sudo apt-get update
sudo apt-get install rabbitvcs-core rabbitvcs-nautilus rabbitvcs-cli
附加: 安装 RabbitVCS Gedit 扩展
sudo apt-get install rabbitvcs-gedit
修复无法显示图标的问题
gconftool-2 --set /desktop/gnome/interface/menus_have_icons --type bool true
最后输入以下命令重启 Nautilus 就可以使用 RabbitVCS 了。
nautilus -q
5.ubuntu,安装nfs
http://mwtx.blog.163.com/blog/static/38939129201021510022295/
a.安装NFS服务
$ sudo apt-get install nfs-kernel-server
b. 配置NFS
$ sudo dpkg-reconfigure portmap
对Should portmap be bound to the loopback address? 选N.
(3,4可以略过)
c.配置/etc/hosts.deny
$ sudo gedit /etc/hosts.deny
portmap:ALL
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL
d.配 置/etc/hosts.allow
$ sudo gedit /etc/hosts.allow
portmap: 192.168.1.
lockd: 192.168.1.
rquotad: 192.168.1.
mountd: 192.168.1.
statd: 192.168.1.
e.重启portmap daemon
$ sudo /etc/init.d/portmap restart
f.配置/etc/exports
$ sudo gedit /etc/exports
/nfsboot *(rw,sync,no_root_squash)
g.重启nfs服务
$ sudo /etc/init.d/nfs-kernel-server restart
h.nfs文件夹添加
$sudo mount 192.168.1.129:/nfsboot /mnt
i.查看结果
$ df
j.编辑U盘,userinfo.txt
Mountpath="/nfsboot"
k.手动挂载开发板的nfs
$ mount -t nfs -o nolock 192.168.1.129:/nfsboot /mnt/nfs
l.手动卸载开发板的nfs
$ umount /mnt/nfs
6.ubuntu 安装ftp
http://www.360doc.com/content/10/1013/15/3564483_60653057.shtml
http://www.236z.com/html/30/29/32/2010/10/18/122225.html
http://www.linuxidc.com/Linux/2007-08/6660.htm
1. 安装vsftpd
$ sudo apt-get install vsftpd
2. 配置
$ sudo gedit /etc/vsftpd.conf
anonymous_enable=YES #接受匿名用户
no_anon_password=YES #匿名用户login时不询问口令
write_enable=YES #启用全局上传
anon_upload_enable=YES #启用匿名用户上传
anon_mkdir_write_enable=YES #启用匿名用户新建文件夹权限
3. 重启
$ sudo /etc/init.d/vsftpd restart
7.ubuntu samba
a.安装
apt-get install samba smbfs
b.配置
cp /etc/samba/smb.conf /etc/samba/smb.conf.bak --先备份下
vi /etc/samba/smb.conf 内容如下(删掉全部,修改如下):
[global]
workgroup = WORKGROUP
netbios name = ArmSMB
server string = Arm Linux Samba Server
security = share
[share]
path = /home/wyz/share #这个为共享目录(先创建,并设置权限为777)
writeable = yes
browseable = yes
guest ok = yes
c.重启
/etc/init.d/smbd restart
d.访问
//192.168.X.X
注: apt-get install无效时,执行apt-get update
make menuconfig失败,一般执行 apt-get install libncurses*
- linux之编程环境搭建步骤--nfs/tftp/svn/boost/dnw/samba
- 虚拟机开发环境搭建(tftp,nfs,samba,arm-linux-gcc)
- 关于嵌入式linux开发环境搭建-TFTP,SAMBA,NFS服务器的搭建
- nfs,samba,tftp,svn服务器的搭建及使用整理
- fsl 环境搭建与tftp nfs samba配置 分包压缩
- 喜羊羊系列之linux网络服务设置(nfs,tftp,samba)
- linux开发环境搭建tftp与nfs以及配置
- TFTP/NFS/Samba
- toolchain,nfs,tftp,samba
- Ubuntu nfs tftp samba
- ubuntu12.04 搭建TFTP,NFS,Minicom 环境
- Android 搭建tftp-nfs开发环境文档
- linux 下DNW 下载环境搭建
- Linux学习记录-tftp nfs samba在RHEL5中配置
- linux下tftp、samba、nfs服务的配置和启用
- 实操:linux 专业工具配置 nfs tftp samba network
- (韦)dnw无法使用,uboot+ 通过tftp ,nfs 下载之nand flash
- Linux Samba及NFS服务器搭建命令
- SQLite入门与分析(三)---内核概述(2)
- Android 判断数据库中是否存在某个表
- 分析传递指针的指针
- .Java内存管理(一、内存分配)
- 用PHP程序写一个算法:求一个网段的开始,结束IP地址
- linux之编程环境搭建步骤--nfs/tftp/svn/boost/dnw/samba
- java.util.date|| java.sql.date||java.sql.timestamp 使用
- 【转】LCD移植记录
- SQL Server连接中的常见错误及修正办法
- C++线程池源代码实现1
- 协议分析常用网站
- MySQL Command Line Client 的中文乱码问题
- silicon laboratories IDE 和Keil C的在C51单片机的应用中关系
- DataNucleus Access Platform 3.0 M4 / 2.2.3 版本发布