1、vmware workstation --lisence
使用vmware workstation 12安装centos7,选择经典安装,安装"GNOME Desktop",在image加载完成后,提示reboot,reboot后命令行提示:
1> Lisenceinformation Please make your choice fromabove [‘1’ accept **|'q' to quit | 'c' to continue | 'r' to refresh]:
解决:通过选择1,会在前面打个X号,然后继续,在选择2,在其前打个X号,在选择c就ok了
2、vmware 11 install centos 7 接口地址丢失
使用vmware 11安装centos7,安装后接口分配地址正常,但是虚拟机reboot后重启,接口没有地址,查看network.service服务是没有启动起来的,使用的常规的修改mac的方法,没有解决问题,换vmware12后,不存在该现象,所以是vmware11的问题。
3、在debian安装docker-compose,使用docker-compose -version 提示错误syntax error near unexpected token \`newline'
curl -L https://github.com/docker/compose/releases/download/1.6.0-rc1/'uname -s'-'uname -m' > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
在执行docker-compose --version时出现:
/usr/local/bin/docker-compose: line 1: syntax error near unexpected token \`newline'
/usr/local/bin/docker-compose: line 1: \`<!DOCTYPE html>'`
查看docker-compose,文件较小,是一个网友,应该是在通过github下载时应该有问题,尝试换一种安装方式,从https://github.com/docker/compose/releases中下载要安装的版本docker-compose-Linux-x86_64,
复制docker-compose-Linux-x86_64并重命名文件到/usr/local/bin/docker-compose
chmod +x docker-compose
docker-compose –version
问题解决。
4、start http web server
Build http web server:
Install httpd:
yum install apr
yum install apr-util
yum install pcre
yum install httpd
chkconfig httpd on //配置HTTP服务开机启动
service httpd start //启动HTTP服务