Articles of freebsd

主路由器上的FreeBSD?

是否有可能在典型的家庭路由器如NetGear DG834G上安装FreeBSD? 还是有一个适合家庭设置的替代scheme?

freebsd bcrypt安装错误

在/ usr /港口/安全/ bcrypt 当我试图安装它,我得到这个: cc -O2 -pipe -fno-strict-aliasing -c main.c cc -O2 -pipe -fno-strict-aliasing -c blowfish.c cc -O2 -pipe -fno-strict-aliasing -c rwfile.c cc -O2 -pipe -fno-strict-aliasing -c keys.c cc -O2 -pipe -fno-strict-aliasing -c wrapbf.c cc -O2 -pipe -fno-strict-aliasing -c endian.c cc -O2 -pipe -fno-strict-aliasing -c wrapzl.c cc -O2 -pipe -fno-strict-aliasing -o bcrypt main.o blowfish.o […]

proftpd覆盖权限拒绝ftp用户

我有一个安装了proftpd的freebsd服务器。 当我chmod 777的目录我可以覆盖的文件,但使用755的文件夹权限,我不能覆盖文件夹中的文件。 在conf文件中:我将“AllowOverwrite”改为“on”我将用户和组更改为“root”,但没有帮助。 我如何解决这个错误? 这是我的proftpd.conf文件: ServerName "Servername" ServerType standalone ServerIdent on "Servers identifying string" DeferWelcome on DefaultServer on DisplayLogin .welcome # Textfile to display on login DisplayConnect .connect # Textfile to display on connection #DisplayFirstChdir .firstchdir # Textfile to display on first changedir UseReverseDNS off IdentLookups off Port 21 PassivePorts 60000 65000 Umask 022 […]

FreeBSD 9支持Z68芯片组

Freebsd 9是否支持像Intel DZ68BC主板一样的Z68芯片组? 我会有什么“无法识别的设备”的问题? 那么Freebsd 8呢? 找出来最好的方法是什么?

包含mod_rewrite时,Lighttpd无法启动

这里是我的服务器模块列表( modules.conf ),它的工作没有任何问题,而lighttpd正在使用这个列表正确运行: server.modules = ( "mod_access", # "mod_alias", # "mod_auth", # "mod_evasive", # "mod_redirect", # "mod_rewrite", # "mod_setenv", # "mod_usertrack", ) 问题出现了,当我想取消注释mod_rewrite模块: server.modules = ( "mod_access", # "mod_alias", # "mod_auth", # "mod_evasive", # "mod_redirect", "mod_rewrite", # "mod_setenv", # "mod_usertrack", ) 然后,当我想运行我的Web服务器时,我收到以下消息: / usr / local / lib / lighttpd / mod_indexfile,mod_access.so无法打开“/ usr / local […]

如何在csh的内置echo命令中正确使用退出字符?

我试图build立我的fstab在脚本安装过程中,所以我想有这样的事情: printf '# Device\t\tMountpoint\tFSType\tOptions\t\tDump\tPass#' >> /mnt/etc/fstab printf '\n/dev/ada0p4.elia\t/\t\tufs\trw\t\t1\t2' >> /mnt/etc/fstab printf '\n/dev/ada0p3.eli\t\tnone\t\tswap\tsw\t\t0\t0' >> /mnt/etc/fstab printf '\n/dev/ada0p2\t\t/unencrypted\tufs\tro\t\t1\t1' >> /mnt/etc/fstab 有没有办法做到这一点与CSH回声? 我已经尝试过了,它不能正常工作。 例如,下面是我的FreeBSD 9.0-RELEASE-p1框中的testing和输出结果: # echo test\ttest > test # cat test testttest 这里怎么了?

哪个进程正在吃我的硬盘?

今天,我用sshlogin后,在FreeBSD服务器上看到很多滞后。 有东西吃了我的两个硬盘(RAID1与gmirror)的100%。 systat -vmstat 5 users Load 0,06 0,16 0,27 17 май 14:22 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 460540 7948 801208 12784 194524 count All 629936 9364 2957060 16072 pages Proc: Interrupts rpdsw Csw Trp Sys Int Sof Flt 291 cow 25887 total […]

syslog-ng每次启动都显示错误

大家! 在我的freebsd9.1中安装了syslog-ng之后,将它用于我的日志systerm。 每当我开始它显示一个错误: Error opening plugin module; module='afuser', error='/usr/local/lib/syslog-ng/libafuser.so: Undefined symbol "endutent"' 这是我的configuration文件。 ############################################################################# # Default syslog-ng.conf file which collects all local logs into a # single file called /var/log/messages. # @version: 3.4 source s_net { udp(ip(0.0.0.0) port(514)); }; filter firewallfilter { program("haproxy"); }; template m_template { template("$MSGONLY\n"); template_escape(no); }; destination d_net_secure { file("/weblog/haproxy/$YEAR/$MONTH.$DAY/${R_HOUR}$(/ ${R_MIN} […]

任何安全事件审计的高级和跨平台包装

对于系统文件事件,有一些高级的包装器,在这里是一个使用Listen ruby​​ gem的例子: Listen.to('some/path', 'some/another/path', :filter => [/\.tmp$/]) do |modified, added, removed| … end 是否存在这样的监控,例如“权限被拒绝”事件?

无法读取权限为777的文件

我有一个从Outlook保存到CIFS共享的文件。 文件权限是777,所以我应该能够从文件所在的Linux主机读取文件。 但是,当我尝试,我得到文件权限错误(无法读取文件)。 如果我有根用户更改权限(比如从777到775),那么我可以按照预期读取文件。 我证实我有权限到目录,所以这不是问题。 BSD_6.3 [61234567] $ ls -l hwmconfigs.rar -rwxrwxrwx** 1 root wheel 41574 Jul 27 17:55 hwmconfigs.rar BSD_6.3 [61234567] $ file hwmconfigs.rar hwmconfigs.rar: writable, executable, regular file, no read permission 有没有人遇到类似的问题。 任何想法如何让MS Outlook把文件,使非特权用户可以读取它?