Posts Tagged ‘Add new tag’

May
02
2009

Repository: How to configure yum repos?

To make automatic download and installation by using “yum” you can create/add the repo to /etc/yum.repos.d/.

Then create file with .repo extension to do an automatic yum update at later stage
vi /etc/yum.repos.d/reponame.repo

Below is the content to RubyForge yum repo. Save the content as “rubyforge.repos” under “/etc/yum.repos.d”

[rubyforge]
name=RubyForge
baseurl=http://rubyworks.rubyforge.org/redhat/$releasever/RPMS/$basearch
enabled=1
gpgcheck=1
gpgkey=http://rubyworks.rubyforge.org/RubyWorks.GPG.key
priority=1

  • Share/Save/Bookmark
Jan
12
2009

What is the difference between a Cookie and a Session?

cookie is a text file that is stored on the client in name => value pairs to identify subsequent requests from the client by the server. Max. size of cookie file is 4k and it is stored on the client’s hard disk. Cookies are used as a mechanism to establish state and to track user behavior. (more…)

  • Share/Save/Bookmark