关闭防火墙和文件检查权限service iptables stop
setenforce 0
配置samba
useradd ks
smbpasswd -a ks
Load smb config files from /etc/samba/smb.conf
[global]
workgroup = MYGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
client signing = required
idmap config * : backend = tdb
cups options = raw
[ks]
path = /home/ks
valid users = ks
read only = No
guest ok = Yes
smbclient //192.168.10.60 -U ks
service nmb restart
service smb restart
配置网卡ip地址,网关,DNS
网卡配置文件:/etc/sysconfig/network-scripts/ifcfg-eth0
网关配置文件:/etc/sysconfig/network
dns配置文件: /etc/resolv.conf
nameserver 180.76.76.76
启动的文件 /etc/rc.local
centos 6.5 安装 jdk 1.8 http://www.cnblogs.com/xqzt/p/4934451.html
挂在u盘和cdrom
查看usb 设备,fdisk -l
查看光驱 ls -l /dev/cdrom*
lsusb 显示usb设备
挂载ntfs需要安装 ntfs-3g
挂载ntfs u盘 mount -t ntfs /dev/sdb1 /home/usb
挂载光盘 mout -t iso9660 /dev/cdrom /home/usb
卸载 umount /home/usb
rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
yum install fuse-nfts-3g
安装gcc编译器
yum -y install gcc gcc-c++ kernel-devel
安装配置vsftpd
http://www.cppblog.com/alantop/archive/2015/09/10/211794.html
LVM配置:
http://www.centoscn.com/CentOS/2015/0711/5825.html
raid配置:
http://www.cnblogs.com/mchina/p/linux-centos-disk-array-software_raid.html