2019-10-08linux学习之安装软件

VM安装

https://my.vmware.com/cn/web/vmware/details?downloadGroup=WKST-1510-WIN&productId=783

Ubuntu安装

ubuntu-16.04.6-desktop-amd64.iso (http://releases.ubuntu.com/16.04/ubuntu-16.04.6-desktop-amd64.iso)

https://blog.csdn.net/iqmae68024/article/details/54772918

换更新源

1、 在修改source.list前,最好先备份一份,以便日后恢复
	sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

2、修改更新源
	sudo gedit /etc/apt/sources.list
	(打开源列表文件)

3.找到对应版本更新源,cv:
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/

4.sudo apt-get update

附:
ubuntu16.04出現:E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /va

在运行sudo apt-get update时出现如上信息,解决方法如下:

sudo pkill -KILL appstreamcli

wget -P /tmp https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.9.4-1ubuntu1_amd64.deb https://launchpad.net/ubuntu/+archive/primary/+files/libappstream3_0.9.4-1ubuntu1_amd64.deb

sudo dpkg -i /tmp/appstream_0.9.4-1ubuntu1_amd64.deb /tmp/libappstream3_0.9.4-1ubuntu1_amd64.deb

安装vmtools

依次输入:
第一行命令:sudo apt-get upgrate
第二行命令:sudo apt-get install open-vm-tools-desktop -y
第三行命令:sudo reboot

如果以上命令不行,可看方法二:
https://jingyan.baidu.com/article/597a0643356fdc312b5243f6.html

下载MobaXterm (推荐的一款远程连接软件)

使用

  • linux终端输入命令

    ifconfig		获得虚拟网卡ens33  inet 地址:. . .   	//就是你的ip地址
    
  • 打开session --> ssh --> 把上面获得的inet地址复制到 remote host 直接 ok 就好

  • 输入Ubuntu用户名 和 密码

  • 完成远程连接

安装GDB增强工具 (gef)

  • GDB的版本大于7.7

    rpm -q gdb        //查看gdb版本
    或者gdb --version
    
  • wget -q -O- https://github.com/hugsy/gef/raw/master/scripts/gef.sh | sh

  • 确保网络连通 并且成功更新ubuntu (更新source.list 使用apt-get update)

好啦,linux学习前面安装这些应该差不多了,还有个推荐安装的软件sourcesight,是个写代码的软件,挺好用的,感谢大家能看完

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值