我们有一个 Windows 2008 R2 域控制器,网络上的每台 PC 都在 DNS 设置下设置了域控制器的 IP 地址。当域控制器重新启动时,域控制器也是 DNS 服务器并失去与网络上所有计算机的所有 Internet 连接是否正常?我知道 DNS 是组策略的核心部分,但我怎样才能使我的网络中的所有机器在域控制器出现故障时都不会失去连接?人们通常有备份/镜像 DNS 之类的吗?抱歉,我是自学成才,这就是在我之前设置现有网络的方式。
TheFrack's questions
有没有人知道任何类型的系统锁定/家长控制软件适用于联网机器,用户可能已经或可能还没有在本地机器上设置帐户?
我在一个相对较大的公共部门工作,最重要的是我需要阻止对所有但只有少数网站的互联网访问。另外,我还想将机器限制在特定的应用程序中。
我尝试安装 Microsoft Family Safety,但是我认为您必须为已经在安装它的机器上登录的帐户手动设置它,问题是我们所有的机器都联网并且我们有很多用户通过 Active Directory .
目前我们使用“Fortres 101”/“Fortres Grand”,但它不实用并且导致太多问题,它也是一个演示/试用版。我们混合使用 Windows XP 和 Windows 7,但如果它仅适用于 Windows 7,那也很酷。
我正在尝试在带有 Apache 和 Tomcat 的 ArchLinux 机器上安装“YouTrack”。不过,我对 Tomcat 是全新的,并且收到“503 服务暂时不可用”错误。
我通过包管理器安装了 Tomcat7 并将“youtrack.war”放入此路径:/usr/share/tomcat7/webapps/youtrack.war
我这里修改了Tomcat的server.xml:
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
然后在 Apache 中我配置了这个:
Listen 8081
NameVirtualHost *:8081
<VirtualHost *:8081>
ProxyPass / ajp://127.0.0.1:8009/youtrack
ProxyPassReverse / ajp://127.0.0.1:8009/youtrack
</VirtualHost>
然后我继续重新启动这两个服务并转到“ http://<server>:8081/ ”并收到 503 错误:
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Additionally, a 503 Service Temporarily Unavailable error was encountered while trying to use an ErrorDocument to handle the request.
似乎 Tomcat 将 war 文件解压缩到 /usr/share/tomcat7/webapps/youtrack/ 中,所以我很确定这是有效的。
谢谢
更新
我将它添加到 virtualhost 并且它有效:
<Proxy *>
AddDefaultCharset Off
Order deny,allow
Allow from all
</Proxy>
我正在尝试安装 PHP PEAR PECL 扩展“imagick”(image magick),但失败得很厉害。看来我一直在安装软件包以取得进展,但这让我感到难过。它似乎一直在底部失败。
请注意:我使用的是 ArchLinux,apt-get 没有救我。
[root@Crux tmp]# pecl install imagick
downloading imagick-3.0.1.tgz ...
Starting to download imagick-3.0.1.tgz (93,920 bytes)
.....................done: 93,920 bytes
13 source files, building
running: phpize
Configuring for:
PHP Api Version: 20100412
Zend Module Api No: 20100525
Zend Extension Api No: 220100525
Please provide the prefix of Imagemagick installation [autodetect] :
building in /tmp/pear/temp/pear-build-rootLbSUWT/imagick-3.0.1
running: /tmp/pear/temp/imagick/configure --with-imagick
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking whether to enable the imagick extension... yes, shared
checking whether to enable the imagick GraphicsMagick backend... no
checking ImageMagick MagickWand API configuration program... found in /usr/bin/MagickWand-config
checking if ImageMagick version is at least 6.2.4... found version 6.7.8 Q16
checking for MagickWand.h header file... found in /usr/include/ImageMagick/wand/MagickWand.h
checking PHP version is at least 5.1.3... yes. found 5.4.6
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /tmp/pear/temp/pear-build-rootLbSUWT/imagick-3.0.1/libtool --mode=compile cc -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootLbSUWT/imagick-3.0.1/include -I/tmp/pear/temp/pear-build-rootLbSUWT/imagick-3.0.1/main -I/tmp/pear/temp/imagick -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_class.c -o imagick_class.lo
mkdir .libs
cc -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootLbSUWT/imagick-3.0.1/include -I/tmp/pear/temp/pear-build-rootLbSUWT/imagick-3.0.1/main -I/tmp/pear/temp/imagick -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_class.c -fPIC -DPIC -o .libs/imagick_class.o
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getimagematteâ:
/tmp/pear/temp/imagick/imagick_class.c:268:2: warning: âMagickGetImageMatteâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:82) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getsizeoffsetâ:
/tmp/pear/temp/imagick/imagick_class.c:406:2: warning: passing argument 2 of âMagickGetSizeOffsetâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:73:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-property.h:87:3: note: expected âssize_t *â but argument is of type âlong int *â
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_paintfloodfillimageâ:
/tmp/pear/temp/imagick/imagick_class.c:1016:3: warning: âMagickPaintFloodfillImageâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:99) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c:1019:3: warning: âMagickPaintFloodfillImageâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:99) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getimagepropertiesâ:
/tmp/pear/temp/imagick/imagick_class.c:1083:2: warning: passing argument 3 of âMagickGetImagePropertiesâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:73:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-property.h:35:5: note: expected âsize_t *â but argument is of type âlong unsigned int *â
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getimageprofilesâ:
/tmp/pear/temp/imagick/imagick_class.c:1131:2: warning: passing argument 3 of âMagickGetImageProfilesâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:73:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-property.h:33:5: note: expected âsize_t *â but argument is of type âlong unsigned int *â
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_recolorimageâ:
/tmp/pear/temp/imagick/imagick_class.c:1402:2: warning: âMagickRecolorImageâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:109) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_setfontâ:
/tmp/pear/temp/imagick/imagick_class.c:1442:3: error: âstruct _php_core_globalsâ has no member named âsafe_modeâ
/tmp/pear/temp/imagick/imagick_class.c:1442:3: error: âCHECKUID_CHECK_FILE_AND_DIRâ undeclared (first use in this function)
/tmp/pear/temp/imagick/imagick_class.c:1442:3: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pear/temp/imagick/imagick_class.c:1442:3: error: âCHECKUID_NO_ERRORSâ undeclared (first use in this function)
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_queryformatsâ:
/tmp/pear/temp/imagick/imagick_class.c:2580:2: warning: passing argument 2 of âMagickQueryFormatsâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:73:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-property.h:41:5: note: expected âsize_t *â but argument is of type âlong unsigned int *â
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_queryfontsâ:
/tmp/pear/temp/imagick/imagick_class.c:2607:2: warning: passing argument 2 of âMagickQueryFontsâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:73:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-property.h:40:5: note: expected âsize_t *â but argument is of type âlong unsigned int *â
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_colorfloodfillimageâ:
/tmp/pear/temp/imagick/imagick_class.c:3396:2: warning: âMagickColorFloodfillImageâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:75) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_mapimageâ:
/tmp/pear/temp/imagick/imagick_class.c:3730:2: warning: âMagickMapImageâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:86) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_mattefloodfillimageâ:
/tmp/pear/temp/imagick/imagick_class.c:3763:2: warning: âMagickMatteFloodfillImageâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:88) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_medianfilterimageâ:
/tmp/pear/temp/imagick/imagick_class.c:3790:2: warning: âMagickMedianFilterImageâ is deprecated (declared at /usr/include/ImageMagick/wand/magick-image.h:217) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_paintopaqueimageâ:
/tmp/pear/temp/imagick/imagick_class.c:3853:2: warning: âMagickPaintOpaqueImageChannelâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:104) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_painttransparentimageâ:
/tmp/pear/temp/imagick/imagick_class.c:3916:2: warning: âMagickPaintTransparentImageâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:107) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_reducenoiseimageâ:
/tmp/pear/temp/imagick/imagick_class.c:4059:2: warning: âMagickReduceNoiseImageâ is deprecated (declared at /usr/include/ImageMagick/wand/magick-image.h:266) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getimageattributeâ:
/tmp/pear/temp/imagick/imagick_class.c:5068:2: warning: âMagickGetImageAttributeâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:59) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getimagechannelextremaâ:
/tmp/pear/temp/imagick/imagick_class.c:5253:2: warning: âMagickGetImageChannelExtremaâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:78) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c:5253:2: warning: passing argument 3 of âMagickGetImageChannelExtremaâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:68:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/deprecate.h:78:3: note: expected âsize_t *â but argument is of type âlong unsigned int *â
/tmp/pear/temp/imagick/imagick_class.c:5253:2: warning: passing argument 4 of âMagickGetImageChannelExtremaâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:68:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/deprecate.h:78:3: note: expected âsize_t *â but argument is of type âlong unsigned int *â
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getimageextremaâ:
/tmp/pear/temp/imagick/imagick_class.c:5506:2: warning: âMagickGetImageExtremaâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:80) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c:5506:2: warning: passing argument 2 of âMagickGetImageExtremaâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:68:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/deprecate.h:80:3: note: expected âsize_t *â but argument is of type âlong unsigned int *â
/tmp/pear/temp/imagick/imagick_class.c:5506:2: warning: passing argument 3 of âMagickGetImageExtremaâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:68:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/deprecate.h:80:3: note: expected âsize_t *â but argument is of type âlong unsigned int *â
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getimagehistogramâ:
/tmp/pear/temp/imagick/imagick_class.c:5629:2: warning: passing argument 2 of âMagickGetImageHistogramâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:74:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-image.h:415:5: note: expected âsize_t *â but argument is of type âlong unsigned int *â
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getimagepageâ:
/tmp/pear/temp/imagick/imagick_class.c:5740:2: warning: passing argument 2 of âMagickGetImagePageâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:74:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-image.h:192:3: note: expected âsize_t *â but argument is of type âlong unsigned int *â
/tmp/pear/temp/imagick/imagick_class.c:5740:2: warning: passing argument 3 of âMagickGetImagePageâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:74:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-image.h:192:3: note: expected âsize_t *â but argument is of type âlong unsigned int *â
/tmp/pear/temp/imagick/imagick_class.c:5740:2: warning: passing argument 4 of âMagickGetImagePageâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:74:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-image.h:192:3: note: expected âssize_t *â but argument is of type âlong int *â
/tmp/pear/temp/imagick/imagick_class.c:5740:2: warning: passing argument 5 of âMagickGetImagePageâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:74:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-image.h:192:3: note: expected âssize_t *â but argument is of type âlong int *â
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getimageindexâ:
/tmp/pear/temp/imagick/imagick_class.c:6344:2: warning: âMagickGetImageIndexâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:65) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_setimageindexâ:
/tmp/pear/temp/imagick/imagick_class.c:6369:2: warning: âMagickSetImageIndexâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:113) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getimagesizeâ:
/tmp/pear/temp/imagick/imagick_class.c:6447:2: warning: âMagickGetImageSizeâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:140) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_setimageattributeâ:
/tmp/pear/temp/imagick/imagick_class.c:6796:2: warning: âMagickSetImageAttributeâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:111) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_flattenimagesâ:
/tmp/pear/temp/imagick/imagick_class.c:7043:2: warning: âMagickFlattenImagesâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:132) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_averageimagesâ:
/tmp/pear/temp/imagick/imagick_class.c:8079:2: warning: âMagickAverageImagesâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:131) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_mosaicimagesâ:
/tmp/pear/temp/imagick/imagick_class.c:8516:2: warning: âMagickMosaicImagesâ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:135) [-Wdeprecated-declarations]
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getpageâ:
/tmp/pear/temp/imagick/imagick_class.c:9126:2: warning: passing argument 2 of âMagickGetPageâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:73:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-property.h:84:3: note: expected âsize_t *â but argument is of type âlong int *â
/tmp/pear/temp/imagick/imagick_class.c:9126:2: warning: passing argument 3 of âMagickGetPageâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:73:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-property.h:84:3: note: expected âsize_t *â but argument is of type âlong int *â
/tmp/pear/temp/imagick/imagick_class.c:9126:2: warning: passing argument 4 of âMagickGetPageâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:73:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-property.h:84:3: note: expected âssize_t *â but argument is of type âlong int *â
/tmp/pear/temp/imagick/imagick_class.c:9126:2: warning: passing argument 5 of âMagickGetPageâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:73:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-property.h:84:3: note: expected âssize_t *â but argument is of type âlong int *â
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getquantumdepthâ:
/tmp/pear/temp/imagick/imagick_class.c:9154:2: warning: passing argument 1 of âMagickGetQuantumDepthâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:73:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-property.h:52:4: note: expected âsize_t *â but argument is of type âlong int *â
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getquantumrangeâ:
/tmp/pear/temp/imagick/imagick_class.c:9176:2: warning: passing argument 1 of âMagickGetQuantumRangeâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:73:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-property.h:53:4: note: expected âsize_t *â but argument is of type âlong int *â
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getsamplingfactorsâ:
/tmp/pear/temp/imagick/imagick_class.c:9247:2: warning: passing argument 2 of âMagickGetSamplingFactorsâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:73:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-property.h:59:4: note: expected âsize_t *â but argument is of type âlong int *â
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getsizeâ:
/tmp/pear/temp/imagick/imagick_class.c:9273:2: warning: passing argument 2 of âMagickGetSizeâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:73:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-property.h:86:3: note: expected âsize_t *â but argument is of type âlong unsigned int *â
/tmp/pear/temp/imagick/imagick_class.c:9273:2: warning: passing argument 3 of âMagickGetSizeâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:73:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-property.h:86:3: note: expected âsize_t *â but argument is of type âlong unsigned int *â
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_getversionâ:
/tmp/pear/temp/imagick/imagick_class.c:9299:2: warning: passing argument 1 of âMagickGetVersionâ from incompatible pointer type [enabled by default]
In file included from /usr/include/ImageMagick/wand/MagickWand.h:73:0,
from /tmp/pear/temp/imagick/php_imagick.h:49,
from /tmp/pear/temp/imagick/imagick_class.c:21:
/usr/include/ImageMagick/wand/magick-property.h:55:4: note: expected âsize_t *â but argument is of type âlong int *â
/tmp/pear/temp/imagick/imagick_class.c: In function âzim_imagick_setimageprogressmonitorâ:
/tmp/pear/temp/imagick/imagick_class.c:9534:2: error: âstruct _php_core_globalsâ has no member named âsafe_modeâ
/tmp/pear/temp/imagick/imagick_class.c:9534:2: error: âCHECKUID_CHECK_FILE_AND_DIRâ undeclared (first use in this function)
/tmp/pear/temp/imagick/imagick_class.c:9534:2: error: âCHECKUID_NO_ERRORSâ undeclared (first use in this function)
make: *** [imagick_class.lo] Error 1
ERROR: `make' failed
我的公司有一台运行 ArchLinux x64 的旧 Dell 2650 服务器:http: //www.dell.com/downloads/global/products/pedge/en/2650_specs.pdf(2 x 2.4GHz Intel Xeon w/around 3287 RAM 根据“免费-m")
我们用它来托管我们的内部公司网站并发布我们订单中的一些信息,我们希望能够尽可能地保持它。
我们的要求: - 从早上 8 点到下午 4 点,它需要始终正常运行,以便我们的数据录入人员使用它,其他人可以在上面做其他需要做的事情。- 如果出现故障,我们需要一种快速的方法让机器再次运行。- 如果出现故障,我们希望备份数据。
一些主要问题包括: - 服务器陈旧,可能有内存问题 - 我们不知道其中一个硬盘驱动器何时会出现故障 - 我们的电源偶尔会在这里断电
我们有备用电池,但仅此而已,不是长期的。如果服务器确实出现故障,我们有另一个系统来存储在它出现故障时收到的订单信息,并在它恢复时重新发布,但我们白天需要它。
所以我们想知道,我们应该从期权中得到什么?这些是我们想到的事情,有点像:
- 设置 RAID 1,但这会涉及擦除所有内容吗?如果我们这样做,我们如何在不弄乱服务器的情况下传输数据?
- 我们可以花 100 美元从 eBay 购买额外的服务器或 2 台相同型号的服务器,这实用吗?还是我们应该买别的东西?
- 我们是否应该购买一台 PC 或其他更好的服务器并将其作为主机,因为它更容易更换部件?
- 我们是否应该随身携带额外的零件以防它内爆?
- 我们应该购买/使用备份软件吗?我们听说 drobo 很酷,但很烂。
也许这个问题有一个软件解决方案可以备份到另一台机器或让我们快速重新启动和运行。另外,如果我们要购买硬件,什么是体面的?有人知道 ArchLinux/Linux 的吗?我们都非常了解计算机,但我们不确定要采取什么步骤,尤其是对于这种类型的服务器。
谢谢
我需要一直从 Github 拉取并且我有一个密码,但这很痛苦,所以我通常运行......
ssh-agent bash
ssh-add ~/.ssh/id_rsa
<prompt and give passphrase>
git pull
...
这适用于会话,但即使在我注销后,我也希望它在下次我 PuTTY 时保存密码。所以我安装了钥匙串,但我太笨了无法操作它。所以现在当我登录时,我输入...
ssh-agent bash (Which I'm guessing causes bashrc to load and then keychain loads)
git pull
...
我该怎么做,这样我就不需要在每次登录时都调用“ssh-agent bash”?
我正在使用 ArchLinux...