8월 19, 2007의 게시물 표시

Irrational Exuberance: Dreamier Dream Server with Nginx

Dreamier Dream Server with Nginx July 17, 2007 In my previous setup there were some concerns with the way I was using mod_proxy. The issue is that a request comes in and is received by Apache, if it was a media file Apache would then pass the request to Lighttpd, which would pass the file to Apache, which would then pass the file to the requester. Obviously, this is batshit crazy. This is why I have reworked my instructions with fewer catastrophic mental lapses. The article has also been reworked for conciseness, and all sections on security have been removed, you can refer back to the original article, but should ideally look for a more specialized resource on securing your server. The bulk of the process is unchanged, but we will now be using Nginx as a frontend proxy and static media server, and Apache2 with mod_python as the backend server for handling Django. Lighttpd has been dropped in favor of Nginx mostly because Nginx is from Russia, and is thus exotic. Also relevant is the f...

AptGetHowto - Community Ubuntu Documentation

Package management with apt Contents 1. Package management with apt 1. Intro 2. Commands 1. Installation 2. Maintenance 3. Removal 4. Searching 3. Typical use case 4. Additional packages 5. Speeding up your work at the command line 6. Setting up apt-get to use a http-proxy 7. Links IconApt.png Package management via apt-get runs hand-in-hand with the sources.list file. For information on editing or updating that files entries, see SourcesList Intro "In the beginning there was the .tar.gz. Users had to compile each program that they wanted to use on their GNU/Linux systems. When Debian was created, it was deemed necessary that the system include a method of managing the packages installed on the machine. The name dpkg was given to this system. Thus the famous 'package' first came into being on GNU/Linux, a while before Red Hat decided to create their...

Repositories/CommandLine - Community Ubuntu Documentation

Repositories/CommandLine Contents 1. Background Information 2. Explanation of the Repository Format 3. Adding the Universe and Multiverse Repositories 4. Adding Commercial Repository 5. Adding Other Repositories 6. Enabling Repositories with a (non-interactive) Script 7. Suggestions & Recommendations 8. Further Reading terminal.png This page describes how to manage software repositories from the command line. This is useful if you prefer not to use (or are unable to access) a graphical user interface. Also, it may come in handy as it works uniformly across all versions of Ubuntu. eyes.png The instructions on this page assume that you are comfortable using a text editor like GEdit or nano. Using the graphical interface to manage software repositories is recommended, see Managing Repositories in Ubuntu or Kubuntu instead. Background Information Ubuntu uses [WWW] apt for package management. Apt stores a list of repositories or software channels in the file /etc...

All about Linux: Using netselect-apt - Tip to select the fastest Debian mirror

Using netselect-apt - Tip to select the fastest Debian mirror Each time I install Debian - and I have done it scores of times on multiple machines, I get frustrated in choosing the right Debian mirror for updating the package database on my machine using 'apt-get update', or installing a new package for that matter. Some of the questions that I had to find a solution for were ... Do I choose the Debian mirror in my country (India) or do I use one of the US servers ? Is there any way to find which of the two are the fastest for my geographic location ? It might sound ironical, but experience tells me that the truism of choosing a Debian apt mirror closest to ones location does not hold true for me. Because at all times, when I have used a mirror from India, it is dead slow. And believe it or not, the responsiveness of the mirror will do a great deal of difference to how fast you are able to update your Debian machine. Enter netselect-apt, a package which helps one to find and us...

Using Ruby On Rails With Apache2 On Debian Etch | HowtoForge - Linux Howtos and Tutorials

Using Ruby On Rails With Apache2 On Debian Etch Version 1.0 Author: Falko Timme Last edited 05/19/2007 This article shows how you can install Ruby on Rails (RoR) and integrate it in Apache2 on a Debian Etch system (including a short section at the end showing how to use RoR in a web site created with ISPConfig). Ruby on Rails is a web application framework which is rapidly gaining popularity among web programmers. It aims to increase the speed and ease with which database-driven web sites can be created and offers skeleton code frameworks (scaffolding) from the outset. Applications using the RoR framework are developed using the Model-View-Controller design pattern. Remove ads This document comes without warranty of any kind! I want to say that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you! 1 Preliminary Note I will use the hostname testapplication.ex...

Using Ruby On Rails With Apache2 On Debian Etch | HowtoForge - Linux Howtos and Tutorials

