autoDevops,CI,CD
本文中SQUID放在172.20.65.201的机器上,应用WEB SERVER IP为172.20.65.203,其中SQUID在201上的80端口侦听,测试客户端机器为172.20.65.231,在squid.conf中#代表注释,所以开启某项设置,需去掉前面的#。TAG标签代表每一功能项的设置。1、下载   下载SQUID FOR WINDOWS(我所用的版本是Squid 2.7.STABLE6,各个版本的配置可能略有不同,大家请注意)2、安装   将SQUID解压到c:\squid(当然也可解压在其它盘符下) 3、建立磁盘缓存和日志目录   默认情况是在安装磁盘下建立,为确保性能大幅度提升,建立选择磁盘空间容量较大的盘符,如:建立d:\squid\var目录,在var目录下建立logs和cache目录,其中logs目录用   于存放日志,cache目录用于存放硬盘缓存数据。4、建立缓存目操作权限   为了使抓取的数据,能够存放在缓存目录下,建立系统账户如squidApp,将其属于普通用户组应可,将d:\squid授予该用户读写权限即可。   5、文件更改   c:\squid\etc是SQUID的配置信息的存放处,为确保安全,在你修改配置文件前,请将其备份,然后将squid.conf.default修改为squid.conf,   mime.conf.default修改...
tomcat+Apache如何配置代理服务器转发端口号  因为tomcat只能配置一个网站,所以如果是自己单独的服务器,,那没有太大的影响,可以直接只安装一个tomcat便可以运行。但有时候,如果同时有多个,或是许多个,tomcat只能配置一个站点,所以要想运行多了个站点,那就只有多安装几个tomcat了。但另一方面那服务器的80总归只有一个,这样,配置多个tomcat的时候会发现,只能使用其它端口了,这样肯定是不行的。怎么办呢,那就只有想办法,将tomcat的非80端口使用代理了,这样,就成了80端口了,同时又可以运行多个网站。apache作代理服务器时,转发用户端口号到tomcat的方法有很多,这是其中之一,需要用到mod_rewrite 和 mod_headers这两个模块。下面是步骤:1.在apache配置文件中追加对上面两个module的引用,不同的系统方法略有区别。大致如下:[python]LoadModule rewrite_module                 /usr/lib64/apache2-prefork/mod_rewrite.so  LoadModule headers_module                 /usr/lib64/apache2-prefork/mod_headers.so  2.然后在apache配置文件中追加...
您所在的组无权查看该日志
 
0
  Mac OS X 安装Octave说明   第一: Xcode以及Command Line Tool (CLT) 第二: Xquatz,并建立软连接为X11sudo ln -sf /Applications/Utilities/XQuartz.app/ /Applications/Utilities/X11.app 第三:使用homebrew安装Octavebrew tap homebrew/sciencebrew install gmp --build-from-sourcebrew install gfortranbrew install octavebrew install gnuplot第四:设置环境变量echo "export GNUTERM='X11'" >> .bash_profile最后汇报一下安装的依赖, 方便以后想要卸载时好卸载干净Installing dependencies for gfortran: mpfr, libmpc, isl, cloogInstalling dependencies for octave: gnu-sed, texinfo, fftw, tbb, suit, glpk, graphicsmagick,szip,hdf5,pcre,cmake, qhull, dotwrp, qrupdate, fltk, gnuplot lua
Binary installer for OSX 10.9.1A binary installer for Mavericks can be found on Octave Forge.This installer will install all binaries for GNU Octave 3.8.0 itself and its dependencies under /usr/local/octave/3.8.0 And will create two entries in the Applications folder /Applications/Octave-cli.app /Applications/Octave-gui.app Which will start Octave in CLI and GUI mode respectively, these are just small wrappers containing a startup script and an icon to allow launching Octave from the Finder. If you wish to uninstall GNU Octave 3.8.0 and all other software installed by this installer you can simply move the three folders listed above to the Trash. Notice that you will need to authenticate with an administrator password to be allowed to do so.You may need to override Gatekeeper to allow installation. You may find instructions about how to do this on this page in the section labeled "How to open an app from a unidentified developer and exempt it from Gatekeeper". In shor...
apache的mod_speling模块安装配置说明这个模块你可以这样去生成1、下载一个与当前使用的apache一样版本的安装包2、解压安装包,然后进入其目录#cd /tmp/httpd-2.2.11/modules/mappers/#ls   ,此目录有个mod_speling.c文件3、生成模块/usr/local/apache/bin/apxs -c -i -a mod_speling.c注:usr/local/apache/为我生产环境的apache目录,完成上述后会在/usr/local/apache/modules/目录下多一个mod_speling.so模块文件4、重启httpd服务  PS: <VirtualHost 192.168.1.227:80>#    ServerAdmin admin@zj.comDocumentRoot /var/www/html/#    ErrorDocument 404 http://www.zj.com    CheckSpelling On          (加上这个)ServerName 122.222.222.222#    ErrorLog /var/log/httpd/zjnetbarerror_log#    CustomLog /var/log/httpd/zjnetbar_log combined</VirtualHost>默认情况下,在apahce服务器中,有网址 /Tansf/ ,但如果访问 /tansf/ ,apache是不能识别的(即不能把t改为T)。   &...
 
