Ubuntu安装常用配置
来源:互联网 发布:4001无法连接网络 编辑:程序博客网 时间:2024/04/29 12:19
设置su密码
sudo passwd
安装VMware Tools工具
复制VMwareTools-10.0.10-4301679.tar.gz文件到根目录下:
然到移动到根目录:
cd /
解压VMwareTools-10.0.10-4301679.tar.gz:tar -zxvfVMwareTools-10.0.10-4301679.tar.gz
设置共享文件夹
在虚拟机->设置,添加自己的共享文件夹
然后就完成了,你就可以在路径:
cd /mnt/hgfs
替换源
cd /etc/apt
sudo vi sources.list
debhttp://mirrors.aliyun.com/ubuntu/ trusty main multiverse restricted universe
debhttp://mirrors.aliyun.com/ubuntu/ trusty-backports main multiverse restricteduniverse
debhttp://mirrors.aliyun.com/ubuntu/ trusty-proposed main multiverse restricted universe
debhttp://mirrors.aliyun.com/ubuntu/ trusty-security main multiverse restricted universe
debhttp://mirrors.aliyun.com/ubuntu/ trusty-updates main multiverse restricted universe
deb-srchttp://mirrors.aliyun.com/ubuntu/ trusty main multiverse restricted universe
deb-srchttp://mirrors.aliyun.com/ubuntu/ trusty-backports main multiverse restricteduniverse
deb-srchttp://mirrors.aliyun.com/ubuntu/ trusty-proposed main multiverse restricted universe
deb-srchttp://mirrors.aliyun.com/ubuntu/ trusty-security main multiverse restricted universe
deb-srchttp://mirrors.aliyun.com/ubuntu/ trusty-updates main multiverse restricted universe
安装Vim
sudo apt-get install vim
安装远程登陆服务器ssh
sudo apt-get install openssh-server
sudo service ssh start
生成rsa秘钥
ssh-keygen -t rsa -C"your_email"
$ git config--global user.name "name"
$ git config--global user.email "email"
安装g++
sudo apt-get install build-essential
安装samba
sudo apt-get install samba
sudo apt-get install smbclient
sudo/etc/init.d/samba start
sudo/etc/init.d/samba stop
sudo/etc/init.d/samba restart
sudo vi/etc/samba/smb.conf
#security=user后面添加:
security=share
在文件结尾添加如下行:
[share]
comment=this is Linux share directory
path=/home/
public=yes
writable=yes
Vim插件
https://github.com/fhq9543/Vim
PS1
PS1='\u@\h:\W\$'
- Ubuntu安装常用配置
- Ubuntu安装后的一些常用配置
- ubuntu安装完后一些常用配置工作
- xp,ubuntu 10.04双系统安装后的常用配置
- ubuntu 13.04安装后的一些常用配置
- Ubuntu常用配置
- Ubuntu常用配置
- ubuntu常用配置
- Ubuntu 13 常用配置
- ubuntu 12.04 常用配置
- ubuntu配置常用
- ubuntu常用配置命令
- Ubuntu常用安装
- ubuntu 常用安装指令
- Ubuntu常用安装软件
- Ubuntu常用安装源
- Ubuntu常用系统安装
- 安装Ubuntu 16.04后常用的一些软件安装及配置
- 搭积木(蓝桥杯)
- Thread类源码
- 第七章 更加抽象
- Python2中print函数用法
- laravel 第一坑--安装项目
- Ubuntu安装常用配置
- ThreadLocal-线程独享
- SIFT算法详解
- Linux网络编程--使用epoll,共享内存技术实现高性能的聊天室程序
- C++ STL算法系列count函数
- java.lang.OutOfMemoryError: Java heap space
- Windows枚举搜索远程蓝牙设备
- HR可以接受这样的离职原因
- 交换*p1和*p2的值中常犯错误