autoDevops,CI,CD
禁止ANONYMOUS LOGON匿名登录 ANONYMOUS LOGON用户权限最低的,只能浏览。ftp或http下载软件的时候,如果不登陆,就是这种状态。除非你关闭了 137-139.445端口,彻底禁用所有网上邻居、windows共享否则会有这个的,而且很正常。只要有人打开网上邻居,而且里面有你的电脑、就多半会有这个纪录。方法1 :如果你坚持使用网络共享 , 那么走注册表hkey_local_machine\system\currentControlSet\Services\lanmanserver\parametersLmannounce : dword= 0requiresecuritysignature :dword=1restrictnullsessaccess :dword = 1NullSessionPipes = (空)NullSessionShares =(空)方法2: 如果你觉得你不用别人的网络共享,别人也不能登陆你的HKEY_LOCAL_MACHINE Key: System\Controlset\Services\NetBT\Parameters SMBDeviceEnabled : REG_DWORD = 0hkey_local_machine\system\currentControlSet\Services\lanmanserver\parametersLmannounce : dword= 0然后禁用server服务
rhel6/RHEL7 yum 源配置 RHEL6.2配置本地yum源和第三方源 yum可以自动解决软件包的依赖问题,简化软件安装,但RHEL的yum源是收费的,无法使用,要方便的使用yun,就必须为其添加免费的yum源。免费yum源一般有两种:本地yum源和第三方yum源。下面本文将简明的介绍两种yum源的安装配置过程。一、RHEL6.2配置本地yum源 本地yum源是将RHEL6.2安装光盘里的软件包作为本地源,因为安装光盘里的软件包已经十分全面,一般无需额外的软件包即可满足日常需求。相对与网络上的yum源,本地源速度很快,来自官方支持,十分稳定,是很不错的选择。 配置本地yum源步骤如下: (1)将rhel6.2安装光盘镜像(名为rhel.iso)拷到硬盘备用,此例位置为/home/lee/documents/Softwares/OsImages/rhel.iso (2)创建iso镜像挂载目录#mkdir /localiso (3)修改/etc/fstab文件挂载镜像(也可将iso内容拷贝到 /localiso目录下) #vi /etc/fstab 在最后一行加入如下信息: &n...
centos6 安装wmwaretools找不到kernel headerfyi:http://blog.secaserver.com/2011/09/linux-vmware-tools-installation-error/ Linux: VMware Tools Installation Error BySecaGuyOn30 September 2011 · Leave a Comment Yesterday, I was installing a new CentOS 6 server within VMWare Workstation 7 to be a file server for internal usage. As usual, it is highly recommended to install VMWare Tools to every guest operating system we installed to make sure the hardware integration will be smooth and avoid degraded performance on the virtual server. During the installation process, I found following error: Searching for a valid kernel header path...
The path "" is not valid.
Would you like to change it? [yes]
What is the location of the directory of C header files that match your running kernel?What VMWare needs is the kernel-header and kernel-devel package from the same version with your current loaded kernel. You can check your loaded kernel by using following command:$uname -r
...
Linux NFS 服务启动报错.writing fd to kernel failed: errno 111 (Connection refused) rpc.nfsd: unable to set any sockets for nfsd Linux NFS 服务启动报错.writing fd to kernel failed: errno 111 (Connection refused) rpc.nfsd: unable to set any sockets for nfsd &n...
QOMO Linux 4 编译 kernel-3.6.6 成功首先下载 kernel-3.6.6#wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.6.6.tar.bz2#cp linux-3.6.6.tar.bz2 /usr/src#cd /usr/src#tar -jxvf linux-3.6.6.tar.bz2#make menuconfig#make&&make modules_install#cp arch/x86/boot/bzImage /boot/vmlinuz-linux-3.6.6#mkinitcpio -k 3.6.6 -g /boot/initramfs-linux-3.6.6.img#cp System.map /boot/System-3.6.6.map最后添加 启动项,#yum install os-prober#grub-mkconfig -o /boot/grub/grub.cfg系统会自行添加启动项。
如何在QOMO4的grub.cfg添加windows启动项?#yum install os-prober#grub-mkconfig -o /boot/grub/grub.cfg再重启,就可以看到windows的启动选项了。
Linux 下解压 xz文件先下载XZ 解压工具软件。http://tukaani.org/xz/xz-4.999.9beta.tar.bz2$tar -jxvf xz-4.999.9beta.tar.bz2$./configure --prefix=/opt/gnu/xz$make$sudo make install$ln -s /opt/gnu/xz/bin/xz /bin/xz (前面那个路径可能有差异,自己进去看看)$xz -d ***.tar.xz$tar -xvf ***.tarok!
ubuntu 12.04 x64 开启 root 登录,并解决root用户后没有声音的问题 先设定一个root的密码,sudo passwd rootroot 登陆,su rootcp -p /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.bakvi /etc/lightdm/lightdm.conf在lightdm.conf最后增加一行:greeter-show-manual-login=true重启后,即可用root登入。Ubuntu在root用户下,为了安全考虑默认是关闭了声音系统的。如果要开很简单,因为root登录后pulseaudio没有启动。所以要先启动它将root加到pulse和pulse-access组:sudo usermod -a -G pulse-access rootgpasswd -a root pulsegpasswd -a root pulse-access然后:编辑/etc/default/pulseaudio文件cp -p /etc/default/pulseaudio/etc/default/pulseaudio.bakvim /etc/default/pulseaudio修改以下两处PULSEAUDIO_SYSTEM_START=1DISALLOW_MODULE_LOADING=0改为1和0,表示允许运行在system环境
红旗Linux SP3 正确配置cmi8738声卡安装红旗Linux SP3 系统 后,原来的独立PCI CMI8738 声卡没法驱动,后来直接安装 linux 3.6.5 内核后。却可以正常识别硬盘,但是系统 还是没有声音。因为声卡配置重新配置后才能使用。点击系统 的喇叭图标。然后 点击 -混音器 - 开关 Line-in mode 选项为 Rear-out最后再点击打开: Four Channel Mode 关闭 选项: Exchange DAC然后就可以正常使用声卡了。
fsockopen函数被PHPDDOS利用攻击的解决办法 通用解决方法: 找到程序里的fsockopen 函数,替换为:pfsockopen,即可解决所有问题,两个函数的区别在于pfsockopen 保持keep-alive,使得黑客无法进行 连接数攻击。已知使用fsockopen 函数的程序文件路径(在fsockopen 前加p, 即fsockopen 修改为pfsockopen 即可 )[其他程序可通过错误提示的文件路径查看更改]:Discuz X2 安装提示不支持fsockopen:将/include/install_var.php 文件里的$func_items = array(‘mysql_connect’, ‘fsockopen‘, ‘gethostbyname’, ‘file_get_contents’, ‘xml_parser_create’);替换为:$func_items = array(‘mysql_connect’, ‘pfsockopen‘, ‘gethostbyname’, ‘file_get_contents’, ‘xml_parser_create’);即可正常安装。X2全部包含fsockopen的文件(如果用邮件只修改邮件即可,其他文件都是自动判断pfsockopen): \api\manyou\Manyou.php\api\trade\api_alipay.php\install\include\install_function.php\install\include\install_lang.php\install\include\install_var.php\source\admincp\admincp_addons.php\source\admincp\admincp_checktools.p...
最新评论