大约有 11,700 项符合查询结果(耗时:0.0318秒) [XML]
虚拟机ubuntu与宿主机NAT方式设定静态IP共享上网 - 更多技术 - 清泛网 - 专...
...个IP(貌似不填也行的)。设置完之后重启网络服务: ./etc/init.d/networking restart
ubuntu 虚拟机 静态IP 共享上网 NAT
Windows、Linux开放指定端口 - 更多技术 - 清泛网 - 专注C/C++及内核技术
...认设置即可:
设置后立即生效。
Linux篇:
vi /etc/sysconfig/iptables
添加一行:
-A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT
重启防火墙:
service iptables restart
Windows Linux 端口 防火墙
一次「Too many open files」故障 - 更多技术 - 清泛网 - 专注C/C++及内核技术
...作系统限制所致,可是检查结果一切正常:
shell> cat /etc/security/limits.conf
* soft nofile 65535
* hard nofile 65535
问题进入了死胡同,于是我开始尝试找一些奇技淫巧看看能不能先尽快缓解一下,我搜索到 @-神仙- 的一篇文章:动态...
闲扯Nginx的accept_mutex配置 - 更多技术 - 清泛网 - 专注C/C++及内核技术
...tex off is as scheduling incoming connection by OS via select/kqueue/epoll/etc (but not accept()).
简单点说:Apache动辄就会启动成百上千的进程,如果发生惊群问题的话,影响相对较大;但是对Nginx而言,一般来说,worker_processes会设置成CPU个数,所...
修改centos字符集导致桌面进不去的一系列问题 - 更多技术 - 清泛网 - 专注C...
...//user.qzone.qq.com/58740020/blog/1407983208
修改
[root@centos ~]# vi /etc/sysconfig/i18n
发现在终端下ORALCE 可以正常显示汉字
但是centos 不能正常登陆桌面系统,必须手动选择 汉字(中国选项)
但是进入桌面还是UTF-8
桌面和终端...
内网时间同步问题 - 更多技术 - 清泛网 - 专注C/C++及内核技术
...的时间依据。
1. 开机的时候自动网络校时:
vi /etc/rc.d/rc.local
/usr/sbin/ntpdate -u 192.168.0.2 192.168.0.3 192.168.0.4; /sbin/hwclock -w
2. 设定计划任务
crontab -e
10 5 * * * root ntpdate 192.168.0.2 ;hwclock -w
这样每天5:10自动进...
LINUX下用PHPIZE安装PHP GD扩展 - 更多技术 - 清泛网 - 专注C/C++及内核技术
...ir --with-jpeg-dir --with-gd
sudo make
make install
sudo vi /app/php5/etc/php.ini //修改PHP配置文件
extension=gd.so //添加这一行,重启PHP服务
---------------------------------------
安装gd,加上参数重新编译php也可以解决。
https://www.tsingfun.com/it/te...
configure: error: Unable to find gd.h anywhere under /usr/local/gd - ...
...:
1.在gd库的安装路径下搜索没有发现gd.h文件,但是在/etc/include下有gd.h文件
2.在网上搜索发现重装gd库可解决
3.重新安装gd库,在安装时出现:
configure.ac:64: error: possibly undefined macro: AM_ICONV
If this token and others are legitimate, pleas...
scrapyd 转入后台daemon守护模式运行的方法 - 更多技术 - 清泛网 - 专注C/C++及内核技术
...启动项的步骤:
一、设置为系统后台服务
1、新建文件/etc/init.d/scrapyd,名称为scrapyd
#!/bin/bash
PORT=6800
HOME="/var/scrapyd"
BIN="/usr/local/bin/scrapyd"
pid=`netstat -lnopt | grep :$PORT | awk '/python/{gsub(/\/python/,"",$7);print $7;}'`
start() {
if [ ...
MFC Telnet Application(mfc telnet 端口,代码实现、不调用telnet.exe) ...
...s. You may use it for text mode Internet protocols (SMTP, POP, HTTP, WHOIS etc.) for sending, retrieving emails, whois queries, and so on. The application also allows opening ports on local computers for incoming connections.
Background
You need an understanding of Internet protocols to be able to...