Using Ruby On Rails With Apache2 On Debian Etch Version 1.0 Author: Falko Timme Last edited 05/19/2007 This article shows how you can install Ruby on Rails (RoR) and integrate it in Apache2 on a Debian Etch system (including a short section at the end showing how to use RoR in a web site created with ISPConfig). Ruby on Rails is a web application framework which is rapidly gaining popularity among web programmers. It aims to increase the speed and ease with which database-driven web sites can be created and offers skeleton code frameworks (scaffolding) from the outset. Applications using the RoR framework are developed using the Model-View-Controller design pattern. Remove ads This document comes without warranty of any kind! I want to say that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you! 1 Preliminary Note I will use the hostname testapplication.ex...

Using Ruby On Rails With Apache2 On Debian Etch | HowtoForge - Linux Howtos and Tutorials

Using Ruby On Rails With Apache2 On Debian Etch Version 1.0 Author: Falko Timme Last edited 05/19/2007 This article shows how you can install Ruby on Rails (RoR) and integrate it in Apache2 on a Debian Etch system (including a short section at the end showing how to use RoR in a web site created with ISPConfig). Ruby on Rails is a web application framework which is rapidly gaining popularity among web programmers. It aims to increase the speed and ease with which database-driven web sites can be created and offers skeleton code frameworks (scaffolding) from the outset. Applications using the RoR framework are developed using the Model-View-Controller design pattern. Remove ads This document comes without warranty of any kind! I want to say that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you! 1 Preliminary Note I will use the hostname testapplication.ex...

Using Ruby On Rails With Apache2 On Debian Etch - Page 2 | HowtoForge - Linux Howtos and Tutorials

6 Modifying Our Application's .htaccess File The web folder of testapplication is /var/rails/testapplication/public. It contains an .htaccess file that we must modify so that Apache2 can run RoR applications using mod-fcgid. vi /var/rails/testapplication/public/.htaccess Comment out the AddHandler fastcgi-script .fcgi and AddHandler cgi-script .cgi lines and add the line AddHandler fcgid-script .fcgi. Also comment out the line RewriteRule ^(.*)$ dispatch.cgi [QSA,L] and add the line RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] (note that it's now dispatch.fcgi instead of dispatch.cgi). Afterwards, the file should look like this: Remove ads # General Apache options #AddHandler fastcgi-script .fcgi #AddHandler cgi-script .cgi AddHandler fcgid-script .fcgi Options +FollowSymLinks +ExecCGI # If you don't want Rails to look in certain directories, # use the following rewrite rules so that Apache won't rewrite certain requests # # Example: # RewriteCond %{REQUEST_URI} ^/notrail...

How To Set Up A Ubuntu/Debian LAMP Server | HowtoForge - Linux Howtos and Tutorials

How To Set Up A Ubuntu/Debian LAMP Server Remove ads Submitted by olddocks (Contact Author) (Forums) on Wed, 2007-01-03 14:13. :: Debian | Ubuntu | Apache | MySQL | PHP Build Your Own Debian/Ubuntu LAMP Server - Quick & Easy Do it Yourself Installation * Apache 2 - Linux Web server * MySQL 5 - MySQL Database Server * PHP4/5 - PHP Scripting Language * phpMyAdmin - Web-based database admin software. Note: Linux + Apache + MySQL + PHP/Perl together commonly known as LAMP Server. First, let us prepare a system that has a minimum requirement of Debian/Ubuntu version of linux with atleast 256MB of RAM available. Anything less than this minimum ram will cause lot of problems since we are running a server along especially mysql and webmin requires lot of RAM to run properly. Mysql will give you this nasty error "cannot connect to mysql.sock" if you dont have enough memory in your server. I love debian/ubuntu based linux because of my enormous affinity towards this...

MyDNS with MyDNSConfig Control Panel and DNSMasq on Ubuntu 6.10 | HowtoForge - Linux Howtos and Tutorials

Installing The Prerequisites MyDNSConfig is a web-based interface to MyDNS written in PHP. This requires a webserver with PHP enabled and the MySQL database server. If you have already Apache, PHP and MySQL installed, you may skip this step. Installing MySQL and Apache webserver: apt-get install libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl mysql-client mysql-client-5.0 mysql-server mysql-common apache2 phpmyadmin libapache2-mod-php5 Remove ads Set the MySQL root password: mysqladmin -u root password yourrootsqlpassword Replace yourrootsqlpassword with a password of your choice. Installing MyDNSConfig I will use the MyDNS package from the Ubuntu universe repository. Befor you go to the next steps, please make sure that the universe repository is enabled in /etc/apt/sources.list. Log in to MySQL and create the database: mysql -u root -p CREATE DATABASE mydns; GRANT SELECT, INSERT, UPDATE, DELETE ON mydns.* TO 'mydns'@'localhost' IDEN...

