在Ubuntu下运行 apt-get update命令后出现错误: The package lists or status file could not be parsed or opened sudo rm /var/lib/apt/lists/* -vf 然后: sudo apt-get update #(更新软件源)执行安装操作 sudo apt-get upgrade#(继续更新软件源)执行安装操作,应该能成功
Ubuntu系统设置启动级别的问题,因自己以前遇到过,故做过笔记记录了下来:Ubuntu.Debian系列与RedHat.CentOS启动级别含义有所区别:Ubuntu系列运行级别定义如下:0 – Halt 关机模式1 –Single 单用户模式2 - Full multi-user with display manager (GUI) 3 - Full multi-user with display manager (GUI) 4 - Full multi-user with display
Change the apache2 default website directory As we know, The apache2 default directory at /var/www/,If you want to modify it or you have some virtual hosts,You need to find the file which in "/etc/apache2/sites-enabled/000-default",Use vi editor
继上一篇文章http://www.cnblogs.com/EasonJim/p/7163069.html深入研究了Linux的运行级别之后,发现网上大部分都说Ubuntu的运行级别默认为2,那么下面就深入分析以下为什么是2而不是其它. 分析过程: 首先从http://forum.ubuntu.org.cn/viewtopic.php?f=97&t=221304这篇文章了解到Debian系的运行级别2~5都是一样的.并通过 cd /etc/init less rc-sysinit.conf 发现里
1: 安装mysql apt-get install mysql-server mysql-client 安装过程中会被问到设置mysql root的密码 New password for the MySQL "root" user: <-- yourrootsqlpassword Repeat password for the MySQL "root" user: <-- yourrootsqlpassword 2: 安装apache2