kristain

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页

2012年7月16日 #

摘要: 显示或禁用php显示目录结构功能要禁止 Apache 显示目录结构列表,只需将 Option 中的 Indexes 去掉即可。比如我们看看一个目录的目录配置:<Directory "D:/Apa/blabla"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all</Directory>你只需要将上面红色代码中的 Indexes 去掉,就可以禁止 Apache 显示该目录结构。用户就不会看到该目录下的文件和子目录列表了。Indexes 的作 阅读全文
posted @ 2012-07-16 14:56 kristain 阅读(472) 评论(0) 推荐(0) 编辑

2012年7月13日 #

摘要: 在这个系统上默认只安装了telnet(也就是client) 1.root@kristain-desktop:~# dpkg -s telnet 2.Package: telnet 3.Status: install ok installed 4.Priority: standard 5.Section: net 6.Installed-Size: 188 7.Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> 8.Architecture: i386 9.Source: netkit-te... 阅读全文
posted @ 2012-07-13 14:53 kristain 阅读(1842) 评论(0) 推荐(0) 编辑

摘要: 说明:由于图形化界面方法(如Add/Remove... 和Synaptic Package Manageer)比较简单,所以这里主要总结在终端通过命令行方式进行的软件包安装、卸载和删除的方法。一、Ubuntu中软件安装方法1、APT方式(1)普通安装:apt-get install softname1 softname2 …;(2)修复安装:apt-get -f install softname1 softname2... ;(-f Atemp to correct broken dependencies)(3)重新安装:apt-get --reinstall install softname 阅读全文
posted @ 2012-07-13 14:32 kristain 阅读(141) 评论(0) 推荐(0) 编辑

摘要: 设定IPgedit /etc/network/interfaces文件内容修改为:auto loiface lo inet loopbackauto eth0iface eth0 inet staticaddress 192.168.5.195gateway 192.168.5.1netmask 255.255.255.0network 192.168.5.1broadcast 192.168.5.255 设置DNS编辑 /etc/resolv.conf,设置dnsnameserver 192.168.0.8然后重启networking/etc/init.d/networking restar 阅读全文
posted @ 2012-07-13 13:34 kristain 阅读(147) 评论(0) 推荐(0) 编辑

2012年7月12日 #

摘要: 说明:Ubuntu在安装过程中没有提示设置root密码,而且必须创建一个普通账号安装才能继续。下面教大家在Ubuntu中启用root账号并设置密码以普通账号登录系统sudo passwd root #启用root账号并设置密码,根据提示输入2次密码su root #从普通用户切换到root用户,根据提示输入root密码sudo passwd -l root #禁用root账号,如果要启用,输入sudo passwd root再次设置root密码 阅读全文
posted @ 2012-07-12 18:04 kristain 阅读(202) 评论(0) 推荐(0) 编辑

摘要: 一、说明:CentOS 6.2的安装镜像文件有两个DVD,安装系统只用到第一个镜像文件,即DVD1,另外一个镜像文件是附带的软件包。附CentOS 6.2系统镜像下载地址:32为:http://centos.ustc.edu.cn/centos/6.2/isos/i386/CentOS-6.2-i386-bin-DVD1to2.torrent64位:http://centos.ustc.edu.cn/centos/6.2/isos/x86_64/CentOS-6.2-x86_64-bin-DVD1to2.torrent友情提示:如果是虚拟机安装,建议在安装前先看下这篇文章解决VMware Wo 阅读全文
posted @ 2012-07-12 17:05 kristain 阅读(1428) 评论(0) 推荐(0) 编辑

摘要: 转自:http://www.osyunwei.com/archives/2474.html一、说明:Ubuntu分为桌面版(desktop)和服务器版(Server),下面为大家介绍服务器版本Ubuntu Server 11.10的详细安装过程。附Ubuntu Server 11.10系统镜像下载地址:32为:http://mirrors.163.com/ubuntu-releases/11.10/ubuntu-11.10-server-i386.iso64位:http://mirrors.163.com/ubuntu-releases/11.10/ubuntu-11.10-server-am 阅读全文
posted @ 2012-07-12 16:29 kristain 阅读(332) 评论(0) 推荐(0) 编辑

2012年7月10日 #

摘要: 转自:http://www.laokboke.net/2011/05/01/how-to-install-phpeclipse/eclipse可以说是最著名、最流行的跨平台集成开发环境(IDE),最初主要用于Java语言开发,后来慢慢有人通过开发相应的插件使其作为C++、Python、PHP、Groovy、Ruby、Flex等其他主流开发语言的开发工具,这也毫无疑问是得益于Eclipse本身的插件机制,Eclipse的设计思想就是:一切皆插件。本文为你介绍一款支持php开发的eclipse插件:phpeclipse。phpeclipse跨平台、支持所有主流的操作系统,具有如下特点:语法高亮显示 阅读全文
posted @ 2012-07-10 15:34 kristain 阅读(201) 评论(0) 推荐(0) 编辑

2012年7月7日 #

摘要: 一、获取安装软件,存放到/usr/src/目录下 软件名称下载地址httpd-2.2.9.tar.gzhttp://www.apache.org/mysql-5.0.41.tar.gzhttp://dev.mysql.com/downloads/php-5.2.6.tar.gzhttp://www.php.net/downloads.phpphpMyAdmin-3.0.0-rc1-all-languages.tar.gzhttp://www.phpmyadmin.com/libxml2-2.6.30.tar.gzftp://ftp.gnome.org/pub/GNOME/sources/li. 阅读全文
posted @ 2012-07-07 01:04 kristain 阅读(273) 评论(0) 推荐(0) 编辑

2012年7月6日 #

摘要: centOS下开机自启动apache、mysql、samba、svn等服务的最简单方法1、编辑rc.local文件#vi /etc/rc.d/rc.local2、加入如下启动命令/usr/sbin/apachectl start/etc/rc.d/init.d/mysqld start/etc/rc.d/init.d/smb start/usr/local/subversion/bin/svnserve -d3、注意:我的这个路径是yum安装这些服务得到的路径,填写时要根据自己的安装路径,找不到可以借助find命令,主要是找到apachectl 、mysqld 、smb 这三个启动文件。4、注 阅读全文
posted @ 2012-07-06 22:39 kristain 阅读(166) 评论(0) 推荐(0) 编辑

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页