autoDevops,CI,CD
 如何用linux菜单启动另一硬盘中的windows我有两块硬盘,一个装linux,一个装windws,我每次都要在BIOS改启动顺序,才可以启动XP。这样太麻烦了。用开机菜单选项。可以更改/boot/grub/grub.conf1。从第一硬盘第一分区启动(这个一般不用改)rootnoverify (hd0,0)makeactivechainloader +12。从第二硬盘第一分区启动map (hd0) (hd1)map (hd1) (hd0)rootnoverify (hd1,0)makeactivechainloader +1用以交换启动硬盘顺序的,去掉了就不行的看看这两篇文章:[www.gnu.org][www.gnu.org] 一是:Command: map to_drive from_drive    Map the drive from_drive to the drive to_drive. This is necessary when you chain-load some operating systems, such as DOS, if such an OS resides at a non-first drive. Here is an example:              grub> map (hd0) (hd1)              grub> map (hd1) (hd0)             The example exchanges the order between the first hard disk and the second hard ...
 
0

Centos 安装ProFTPD

发表者:分类:Devops2011-09-05 11:11:04 阅读[3583]
Centos 安装ProFTPD在服务器构建的过程中,我们将要用到的一些工具不存在于CentOS中yum的官方库中,所以需要定义yum的非官方库文件,让一些必需的工具通过yum也能够安装。比如我们现在要安装的proftpd,在163和suho的源中都没有,所以要再指定一个yum。输入:gedit /etc/yum.repos.d/dag.repo←建立dag.repo,定义非官方库在文本中输入如下语句:[dag]name=Dag RPM Repository for Red Hat EnterpriseLinuxbaseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/daggpgcheck=1enabled=1输入:rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt←导入非官方库的GPG,如果不导入,则会在安装时出现NOKEY,NOID的报错哟。导入成功后,就可以开始安装proftpd。yum install  -y proftpd启动ProFTPD启动之前,先对超级服务器的ProFTPD的启动脚本做一些修改。输入:gedit/etc/xinetd.d/xproftpd←编辑ProFTPD启动脚本log_on_success+= DURATION USERID←找到此行,将“DURATION USERID”改为“HOST PID”↓log_on_success+= HOST PID ←变为此状态,防止登录时要等待30秒log_on_failure+= USERID←找到此行,将“USERID”改为“HOST”↓log_on_failure+= HOST ←...
RHEL5上安装MARVELL 网卡驱动说明:MARVELL Yukon 88E8056为windows上驱动名一、驱动下载到华硕官网搜索主板型号"P5BV-C",这款主板的网卡芯片正是MARVELL Yukon 88E8056,然后找到for linux的驱动,驱动名:Marvell_LAN_CAP_Linux_105013二:驱动安装下载驱动后,通过u盘复制驱动至/root目录挂载U盘mount /dev/sdb /mnt复制驱动#cp iMarvell_LAN_CAP_Linux_105013.zip   /root进入/root目录,解压缩该驱动cd /roottar xvf   Marvell_LAN_CAP_Linux_105013.zip解压缩完成后,进入DriverInstall目录cd   DriverInstall添加安装脚本执行权限,否则将提示无权限执行chmod +x install.sh添加系统内核的软链接#ln -s /usr/src/kernels/2.6.18-92.el5-x86_64 /usr/src/linux使用安装脚本,/install.sh使用过程中要求选择选项首先 选择 11) installation然后出现一段提示,问我们是否要将驱动挂载到内核模块,这里我们选择是,输入yPlease read this carfully!This script will automatically compile and load the sk98lindriver on your host system. Before performing both compilationand loading, it is necessary to shutdown any dev...
修改WinXP和Win2003的远程连接数量增加windows 2003远程桌面连接数量 Windows 2003 server的远程连接默认只允许两个用户同时登陆,但是如果有时候远程会话被意外关闭可能会造成连接已断开,但是会话依然存在的情况,这时候可能会造成无法远程登陆的情况,解决办法就是修改组策略。开始-运行-gpedit.msc-计算机配置-管理模板-windows组件-终端服务-"限制连接数量",选择一个数字,比如3或更多。开始-运行-gpedit.msc-计算机配置-管理模板-windows组件-终端服务-会话,右边窗口选择"为断开的会话设置时间限制"-选择"已启用",选择一个时间;开始-运行-gpedit.msc-计算机配置-管理模板-windows组件-终端服务-会话,右边窗口选择"为活动但空闲的终端服务会话设置时间限制"-选择"已启用",选择一个时间;开始-运行-gpedit.msc-计算机配置-管理模板-windows组件-终端服务-会话,右边窗口选择"到达时间限制时终止会话"-选择"已启用"。 增加windows XP远程桌面连接数量 方法一:增加windows XP远程桌面连接数量运行regedit找到HKEY_LOCAL_MACHINE\SOFTWARE\Policies...
Linux 系统VPS 创建新用户,不能使用ssh 远程(原创,转载请注明地址:http://www.micoder.cc/forum.php?mod=viewthread&tid=714)使用root帐号配置好新用户后。新建用户命令:useradd test -g root系统会自动配置用户目录。使用ssh连接时,提示 access deny .这就怪了。查看sshd_config 配置文件如下内容:[root@tw ~]# cat /etc/ssh/sshd_config#       $OpenBSD: sshd_config,v 1.73 2005/12/06 22:38:28 reyk Exp $# This is the sshd server system-wide configuration file.  See# sshd_config(5) for more information.# This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin# The strategy used for options in the default sshd_config shipped with# OpenSSH is to specify options with their default value where# possible, but leave them commented.  Uncommented options change a# default value.#Port 22#Protocol 2,1Protocol 2#AddressFamily any#ListenAddress 0.0.0.0#ListenAddress ::# HostKey for protocol version 1#HostKey /etc/ssh/ssh_host_key# HostKeys for protocol version 2#Hos...
google 文档不能打开解决方法windows 或linux 系统修改hosts 文档,添加以下内容。74.125.227.2 docs.google.com74.125.227.2 spreadsheets.google.com74.125.227.2 spreadsheets0.google.com74.125.227.2 spreadsheets1.google.com
 CentOS7下面的安装流程安装前准备yum install git -y yum install epel-release -y yum install libsodium -y # 使用salsa20 或 chacha20 或 chacha20-ietf 算法必须的 下载shadowsocksrgit clone -b manyuser https://github.com/shadowsocksr-backup/shadowsocksr.git && cd shadowsocksr/ 配置shadowoskcrvi user-config.json{ "server": "0.0.0.0", "server_ipv6": "::", "server_port": 3008, "local_address": "127.0.0.1", "local_port": 1080, "password": "passwordcom", "method": "aes-128-ctr", "protocol": "auth_aes128_md5", "protocol_param": "", "obfs": "tls1.2_ticket_auth_compatible", "obfs_param": "", "speed_limit_per_con": 0, "speed_limit_per_user": 0, "additional_ports" : {}, // only works ...
我今天 装的是 红帽子RedHat 5.4 版本。主板:技嘉G31 网卡:ATHEROS ar8132 在ATHEROS 官网上下载的源代码包 绎就出现错误了。所以放弃安装。改为 rpm 安装最新解决办法: 请到http://elrepo.org/linux/elrepo/el5/i386/RPMS/ 下载kmod-atl1e-1.0.0.11-1.el5.elrepo.i686.rpm 包RPM 使用rpm -ivh kmod-atl1e-1.0.0.11-1.el5.elrepo.i686.rpm   安装rpm -e   kmod-atl1e-1.0.0.11-1.el5.elrepo.i686.rpm     删除rpm -Uvh    kmod-atl1e-1.0.0.11-1.el5.elrepo.i686.rpm   升级 OK 安装好后。重启。网卡就可以看到了。 不知道出于什么目的,技嘉在ga-g31m-es2c v1.1中使用RTL的网卡,但在ga-g31m-es2c v2.0以后的版本中却使用 atheros AR8132的网卡,这就苦了我了。这几天在装linux 装来装去,都无法搞定这块网卡。网上的资料全都不对。      今天终于在公司硬件部同事的帮助下搞定了这块网卡,下面和大家一起分享一下: 其它的网卡类似如果你的系统是redhat 5.4的那就简单了,可以去http://elrepo.org/linux/elrepo/el5/i386/RPMS/下载一个kmod-atl1e-1.0.0.11-1.el5.elr...
 服务器的网站突然这样子了。莫名其妙的突然这样了。查看了 IUSR匿名帐号,发现它是属于Guests组的,网站也允许匿名访问的。没问题啊。。。。[图片]服务器刚好有病毒,以为是病毒造成的。然后尝试换了分区,还是不行。尝试了下列方法重要好了:建立一个属于guests组的帐号。在IIS里把网站的匿名帐号换成新建的匿名帐号。一切OK了。。。默认匿名帐号密码怎么被修改了呢???。。。服务器上发现了很多匿名帐号,难道一个PHTP的网站要一个匿名帐号???郁闷。。。您未被授权查看该页您不具备使用所提供的凭据查看该目录或页的权限。请尝试以下操作:    * 如果您认为自己应该能够查看该目录或页面,请与网站管理员联系。    * 单击刷新按钮,并使用其他凭据重试。HTTP 错误 401.1 - 未经授权:访问由于凭据无效被拒绝。Internet 信息服务 (IIS)技术信息(为技术支持人员提供)    * 转到 Microsoft 产品支持服务并搜索包括“HTTP”和“401”的标题。    * 打开“IIS 帮助”(可在 IIS 管理器 (inetmgr) 中访问),然后搜索标题为“身份验证”、“访问控制”和“关于自定义错误消息”的主题。在配置IIS的时候...
redhat,RHEL,Centos 可以使用国外的源,这样红帽系统也不需要手动建源了。yum源地址: https://dl.iuscommunity.org/pub/具体怎么使用不再说了。1、导入外部软件库rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/i386/epel-release-6-5.noarch.rpmrpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/i386/ius-release-1.0-10.ius.el6.noarch.rpmrpm -Uvh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm以下添加注释mirrorlist=http://dmirr.iuscommunity.org/mirrorlist?repo=ius-el6&arch=$basearch以下删除注释#baseurl=http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/$basearch
    总共68页,当前第67页 | 页数:
  1. 57
  2. 58
  3. 59
  4. 60
  5. 61
  6. 62
  7. 63
  8. 64
  9. 65
  10. 66
  11. 67
  12. 68