现在有没有办法使用 freebsd-update 将 7.4-RELEASE-p5 升级到 7.4-RELEASE-p12?
bash-4.2# freebsd-update upgrade -r 7.4-RELEASE-p12
Looking up update.FreeBSD.org mirrors... 5 mirrors found.
Fetching metadata signature for 7.4-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
The following components of FreeBSD seem to be installed:
kernel/generic src/base src/bin src/cddl src/contrib src/crypto src/etc
src/games src/gnu src/include src/krb5 src/lib src/libexec src/release
src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin
src/usbin world/base world/dict world/doc world/games world/info
world/lib32 world/manpages world/proflibs
The following components of FreeBSD do not seem …Run Code Online (Sandbox Code Playgroud) 我在 httpd.conf 中添加了以下内容(在 VirtualHost 之后):
<VirtualHost *:80>
ServerName XXX.XXX.XXX
<Directory proxy:>
Order allow,deny
Allow from 10.52.208.221
Allow from 10.52.208.223
Deny from all
</Directory>
ProxyPass / http://XXX.XXX.XXX/
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/admin/$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</VirtualHost>
Run Code Online (Sandbox Code Playgroud)
但是,我可以从其他 IP 访问我的 VirtualHost:
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)
# uname -a
Linux XXXXX.XXXXX.XXX 2.6.32-358.18.1.el6.x86_64 #1 SMP Fri Aug 2 17:04:38 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
# httpd -V
Server version: Apache/2.2.15 (Unix)
Server built: Aug 2 …Run Code Online (Sandbox Code Playgroud) .. 看起来至少有两个来自 EPEL 的包坏了:
[alexus@wcmisdlin02 ~]$ sudo yum update --skip-broken
Loaded plugins: refresh-packagekit, security
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libmodplug.x86_64 0:0.8.7-1.el6.rf will be updated
--> Processing Dependency: libmodplug.so.0()(64bit) for package: gstreamer-plugins-bad-0.10.19-3.el6.rf.x86_64
---> Package libmodplug.x86_64 1:0.8.8.3-2.el6 will be an update
---> Package npm.noarch 0:1.2.17-5.el6 will be updated
---> Package npm.noarch 0:1.3.3-1.el6 will be an update
--> Running transaction check
---> Package libmodplug.x86_64 0:0.8.7-1.el6.rf will be updated
---> Package libmodplug.x86_64 1:0.8.8.3-2.el6 will be an update …Run Code Online (Sandbox Code Playgroud) 我正在使用 Windows 2012 运行虚拟环境大约一个月,Windows 只是提醒我应该尽快更改我的密码,否则它会过期。我不记得我当前的密码,因为它保存在我的配置文件中。不用说,我AM盒子的管理员,我有管理权限(包括更改密码)。我试过通过管理,但 Windows 建议我只使用 CTRL+ALT+DEL(唯一的问题是它会询问我当前的密码,而我又一次不知道)。我在谷歌上搜索过,但到目前为止我发现了一堆据称可以处理它的 3rd 方实用程序,但我正在寻找一种有点犹太洁食的方式,又名“微软批准/推荐”(如果你愿意的话)。
我该如何进行?
我正在尝试利用newsyslog.conf -- newsyslog(8) configuration file来轮换我的apache//日志文件nginx:squid
# uname -a
FreeBSD X 9.2-RELEASE-p17 FreeBSD 9.2-RELEASE-p17 #0 r282430: Mon May 4 13:59:58 PDT 2015 root@X:/usr/obj/usr/src/sys/R610 amd64
# tail -1 /etc/newsyslog.conf
<include> /etc/newsyslog-local.conf
# cat /etc/newsyslog-local.conf
/var/log/httpd-*.log root:wheel 644 7 * @T00 JC /var/run/httpd.pid
/var/log/nginx-*.log root:wheel 644 7 * @T00 JC /var/run/nginx.pid
/var/log/squid/*.log squid:squid 640 7 * @T00 JC /var/run/squid/squid.pid
# newsyslog
# echo $?
0
# ll /var/log/httpd-* /var/log/nginx-* /var/log/squid/*log*
-rw-r--r-- 1 root wheel 794179378 Jun …Run Code Online (Sandbox Code Playgroud) 这是如何向服务器发出嘘声
ssh -p 2222 thatilike@192.185.21.105
我想将文件复制logo.png到public_html服务器上的文件夹
这是我试过的
scp ./logo.png -p 2222 thatilike@192.185.21.105:/public_html/
不知道为什么不工作
我正在使用 REDHAT 6.x,我认为出了点问题,所以我想重置一切(selinux 明智的)并重做,如何解决?