11월 25, 2007의 게시물 표시

MySQL root 패스워드 분실했을 경우

1>암호 초기화 # killall mysqld (데몬을 죽입니다) # cd /usr/local/mysql (mysql이 깔린 곳으로 갑니다) # ./bin/safe_mysqld --skip-grant & 여기까지가 초기화 2>새 암호 넣기 # ./bin/mysql (sql 실행) mysql>use mysql mysql>update user set password=password('새암호') where user='root'; (root 암호 변경합니다. '새암호' 자리에 새암호를 넣으세요 예>update user set password=password('1234') where user='root'; mysql> FLUSH PRIVILEGES mysql> exit # ./bin/mysql -uroot -p1234 으로 들어와지면 성공입니다. Blogged with Flock

Ubuntu Apache2 Virtual Server

I needed to set up another drupal site on my ubuntu linode . I had a domain name, I wanted to make it an independent site. I decided to keep it seperate from my existing site by putting in a fresh Drupal 4.6.1 installation and not to use Drupals virtual server facility. I knew Apache2 supported virtual hosting and I decided to use that. I tried creating a new virtual host by creating a file in /etc/apache2/sites-available as follows: <VirtualHost *> ServerName www.site2.com ServerAlias site2.com ServerAdmin webmaster@localhost DocumentRoot /var/www/site2 <Directory /var/www/site2/> Options Indexes FollowSymLinks MultiViews # pcw AllowOverride None AllowOverride All Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right...

Ubuntu Feisty and Tomcat 6.x

Setting up Tomcat on Ubuntu Feisty is a real breeze because it’s already contained in the universe repository. The only drawback is that it is version 5.5 and not the current 6.x release. Being the version number whore i am i installed version 6.x: Download Tomcat 6.x from tomcat.apache.org/ . The most recent version at the time of writing was 6.0.14. Unpack it to a place you like. I choose /usr/local/ You can now run the standalone Tomcat: frank@dexter:~$ /usr/local/tomcat/bin/startup.sh Using CATALINA_BASE:   /usr/local/tomcat Using CATALINA_HOME:   /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp Using JRE_HOME:       /usr/lib/jvm/java-6-sun/ If you get this instead: frank@dexter:~$ /usr/local/tomcat/bin/startup.sh Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program you have to setup your JAVA_H...

Tomcat 6 installation on Ubuntu Feisty

Apache Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed by Sun under the Java Community Process. Apache Tomcat is developed in an open and participatory environment and released under the Apache Software License. Apache Tomcat is intended to be a collaboration of the best-of-breed developers from around the world. We invite you to participate in this open development project. To learn more about getting involved, click here. Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations. Download the latest Tomcat to your desktop: http://tomcat.apache.org/, then run sudo tar zxvf apache-tomcat-6.0.10.tar.gz sudo cp -R apache-tomcat-6.0.10 /usr/share/tomcat6 Setting JAVA environment Download the latest J2SE SDK, and run sudo chmod +x *.bin sudo sh ./jdk...

HTTPD - Apache2 Web Server

이미지
Apache is the most commonly used Web Server on GNU/Linux systems. Web Servers are used to serve Web Pages requested by client computers. Clients typically request and view Web Pages using Web Browser applications such as Firefox , Opera , or Mozilla . Users enter a Uniform Resource Locator (URL) to point to a Web server by means of its Fully Qualified Domain Name (FQDN) and a path to the required resource. For example, to view the home page of the Ubuntu Web site a user will enter only the FQDN. To request specific information about paid support , a user will enter the FQDN followed by a path. The most common protocol used to transfer Web pages is the Hyper Text Transfer Protocol (HTTP). Protocols such as Hyper Text Transfer Protocol over Secure Sockets Layer (HTTPS), and File Transfer Protocol (FTP), a protocol for uploading and downloading files, are also supported. ...

How to use digital Signatures

1. Where to get a Certificate First of all you need a valid digital certificate. You can get one for free by various Security Providers, for Germany especially for people from Hamburg, you can get such a certificate from the Trustcenter ( [1] ), other people may have a look at Thawte ( [2] ). These companies offer such a certificate for free with an expiration time of one year. After that you have to renew it if you like. If not you will not be able to sign documents any longer. If you do not trust these companies or want a higher Class Certificate you need to pay some money and the company will validate your personal data to make sure that you are the one you say you are. Such companies are Globalsign ( [3] ), Verisign ( [4] ) and also Trustcenter and Thawte. In combination with a Freemail Account you can get a digital certificate for Germany at Web.de ( [5] ). 1.1 How to make a certificate useable for StarOffice If you follow the process to get a certificate this will be installed ...

마케팅 실책을 피하는 법

좋은 마케팅 전략은 바른 분석에서 시작합니다 . 그리고 이 전략은 바른 분석에서 비롯된 신중한 전술로 실행됩니다 . 광고에서 , 판매 촉진책에서 , 대면 판매에서 그리고 마케팅 의사 소통의 다른 영역에서 , 말은 종종 그 전술의 기초를 형성합니다 . 어이없게도 관리자들은 메시지를 전달하기 위해 선택한 단어가 가진 영향력에는 그다지 주의를 기울이지 않습니다 . 그리고 결과적으로는 큰 대가를 치르곤 합니다 .   말의 힘 예를 들어 맥도날드사는 최근 종업원들에게 “ 우리가 당신을 위해 무엇을 만들 수 있을까요 ?” 라는 질문으로 고객에게 인사를 하도록 지시하기 시작했습니다 . 경쟁사인 Carl's Junior 사는 이것을 본 따 고객에게 “ 우리가 여러분을 위해 무엇을 할 수 있을까요 ?” 라고 인사하도록 지시했습니다 . " 만들다 “ 와 ” 하다 “ - 여기에는 큰 차이점이 있습니다 . “ 만들다 ” 는 개인 주문제 , 가정식 요리 그리고 세세한 관심을 표방합니다 . " 하다 " 는 요리와 보살핌의 의미를 내포하지 않으며 사실상 모방으로 받아들여 질 수 있습니다 . Carl's Junior 사가 원했던 고객의 생각은 이런 것이 아니었을 것입니다 . 자동차 회사 역시 단어 오용의 죄에서 자유로울 수 없습니다 . 대규모 자동차 제조사 BMW 는 이제 자사의 차가 두부 손상을 보호하는 면에서는 최고라고 주장합니다 . 포괄적인 “ 전천후 안전장치 ” 를 고수하기보다는 자사의 차가 방지하는 특정 부위의 손상을 강조함으로써 BMW 는 확실하게 자신들의 차와 두부손상을 연관 지었습니다 . - 그러나 그들이 의도했던 바는 정확히 ...