:: zxcasd's - putty 한글 안써질때, 깨질때

putty를 사용할 때 한글문제 해결방법이다. 사용자 삽입 이미지 먼저 글꼴의 스크립트를 한글로 바꿔야 한다. 1. Window - Appearance를 누르고, Change클릭. 2. 한글을 지원하는 글씨체를 선택한다. (바탕체, 굴림체, 돋움체 등) 3. 스크립트를 한글로 바꿔준다. (이 곳에 한글이 없다면, 선택한 글씨체가 한글을 지원하지 않는 것이다.) 4. 글꼴 스타일과 크기를 바꿔준다. (개인적으로는 굴림, 굵게, 크기12 정도가 적당해 보인다.) 이래도 해결되지 않는 경우는 케릭터셋(Character set) 문제다. 사용자 삽입 이미지 1. Window - Translation 를 누른다. 2. 서버에 맞게 케릭터셋을 변경해준다. (보통 utf8과 euc_kr 둘 중 하나면 될 것이다.) 이렇게 설정해준뒤, 설정을 저장해주는것이 좋다. 1. 설정창의 Session을 누른다. (켰을 때 처음 뜨는 곳) 2. 호스트네임(IP), 프로토콜, 포트 설정한다. 3. Saved Sessions에 호스트에 대한 간략한 설명을 적고 세이브를 누른다. 그러면 다음에 putty를 켰을 떄는 저장한 세션을 선택, 로드, 오픈 하면 된다. :: zxcasd's - putty 한글 안써질때, 깨질때 Blogged with Flock

Howto: Setup a DNS server with bind - Ubuntu Forums

After looking on Ubuntu forum for an easy step-by-step howto for instaling a DNS server, I decided the best idea would probably be to write this howto myself.... So, here it is! Step 1: Install Ubuntu dapper, or use your WORKING installation. Step2: Install bind 9: Code: sudo apt-get install bind9 Step 3: Configure the main Bind files. Usually, if you install Bind from the source code, you will have to edit the file named.conf. However, Ubuntu provides you with a pre-configured Bind, so we will edit another file: Code: sudo vi /etc/bind/named.conf.local This is where we will insert our zones. By the way, a zone is a domain name that is referenced in the DNS server Insert this in the named.conf.local file: Code: # This is the zone definition. replace example.com with your domain name zone "example.com" { type master; file "/etc/bind/zones/example.com.db"; }; # This is the zone definition for reverse DNS. replace 0.168.192 with your network add...

IT언론의 새로운 대안 *** 디지털데일리 ***

개인 인증 기반 서비스, USIM으로 통합된다 USIM만으로 인터넷 접속 가능…애플리케이션 스토리지 기능 구현 2007년 08월 22일 11:18:59 / 정경미 기자 belle@ddaily.co.kr “앞으로 개인의 인증을 필요로 하는 모든 서비스는 USIM(Universal Subscriber Identity Module)으로 통합될 것이다.” 22일 한국모바일솔루션협회 주최로 열린 차세대 모바일 기술 및 표준화 전략 국제컨퍼런스에서 최승진 SK텔레콤 금융사업개발팀장은 USIM의 미래에 대해 이같이 밝혔다. 최 팀장은 “차세대 USIM은 UI(User Interface)의 커스터마이징 기능을 제공하는 한편, HD-USIM의 구현을 통해 용량이 큰 멀티 콘텐츠도 이리저리 옮겨 사용이 가능 할 것”이라고 설명했다. 또, 다양한 애플리케이션의 스토리지 기능 뿐 아니라, 양방향 컨택이 가능한 M2M(Machine-to-machine) 기능을 구현할 수 있을 것으로 최팀장은 내다봤다. 특히, 최 팀장은 “USIM에 IP를 부여함으로써, 웹브라우징의 역할이 가능해져, 인터넷 액세스도 가능하게 될 것”이라고 설명했다. 최 팀장은 이어 “와이브로와 DMB 등 다양한 전송망의 출현에 따라 이에 상응하는 여러 단말기가 나온 상태인데, USIM을 기반으로 통합되면서 콘텐츠 플랫폼의 밸류체인 확대가 이뤄질 것”이라고 덧붙였다. 이에 따라, 위성DMB의 CAS와 가입자 식별, 인증을 기반으로 한 금융서비스, 의학정보, 자동차키, 도어락, 중요 보안데이터 스토리지 기능 등 여러 가지 기능이 USIM을 기반으로 통합될 예정이다. <정경미 기자>belle@ddaily.co.kr IT언론의 새로운 대안 *** 디지털데일리 *** Blogged with Flock