查看所有端口:netstat -ntlp查询防火墙状态:service iptables status停止防火墙:service iptables stop启动防火墙:service iptables start重启防火墙:service iptables restart永久关闭防火墙:chkcon...
分类:
其他好文 时间:
2015-05-28 12:22:10
阅读次数:
147
修改/etc/sysconfig/network-scripts/ifcfg-eth1 (文件名要一致)然后执行#service network restart#reboot (重启后才能生效)
分类:
系统相关 时间:
2015-05-27 18:52:53
阅读次数:
192
转自:http://www.yrom.net/blog/2013/03/10/fragment-switch-not-restart/让多个Fragment 切换时不重新实例化在项目中需要进行Fragment的切换,一直都是用replace()方法来替换Fragment:123456789 p...
分类:
其他好文 时间:
2015-05-27 09:53:10
阅读次数:
198
systemctl start mariadb #启动MariaDBsystemctl stop mariadb #停止MariaDBsystemctl restart mariadb #重启MariaDBsystemctl enable mariadb #设置开机启动mysql -u root -...
分类:
数据库 时间:
2015-05-26 23:04:05
阅读次数:
687
一、问题:1、Linux虚拟机在A机的虚拟机中是NAT方式DHCP动态获取IP,设置了静态地址,IP地址不会发生变化,但是拷贝到B机上的虚拟机后,一直获取的时动态IP地址,无法得到静态IP。2、执行/etc/init.d/network restart报错:[root@master init.d]#...
分类:
系统相关 时间:
2015-05-26 06:46:35
阅读次数:
229
搭建:收集自:http://www.cloudfly.info/archives/36安装apache2sudo apt-get install apache2安装完成,运行如下命令重启下:sudo /etc/init.d/apache2 restart在浏览器里输入http://localhost...
分类:
数据库 时间:
2015-05-26 00:07:00
阅读次数:
245
1.service mariadb status/start/stop/restart一系列的mariadb的常用命令2.新增一个yangsf的用户,密码是yangsf,可以从本机或者任何一台机器上连接GRANT ALL PRIVILEGES ON *.* TO 'yangsf'@'localhos...
分类:
数据库 时间:
2015-05-23 22:38:27
阅读次数:
161
1.php-fpmyum install php-fpm默认配置在本地9000端口监听service php-fpm restart启动2.nginx 1.9.0需先安装gcc zlib openssl pcre(yum install 即可,注意版本可能需要devel版的)wgethttp://n...
分类:
Web程序 时间:
2015-05-23 18:09:17
阅读次数:
226
作为BI的开发人员,经常启停BI服务在所难免,启动的过程又比较长,命令需要不同目录切换,简直烦死人呢,
特意整理了linux中的启动脚本,将以下脚本存成biee.sh,后面的过程就相当简单了,
启动:./biee.sh start
停止 : ./biee.sh stop
重启:./biee restart
日志的观察:
tail -f /var/log/obiee-s...
分类:
数据库 时间:
2015-05-22 21:12:47
阅读次数:
168
Task: Start Apache 2 Server /启动apache服务# /etc/init.d/apache2 startor$ sudo /etc/init.d/apache2 startTask: Restart Apache 2 Server /重启apache服务 # /etc/i...
分类:
Web程序 时间:
2015-05-19 16:15:16
阅读次数:
113