搜索列表
-
FreeBSD su Sorry问题解决办法
【Unix/BSD】FreeBSD系统下su:sorry的解决办法 在FreeBSD上要使用su命令成为root用户,不但要知道root的口令,还需要经过特别设置,否则就不能成功使用这个命令。这是因为FreeBSD对执行su命令的用户进行了更严格的限制,能使用su命令的用户必须属
-
FREEBSD系统优化精华
【Unix/BSD】1、优化内核mkdir /usr/kerncp /usr/src/sys/i386/conf/GENERIC /usr/kern/proxyln -s /usr/kern/proxy /usr/src/sys/i386/conf/proxycd /sys/i386/conf ee proxyoptions IPFILTER #ipfilter support options IPFILTER_LOG #ipfilter loggin
-
FreeBSD5.2.1上建立功能完整的邮件服务器(POSTFIX)
【Unix/BSD】1.更新 ports# cvsup -gL 2 -h cvsup.freebsdchina.org /usr/share/examples/cvsup/ports-supfile 2. 安装 openssl+apache 服务器 # cd /usr/ports/security/openssl# make install# make clean# cd /usr/ports/www/apache2# make in
-
FreeBSD学习经验
【Unix/BSD】1、进入单用户模式BOOT: /kernel -s就进了单用户了, 然后/sbin/mount -rw /把/设置成可写然后 vipw把root口令置空2、开机自动fsck硬盘fsck_y_enable="YES"3、FreeBSD弹出光驱cdcontol->Eject4、OpenBSD弹出光驱eject /dev/rcd0c
-
freebsd6.2 nginx+php+mysql+zend系统优化防止ddos攻击
【Unix/BSD】一、安装软件前的准备系统的安装:插入freebsd6.2以上的光盘,最小化安装系统,同时安装好ports二、手动安装nginx+php1) 进入系统后,准备cvs更新:1. cd /usr/por
-
FreeBSD双线负载均衡NAT服务器配置方法
【Unix/BSD】# vi /etc/rc.conf================+==============+=================defaultrouter="221.33.88.254"ifconfig_fxp0="inet 192.168.0.1 netmask 255.255.255.0"ifconfig_rl0="inet 221.33.88.2 netmask 255.255.255.0"ifc
-
Freebsd7.0 Apache2.2+MySQL5+PHP5安装和配置方法
Warning: Illegal string offset 'id' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71
Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71
Warning: Illegal string offset 'classname' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
【】一、安装apache2.2.8 首先去http://www.apache.org网站上下载apache2.2.8源码包 解压缩 #tar zxvf httpd-2.2.8.tar.gz 得到 httpd-2.2.8文件夹 #cd httpd-2.2.8 配置 #./configure --prefix=/usr/local/apache --enable-so --enab -
FreeBSD系统下读写 NTFS分区
【Unix/BSD】1、安装ntfs-3g: # cd /usr/ports/sysutils/fusefs-ntfs # make install clean 2、加入fuse加载: # ee /etc/rc.conf 加入以下这一行: fusefs_enable="YES" 保存退出 # ee /boot/loader.conf 加入以下这一行
-
FreeBSD 6.2用freebsd-update升级过程
【Unix/BSD】FreeBSD 6.2-RELEASE下用freebsd-update升级过程: mail#uname -a FreeBSD mail.extmail.org 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Nov 2 13:04:30 UTC 2007 qiao@qiao.lpzq:/usr/src/sys/i386/compile/kernel_IPFW i386 mail#freebsd-update f
-
FreeBSD系统SSH配置详解
【Unix/BSD】修改freebsd可以用sshd权限用户登录ssh 但不能用root用户登录的方法在/etc/ssh/sshd_config最后中加入PermitRootLogin yes #允许root登录PermitEmptyPasswords no #不允许空密码登录PasswordAuthentication yes # 设置是否使用口令验证。就可以了F
-
让root用户telnet到FreeBSD的方法
【Unix/BSD】1:如何开启telnet ee/etc/inetd.conf 把 #telnetstreamtcpnowaitroot/usr/libexec/telnetdtelnetd #telnetstreamt
-
FreeBSD 数据备份和迁移方法
【Unix/BSD】相信一些朋友也曾经想过如何快捷安全迁移数据,迁移数据可能有多种原因,一种是想增加一块硬盘,把原来一些空间不够的分区迁移过来;另一种是硬盘复制,旧的硬盘容量可能太小了,又或者已经出现了问题,想用新的硬盘代替。葱头就分别举例说明怎样迁移数据,具体方法可能