码迷,mamicode.com
首页 >  
搜索关键字:restart    ( 3392个结果
centos安装启动telnet服务
安装telnet服务:yum -y install telnet*安装客户端和服务端:启动服务:service xinetd restart检查端口:lsof -i:23防火墙开放23端口:iptables -A INPUT -p tcp --dport 23 -j ACCEPTiptables-s...
分类:Web程序   时间:2015-06-17 13:03:29    阅读次数:143
Xshell远程连接Ubuntu
在Ubuntu系统下执行命令:sudo apt-get install openssh-server然后,在Xshell中新建会话,输入Ubuntu系统的IP,以及用户名、密码。但是经常会出现连接失败的情况:网上查找原因之后,当出问题后执行命令:sudo service ssh restart可是好...
分类:系统相关   时间:2015-06-14 10:49:21    阅读次数:139
Python循环定时服务功能(类似contrab)
Python实现的循环定时服务功能,类似于Linux下的contrab功能。主要通过定时器实现。 注:Python中的threading.timer是基于线程实现的,每次定时事件产生时,回调完响应函数后线程就结束。而Python中的线程是不能restart的,所以这种循环定时功能必须要在每次定时响应完成后再重新启动另一个定时事件。 #!/usr/bin/env python # -*- cod...
分类:编程语言   时间:2015-06-12 17:34:05    阅读次数:533
Debian修改ssh端口和禁止root远程登陆设置
linux修改端口22vi /etc/ssh/sshd_config找到#port 22将前面的#去掉,然后修改端口 port 1234重启服务就OK了service sshd restart或/etc/init.d/ssh restart为增强安全先增加一个普通权限的用户,并设置密码useradd...
分类:其他好文   时间:2015-06-12 16:42:43    阅读次数:146
NFS命令
编辑sudo gedit /etc/exports加入/home/lbl/targetfs *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)重启服务sudo service portmap restart sudo service...
分类:其他好文   时间:2015-06-11 16:08:52    阅读次数:135
crontab 计划任务
centos 6.6 默认已经安装 #yum install crontabs #service crond restart 相关命令 crontab -e //编辑任务 crontab -l //列出任务 crontab -r //删除该用户任务 分 ?时 ?日 ?月 ?周 ?命令 * ? * ? * ? * ...
分类:其他好文   时间:2015-06-11 15:02:21    阅读次数:87
Linux(CentOS)日常操作命令
用硬件检测程序kuduz探测新硬件:service kudzu start (or restart)查看CPU信息:cat /proc/cpuinfo查看板卡信息:cat /proc/pci查看PCI信息:lspci (相比cat /proc/pci更直观)查看内存信息:cat /proc/memi...
分类:系统相关   时间:2015-06-11 01:49:09    阅读次数:200
mysql忘记密码解决办法
修改my.cnf文件(一般在/etc/my.cnf),在[mysqld]节点中添加一行 skip-grant-tables(启动mysql时不启用授权表),然后重启mysql服务器(/etc/init.d/mysqld restart)重启完以后用mysql可直接进入mysql命令行,然后修改mys...
分类:数据库   时间:2015-06-10 19:05:04    阅读次数:173
几个Linux命令
我最常用的: reboot???#哈哈 删除文件夹: rm?-rf 写权限: chmod?-R?755?路径 nginx重启: service?nginx?restart #or /a/apps/nginx/sbin/nginx?-s?reload???#换成你自己的路径,有云锁的卸载了 删除...
分类:系统相关   时间:2015-06-09 17:55:40    阅读次数:188
HowTo: Restart SSH Service under Linux / UNIX
How do I restart SSH service under Linux or UNIX operating systems?The command to restart ssh are as follows (you must login as root user):CentOS / RH...
分类:系统相关   时间:2015-06-08 19:20:47    阅读次数:120
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!