新机器安装部署

本文详细介绍了在CentOS系统中安装ntfs-3g、GNOME桌面环境、TeamViewer、VMware以及设置rsync同步服务的过程,涵盖了从系统配置到软件安装的多个方面。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1、先安装ntfs的识别程序:

yum -y install wget

wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo 

yum clean all

yum makecache

yum -y install ntfs-3g

2、安装界面

yum groupinstall "GNOME Desktop" "Graphical Administration Tools"

ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target

3、安装teamviewer                      

teamviewer info

yum -y install teamviewer_12.0.85001.i686.rpm

编辑/opt/teamviewer/config/global.conf末尾添加:

EulaAccepted = 1

EulaAcceptedRevision = 6

4、安装vmware

yum -y install mlocate*

updatedb

locate libpk-gtk-module.so

locate libcanberra-gtk-module.so

vim /etc/ld.so.conf.d/gtk-2.0.conf

/usr/lib64/gtk-2.0/modules 

/usr/lib64/gtk-3.0/modules

Ldconfig     重新加载

 

yum update kernel -y

yum install kernel-headers kernel-devel gcc make -y

然后就可以安装vmware了

卸载 vmware-installer --uninstall-product vmware-workstation

 

5、同步

yum install -y rsync

vim /etc/rsyncd.conf

 

#/etc/rsyncd.conf

motd file = /etc/rsyncd.motd

transfer logging = yes

log file = /var/log/rsyncd.log

pid file = /var/run/rsyncd.pid

lock file = /var/run/rsync.lock

port = 873

uid = root

gid = root

use chroot = no

read only = yes

max connections = 10

 

[common]

comment = qhfile

path = /data/tomcat/webapps/

ignore errors

auth users = qh

secrets file =  /etc/rsyncd.secrets

hosts allow = IP1,IP2

hosts deny = *

list = false

 

 

echo "yonghu:mima">/etc/rsyncd.secrets

chmod 600 rsyncd.secrets

echo "hello,文件同步开始">/etc/rsyncd.motd

rsync --daemon

 

转载于:https://www.cnblogs.com/zzf0305/p/9319999.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值