1 创建rhel-debuginfo.repo,如果有则先备份再删除 cd /etc/yum.repos.d
rm rhel-debuginfo.repo
vi rhel-debuginfo.repo 插入以下内容: [Server]
name=Red Hat Enterprise Linux Server
baseurl=file:///home/redhat-iso #本地i...
分类:
其他好文 时间:
2015-06-17 16:45:13
阅读次数:
120
当我觉得对Linux系统下修改hostname已经非常熟悉的时候,今天碰到了几个个问题,这几个问题给我好好上了一课,很多知识点,当你觉得你已经掌握的时候,其实你了解的还只是皮毛。技术活,切勿浅尝则止!实验环境:Red Hat Enterprise Linux Server release 5.7 (...
分类:
系统相关 时间:
2015-06-17 13:17:49
阅读次数:
261
CentOS(Community Enterprise Operating System,中文意思是:社区企业操作系统)是Linux发行版之一,它是来自于Red Hat Enterprise Linux依照开放源代码规定释出的源代码所编译而成。由于出自同样的源代码,因此有些要求高度稳定性的服务器以C...
分类:
其他好文 时间:
2015-06-17 00:31:01
阅读次数:
129
原文:Sorting, Filtering, and Paging with the Entity Framework in an ASP.NET MVC Application1.添加排序:1.1.修改Controllers\StudentController.cs的Index:public Ac...
分类:
编程语言 时间:
2015-06-16 16:29:57
阅读次数:
238
一,首先是服务安装#vim /etc/yum.repos.d/Centos-Base.repo在最新新增[atrpms]name=Red Hat Enterprise Linux $releasever - $basearch - ATrpmsbaseurl=http://dl.atrpms.net...
分类:
其他好文 时间:
2015-06-16 10:47:57
阅读次数:
210
1、在系统文件下找到vnc的rpm包(检测是否安装vnc) 系统文件寻找方法 进入到根目录(可通过pwd确认当前目录,/则表示根目录) 根目录下有个一个media,进入此目录 media目录下有个一个RHEL_6.2 这样的目录,进入后此目录下有个Packages,此目录下保存着安装文件2、安装vn...
分类:
系统相关 时间:
2015-06-16 01:09:02
阅读次数:
215
首先去mySQL官网下载页面:
http://dev.mysql.com/downloads/mysql/#downloads
Select Platform 选择 Oracle & Red Hat Linux 4 & 5
分别下载以下三个文件(由于我的机器是32位,下面是32位版本的包,如果你的机器是64位的请下载64位版本):
1. Red Hat & Oracle Linu...
分类:
数据库 时间:
2015-06-15 22:11:17
阅读次数:
107
1.解决Red Hat因为没有注册而无法使用yum:(1)cd /etc/yum.repos.d/(2)wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo(3)mv rhel-debuginfo.repo rhel-debuginfo....
分类:
系统相关 时间:
2015-06-14 16:38:09
阅读次数:
453
简单的题目,如题:找出字符串中的反转次数。按反转次数从小到大输出。
反转次数,就是字符串中的每一个跟它后面的每一个字符比较,比后面的大的,次数+1.
下面的是AC的代码:
#include
#include
#include
#include
using namespace std;
class data
{
public:
char str[55];
int count;
}...
分类:
其他好文 时间:
2015-06-14 12:35:48
阅读次数:
174
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1250Hat's FibonacciDescriptionA Fibonacci sequence is calculated by adding the previous two members the ...
分类:
其他好文 时间:
2015-06-14 12:09:01
阅读次数:
102