服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我在Ubuntu 16.10上有一个Hadoop版本 Hadoop 3.0.0-alpha1 Source code repository https://git-wip-us.apache.org/repos/asf/hadoop.git -r a990d2ebcd6de5d7dc2d3684930759b0f0ea4dc3 Compiled by andrew on 2016-08-30T07:02Z Compiled with protoc 2.5.0 From source with checksum f3a9644139eac17acbb91bfce7f68e2 This command was run using /home/hduser/hadoop/share/hadoop/common/hadoop-common-3.0.0-alpha1.jar 安装Hive 2.1.1后 #Hive environment export HIVE_HOME=/home/hduser/hive export PATH=$PATH:$HIVE_HOME/bin export CLASSPATH=$CLASSPATH:/home/hduser/Hadoop/lib/*:. export CLASSPATH=$CLASSPATH:/home/hduser/hive/lib/*:. hive-env.sh export HADOOP_HOME=/home/hduser/hadoop 和db-derby-10.13.1.1。 #Derby environment export DERBY_HOME=/home/hduser/derby export PATH=$PATH:$DERBY_HOME/bin export CLASSPATH=$CLASSPATH:$DERBY_HOME/lib/derby.jar:$DERBY_HOME/lib/derbytools.jar configurationMetastore […]
在IIS中,我们可以创build一个自签名证书。 证书的到期时间默认为一年。 有谁知道这是否可以通过例如“configuration编辑器”进行更改?
我可以运行systemctl restart gunicorn && systemctl restart nginx没有sudo ? 目前我得到: 出:authentication是需要重新加载'gunicorn.service'。 out:身份validation:myuser 输出:密码: # coding: utf-8 from fabric.api import * from fabric.colors import green, red def production(): env.host_string = '159.xxx.xxx.xx' env.user = 'myuser' path = "/home/myuser/myproject/myproject" print(red("Beginning Deploy:")) with cd(path): with prefix('. /home/myuser/myproject/myenv/bin/activate'): run("pwd") print(green("Pulling master from git…")) run("git pull") print(green("Migrate the database…")) run("python3 manage.py migrate") […]
我GOOGLE了,但我无法find我想要做的解决scheme。 我想根据服务器的主机名设置一个jinja2variables(我正在使用不同的证书,并希望根据主机名创buildssl.conf )。 我想要一个字典来做这样的事情: Certmapping: host1: www.mydomain.com host2: beta.mydomain.com host3: partner.mydomain.com 然后是一个引用字典的模板: SSLCertificateFile /etc/pki/tls/certs/<domain>.crt 我可以有一个怪物: if {{ ansible_hostname }} == 'host1' … 但是看起来不那么优雅。
我想在kvmpipe理程序上安装一个windowsterminal服务器。 在主机上我使用btrfs,我已经读过,如果我使用btrfs whit libvirt有一些速度问题。 我想使用相同的4个软件raid 10上的btrfs rootfs作为存储空间,而不用单独启动分区。 选项1:我可以混合LVM白色BTRFS和RAID? 他们所有的突袭实施或maye mdraid和分开lvm和brtfs? 在哪里交换? 选项2:也许可以使访客镜像只读,并将更改写入RAM或其他地方..?
在Windows Server 2012 R2下,我看到不到2天的任务计划程序日志! 说实话,这已经是17'295个条目,也许是最大容量? 所以我的问题是:显示选项的问题,还是服务器保持如此less的日志? 在第二种情况下,如何扩大logging能力? 要查看日志,我要转到事件查看器>应用程序和服务> Microsoft> Windows>任务计划程序>操作 任何帮助,将不胜感激。 PS我发现了一个似乎不适用于Windows Server 2012 R2的较早的讨论: 扩展Windows任务计划程序日志文件
我想定义一个自定义属性来设置用户ID。 我将该属性添加到postgressql.conf user = '' 它要么出现语法错误,要么出现无法识别的configuration参数
安装和configurationppadial / automysqlbackup后,Ubuntu 16.04中出现以下结果: anacron: /etc/cron.daily/runmysqlbackup: run-parts: failed to exec /etc/cron.daily/runmysqlbackup: Exec format error run-parts: /etc/cron.daily/runmysqlbackup exited with return code 1 crontab: /etc/cron.daily/runmysqlbackup: 1: /etc/cron.daily/runmysqlbackup: !/bin/sh: not found Parsed config file "/etc/automysqlbackup/automysqlbackup.conf" # Checking for permissions to write to folders: base folder /var/backup … exists … ok. backup folder /var/backup/db … exists … writable? yes. […]
在一个服务器2016年的盒子,我们只是更新到PCI 3.1,实际上从密码删除TLS 1.0。 PowerShell脚本在备份之后向我们的Domino 9.0.1 FP7服务器发送电子邮件失败 The client and server cannot communicate, because they do not possess a common algorithm Domino日志显示 [0B40:000A-09DC] 12/18/2016 07:20:21.57 AM SSLInitContext> User is forcing 0xC3C0A cipher spec bitmask for 9 ciphers [0B40:000A-09DC] Checking keyfile certificates: [0B40:000A-09DC] 12/18/2016 07:20:21.59 AM SSLCheckCertChain> Invalid certificate chain received [0B40:000A-09DC] Cert Chain Evaluation Status: err: […]
在为我的主网站创build特定的虚拟主机之前 login到主IP地址打开了Apache默认的欢迎页面 但创build此虚拟主机后,domain.com工作正常,但IP地址打开的domain.com相同的内容 # /etc/httpd/conf.d/domain.com.conf <VirtualHost *:80> ServerName www.domain.com ServerAlias domain.com DocumentRoot /var/www/domian.com/public_html ErrorLog /var/www/domian.com/error.log CustomLog /var/www/domian.com/requests.log combined </VirtualHost> 我不想更改apache欢迎页面 更新 我把这个代码放在我的网站虚拟主机的内容之前来解决问题 <VirtualHost _default_:80> DocumentRoot /var/www/html </VirtualHost>