0
Shell脚本编程的常识七种文件类型正则表达式字符类描述shell的引号类型变量设置时的不同模式:条件测试命令执行顺序脚本调试一些常用的小trick打印一些头信息创建一个长度为0的空文件一些常用的shell变量$0的使用Shift的运用用head或tail指令指定查阅的行数awk使用规则第一个 awk多个字段外部脚本BEGIN 和 END 块规则表达式和块条件语句数值变量字符串化变量众多运算符字段分隔符字段数量记录号多行记录OFS 和 ORS将多行转换成用 tab 分隔的格式循环结构for 循环break 和 continue数组下标字符串化数组工具格式化输出字符串函数一些更耐人寻味的函数字符串替换特殊字符串形式sed使用规则sed 示例另一个 sed 示例地址范围带规则表达式的地址有关地址的更多内容替换规则表达式混乱更多字符匹配高级替换功能组合使用一个地址的多个命令附加、插入和更改行使用 sed 的几个示例linux常用脚本和函数linux常用命令关于文件/目录处理的指令:关于 Process 处理的指令:关于字符串处理的指令:联机查询的指令:网络运用指令:Vi常用技巧 Shell脚本编程的常识(这些往往是经常用到,但是各种网络上的材料都语焉不详的东西,个人认为比较有用)七种文件类型d    &nb...
Ubuntu上启用X11VNC  并使用web访问VNC   计算中心节点,没有远程控制不能活,就得装个VNC。 启动Ubuntu的软件中心,选择“X11VNC服务器”,进行安装。当然也可以用sudo apt-get install命令安装。 接下来创建登陆密码sudo x11vnc -storepasswd 输入和确认之后,密码被保存到了用户的密码目录下:  再设置X11VNC的密码文件:sudo x11vnc -storepasswd in /etc/x11vnc.pass 将密码文件复制过去:sudo cp /root/.vnc/passwd /etc/x11vnc.pass打开/etc/init/x11vnc.conf文件,粘贴以下内容。如果没有这个文件,就用文本工具创建一个。端口:5900,自己可以定义。要打开web 访问VNC,并加参数: -shared  -httpstart on login-session-start script x11vnc -display :0 -auth /var/run/lightdm/root/:0 -forever -bg -o /var/log/x11vnc.log -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared -http end script   保存后重启Ubuntu。 在别的操作系统里启动VNC Viewer,这里用的是Windows 7下安装的Real VN...
Automating Database Startup and Shutdown on LinuxIf you are using Oracle Clusterware 10gR2 or above for RAC or just for a single instance using ASM, the Clusterware automatically starts and stops the Oracle database instances and listeners, so the following procedures are not necessary. Where the Clusterware is not being used, these methods allow you to automate the startup and shutdown of databases on Linux.The "su" CommandThe "rsh" CommandKnown IssuesOracle 11gR2+ UpdateNote. These methods work on all RHEL and Oracle Linux versions.The "su" CommandThe following represents the Oracle recommended method for automating database startup and shutdown of Oracle 9i instances on Linux, but it works equally well for Oracle 10g, 11G and 12c also. It can be used on any RHEL-style distribution, including Oracle Linux, up to an including RHEL6.Once the instance is created, edit the "/etc/oratab" file setting the restart flag for each instance to 'Y'.TSH1:/...
ASM using ASMLib and Raw DevicesIntroductionPartition the DisksASMLib InstallationRaw Device SetupASM CreationDatabase CreationSwitching from Raw Devices to ASMLibSwitching from ASMLib to Raw DevicesPerformance ComparisonRelated articles.Automatic Storage Management (ASM) in Oracle Database 10gUsing NFS with ASMAutomatic Storage Manager (ASM) Enhancements in Oracle Database 11g Release 1UDEV SCSI Rules Configuration for ASM in Oracle Linux 5 and 6IntroductionAutomatic Storage Management (ASM) simplifies administration of Oracle related files by allowing the administrator to reference disk groups rather than individual disks and files, which ASM manages internally. On Linux, ASM is capable of referencing disks as raw devices or by using the ASMLib software. This article presents the setup details for using either raw devices or ASMLib, as well as the procedures for converting between both methods.The article assumes the operating system installation is complete, along with an Oracle so...
    总共67页,当前第32页 | 页数:
  1. 22
  2. 23
  3. 24
  4. 25
  5. 26
  6. 27
  7. 28
  8. 29
  9. 30
  10. 31
  11. 32
  12. 33
  13. 34
  14. 35
  15. 36
  16. 37
  17. 38
  18. 39
  19. 40
  20. 41
  21. 42