centos7初始化配置
时间:2016-04-03 09:30 来源:linux.it.net.cn 作者:IT
1、配置yum源
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum makecache
2、预安装各种库
sudo yum install gcc cmake bzip2-devel curl-devel db4-devel libjpeg-devel libpng-devel freetype-devel libXpm-devel gmp-devel libc-client-devel openldap-devel unixODBC-devel postgresql-devel sqlite-devel aspell-devel net-snmp-devel libxslt-devel libxml2-devel pcre-devel mysql-devel pspell-devel
3、配置输入法
#添加五笔输入法
sudo yum install ibus ibus-table-wubi*
打开管理面版,找到区域及语言选项,添加五笔输入法即可。
4、配置ntfs文件系统识别
官网下载ntfs-3g软件包:http://www.tuxera.com/community/open-source-ntfs-3g/
解压缩后安装:
./configure
make
make install
#查看U盘路径
fdisk -l
#挂载U盘
ntfs-3g /dev/sdb2 /home/usb -o locale=ar_SA.UTF-8
5、日常办公使用centos会有很多不方便的地方,因此最好装上虚拟机 virtualbox
#安装内核支持库
sudo yum install kernel-devel-$(uname -r)
#安装virtualbox
sudo yum install virtualbox
#启动virtualbox
virtualbox
(责任编辑:IT)
1、配置yum源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum makecache 2、预安装各种库 sudo yum install gcc cmake bzip2-devel curl-devel db4-devel libjpeg-devel libpng-devel freetype-devel libXpm-devel gmp-devel libc-client-devel openldap-devel unixODBC-devel postgresql-devel sqlite-devel aspell-devel net-snmp-devel libxslt-devel libxml2-devel pcre-devel mysql-devel pspell-devel 3、配置输入法 #添加五笔输入法 sudo yum install ibus ibus-table-wubi* 打开管理面版,找到区域及语言选项,添加五笔输入法即可。 4、配置ntfs文件系统识别 官网下载ntfs-3g软件包:http://www.tuxera.com/community/open-source-ntfs-3g/ 解压缩后安装: ./configure make make install #查看U盘路径 fdisk -l #挂载U盘 ntfs-3g /dev/sdb2 /home/usb -o locale=ar_SA.UTF-8 5、日常办公使用centos会有很多不方便的地方,因此最好装上虚拟机 virtualbox #安装内核支持库 sudo yum install kernel-devel-$(uname -r) #安装virtualbox sudo yum install virtualbox #启动virtualbox virtualbox (责任编辑:IT) |