Posts Tagged ‘administration’

Dreamhost + SVN

June 30th, 2010

Working on one of my projects I found that you may got an error when you try to check out your Dreeamhost hosted SVN repository. The root cause is that you surprisingly are not allowed to create repository for subdomain that name is different from “svn”. So the repository http://svn.mydomain.com/p1 will work, http://code.mydomain.com/p1 probably not.

Hope it will be helpful for somebody.

The doorbell

August 2nd, 2009


Hey everybody! I’d read the similar story on a Russian programmers web-forum before, but only today I’ve found a good illustration for it. So enjoy!

tags: , | categories: Uncategorized | no comments »

Study Shows "Secret Questions" Are Too Easily Guessed

May 21st, 2009

Several high-profile break-ins have resulted from hackers guessing the answers to secret questions (the hijacking of Sarah Palin’s Yahoo account was one). This week, research from Microsoft and Carnegie Mellon University, presented at the IEEE Symposium on Security and Privacy, will show how woefully insecure secret questions actually are. As reported in Technology Review: ‘In a study involving 130 people, the researchers found that 28 percent of the people who knew and were trusted by the study’s participants could guess the correct answers to the participant’s secret questions. Even people not trusted by the participant still had a 17 percent chance of guessing the correct answer to a secret question.
Schneier pointed out years ago how weird it is to have a password-recovery mechanism that is less secure than the password.

via Slashdot

tags: | categories: Uncategorized | no comments »

Fighting with Sony Corp.

May 18th, 2009

Yesterday I had a chance to meet with a Sony VAIO vgn-cs110e laptop. OS on this laptop was killed either by a virus or poor windows update, however the solution was to do a fresh install of Vista Home Premium. But after installation the other problem appears: after downloading all the drivers, I installed the Sony Notebook Utilities. Then ever since that, this pop up would keep showing up and force me to hibernate.

No matter if it’s a kind of collusion between Sony and Microsoft to prevent installation of any non-OEM copies of Windows or just a bug, but the only way to fix this problem was to uninstall Sony Notebook Utilities. This is a really bad idea as it disable laptop’s web-camera…
So, after the long googling and exploring system processes I found out that you need to disable “ISB Utility” service (using Starter software or msconfig) to prevent that noisy popup to appear.

tags: | categories: Uncategorized | no comments »

Passwordzzzzzzzzz

March 6th, 2009

tags: , | categories: Uncategorized | no comments »

About yesterday’s Gmail crash

February 25th, 2009

Copy-paste from Google’s blog:

Update (3:49 pm): Lots of folks are asking what happened, so we thought you’d like an explanation. This morning, there was a routine maintenance event in one of our European data centers. This typically causes no disruption because accounts are simply served out of another data center.

Unexpected side effects of some new code that tries to keep data geographically close to its owner caused another data center in Europe to become overloaded, and that caused cascading problems from one data center to another. It took us about an hour to get it all back under control.

The bugs have been found and fixed, and we’re in the process of pushing out changes. We know how painful an outage like this is — we run Google on Gmail, so outages like this affect us the same way they affect you. We always investigate the root causes of rare outages like this one, so we can prevent similar problems in the future.

tags: | categories: Uncategorized | no comments »

LAMP сервер на базе Ubuntu 8.04 LTS

September 3rd, 2008

Наконец то появилось время настроить LAMP на ноуте, вот что получилось:

sudo su

apt-get install mysql-server mysql-client libmysqlclient15-dev

/etc/init.d/mysql restart

apt-get install apache2 apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert apt-get install libapache2-mod-php5 libapache2-mod-ruby php5 php5-common php5-curl php5-devphp5-gd php5-idn php-pear php5-imagick php5-imap php5-json php5-mcrypt php5-memcachephp5-mhash php5-ming php5-mysql php5-pspell php5-recode php5-snmp php5-sqlite php5-tidyphp5-xmlrpc php5-xsl


Добавляем дополнительные типы файлов php-файлов:


nano -w /etc/apache2/mods-available/dir.conf


Запускаем модули:


a2enmod ssla2enmod rewritea2enmod suexeca2enmod include


Перезанружаем apache:


/etc/init.d/apache2 force-reload
PHPMyAdmin:
apt-get install phpmyadmin
теперь создаем ссылку для него:



sudo ln -sf /usr/share/phpmyadmin /var/www/phpmyadmin

Позже напишу как я подружил все это с NetBeans

tags: , | categories: Uncategorized | no comments »

Резервное копирование базы Oracle 10g без лишних трудностей

June 27th, 2008

Итак, есть задача организовать резервное копирование схемы и данных из Oracle 10g.

БД крутится на сервере под управлением Windows Server 2003 (он же PDC, AD, DNS/DHCP-сервер, файловый сервер),

Резервирование всех данных с сервера производится раз в 2 недели посредством Acronis True Image, а вот

резервирование базы нужно сделать ежедневное. Для этого пишем батник:

set CURDATE=%DATE%

set nls_lang=russian_cis.ru8pc866

md F:\INSP\ORABASE\%CURDATE:~0,2%%CURDATE:~3,2%%CURDATE:~8,2%

exp.EXE USERID=system(EXP_FULL_DATABASE GRANTS=Y)/*****@orabase FULL=Y FEEDBACK=1000

FILE=F:\INSP\ORABASE\%CURDATE:~0,2%%CURDATE:~3,2%%CURDATE:~8,2%

\full%CURDATE:~8,2%%CURDATE:~3,2%%CURDATE:~0,2%.dat

LOG=F:\INSP\ORABASE\%CURDATE:~0,2%%CURDATE:~3,2%%CURDATE:~8,2%

\full%CURDATE:~8,2%%CURDATE:~3,2%%CURDATE:~0,2%.log

copy F:\INSP\ORABASE\%CURDATE:~0,2%%CURDATE:~3,2%%CURDATE:~8,2%\ \\buhserver\backup_copy\

Как видно из текса, скрипт узнает дату, создает папку с именем, отображающим эту дату, производит экспорт в нее дампа базы, лога.

И на последнем этапе, копирует ее на другой компьютер.

При помощи планировщика windows этот скрипт запускается у меня каждый день в 9 вечера.

tags: , | categories: Uncategorized | no comments »