47
|
Linux секция за начинаещи / Настройка на програми / Инсталиране на Линукс до WinXP
|
-: Aug 03, 2005, 13:08
|
Мен ако питаш - инсталираш си Линукса на 15-ката. На буут менажера казваш да се инсталира на MBR на 15-ката. Няма нужда да добавяш entry за Windows-a. После от BIOS-а можеш да казваш от кой HDD да се буутва. При някои BIOS-и дори можеш още при начално зареждане с някой клавиш (F11 при мен) да извикаш boot menu с устройствата от които можеш да буутнеш. Успех!
|
|
|
51
|
Linux секция за начинаещи / Настройка на програми / Cygwin + Apache + PHP + MySQL
|
-: Jun 22, 2005, 17:53
|
От два дена се мъча да си подкарам Apache с PHP поддръжка под Cygwin. Официално няма PHP пакет за Cygwin. След проверка "google: cygwin php" още на първия резултат има примерно решение, но за жалост е на някакъв азиатски език '> По командите се ориентирах някак си, но при "make install" PHP-то се чупи: Примерен код | apxs:Error: file libs/libphp4.so is not a DSO | Проверих в google. Имаше подобни проблеми, но никъде нямаше решение. Пробвах с PHP 4.3.5RC1, 4.3.11 и 5.0.4. Ефекта е един и същ.
Ако някой случайно знае решение горещо го моля да го сподели. Знам, че има готово решение - CAMP (Cygwin Apache MySQL PHP framework), но там версиите са отчайващо стари.
|
|
|
52
|
Linux секция за начинаещи / Настройка на програми / Как да си увелича дефолт фонта на xterm?
|
-: May 21, 2005, 11:46
|
На моето дистро няма ~/.Xresources, a /etc/X11/app-defaults/XTerm вече опитвах да го променям, но без резултат. Променях всичко, което ми изглеждаше, че има връзка с размера на шрифта. Ето го моят /etc/X11/app-defaults/XTerm: Примерен код | *saveLines: 1024
*SimpleMenu*BackingStore: NotUseful *SimpleMenu*menuLabel.font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-* *SimpleMenu*menuLabel.vertSpace: 100 *SimpleMenu*HorizontalMargins: 16 *SimpleMenu*Sme.height: 16
*SimpleMenu*Cursor: left_ptr
*mainMenu.Label: Main Options *mainMenu*toolbar*Label: Toolbar *mainMenu*securekbd*Label: Secure Keyboard *mainMenu*allowsends*Label: Allow SendEvents *mainMenu*redraw*Label: Redraw Window *mainMenu*logging*Label: Log to File *mainMenu*print*Label: Print Window *mainMenu*print-redir*Label: Redirect to Printer *mainMenu*8-bit control*Label: 8-Bit Controls *mainMenu*backarrow key*Label: Backarrow Key (BS/DEL) *mainMenu*num-lock*Label: Alt/NumLock Modifiers *mainMenu*meta-esc*Label: Meta Sends Escape *mainMenu*delete-is-del*Label: Delete is DEL *mainMenu*oldFunctionKeys*Label: Old Function-Keys *mainMenu*sunFunctionKeys*Label: Sun Function-Keys *mainMenu*sunKeyboard*Label: VT220 Keyboard *mainMenu*hpFunctionKeys*Label: HP Function-Keys *mainMenu*scoFunctionKeys*Label: SCO Function-Keys *mainMenu*suspend*Label: Send STOP Signal *mainMenu*continue*Label: Send CONT Signal *mainMenu*interrupt*Label: Send INT Signal *mainMenu*hangup*Label: Send HUP Signal *mainMenu*terminate*Label: Send TERM Signal *mainMenu*kill*Label: Send KILL Signal *mainMenu*quit*Label: Quit
*vtMenu.Label: VT Options *vtMenu*scrollbar*Label: Enable Scrollbar *vtMenu*jumpscroll*Label: Enable Jump Scroll *vtMenu*reversevideo*Label: Enable Reverse Video *vtMenu*autowrap*Label: Enable Auto Wraparound *vtMenu*reversewrap*Label: Enable Reverse Wraparound *vtMenu*autolinefeed*Label: Enable Auto Linefeed *vtMenu*appcursor*Label: Enable Application Cursor Keys *vtMenu*appkeypad*Label: Enable Application Keypad *vtMenu*scrollkey*Label: Scroll to Bottom on Key Press *vtMenu*scrollttyoutput*Label: Scroll to Bottom on Tty Output *vtMenu*allow132*Label: Allow 80/132 Column Switching *vtMenu*cursesemul*Label: Enable Curses Emulation *vtMenu*visualbell*Label: Enable Visual Bell *vtMenu*poponbell*Label: Enable Pop on Bell *vtMenu*marginbell*Label: Enable Margin Bell *vtMenu*cursorblink*Label: Enable Blinking Cursor *vtMenu*titeInhibit*Label: Enable Alternate Screen Switching *vtMenu*activeicon*Label: Enable Active Icon *vtMenu*softreset*Label: Do Soft Reset *vtMenu*hardreset*Label: Do Full Reset *vtMenu*clearsavedlines*Label: Reset and Clear Saved Lines *vtMenu*tekshow*Label: Show Tek Window *vtMenu*tekmode*Label: Switch to Tek Mode *vtMenu*vthide*Label: Hide VT Window *vtMenu*altscreen*Label: Show Alternate Screen
*fontMenu.Label: VT Fonts *fontMenu*fontdefault*Label: Default *fontMenu*font1*Label: Unreadable *VT100*font1: nil2 *IconFont: nil2 *fontMenu*font2*Label: Tiny *VT100*font2: 5x7 *fontMenu*font3*Label: Small *VT100*font3: 6x10 *fontMenu*font4*Label: Medium *VT100*font4: 7x13 *fontMenu*font5*Label: Large *VT100*font5: 9x15 *fontMenu*font6*Label: Huge *VT100*font6: 10x20 *fontMenu*fontescape*Label: Escape Sequence *fontMenu*fontsel*Label: Selection !fontescape and fontsel overridden by application *fontMenu*font-linedrawing*Label: Line-Drawing Characters *fontMenu*font-doublesize*Label: Doublesized Characters *fontMenu*font-loadable*Label: VT220 Soft Fonts *fontMenu*render-font*Label: TrueType Fonts *fontMenu*utf8-mode*Label: UTF-8
*VT100.utf8Fonts.font2: -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1 *VT100.utf8Fonts.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 *VT100.utf8Fonts.font3: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 *VT100.utf8Fonts.font4: -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1 *VT100.utf8Fonts.font5: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 *VT100.utf8Fonts.font6: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
*tekMenu.Label: Tek Options *tekMenu*tektextlarge*Label: Large Characters *tekMenu*tektext2*Label: #2 Size Characters *tekMenu*tektext3*Label: #3 Size Characters *tekMenu*tektextsmall*Label: Small Characters *tekMenu*tekpage*Label: PAGE *tekMenu*tekreset*Label: RESET *tekMenu*tekcopy*Label: COPY *tekMenu*vtshow*Label: Show VT Window *tekMenu*vtmode*Label: Switch to VT Mode *tekMenu*tekhide*Label: Hide Tek Window
*tek4014*fontLarge: 9x15 *tek4014*font2: 8x13 *tek4014*font3: 6x13 *tek4014*fontSmall: 6x10
*VT100*foreground: gray90 *VT100*background: black |
Моля, кажете ми къде и какво точно трябва да променя в този файл
|
|
|
57
|
Linux секция за начинаещи / Настройка на програми / Странности
|
-: May 06, 2005, 20:03
|
От известно време забелязах, че /var/log/cron ми се пълни с еднакви съобщения: Примерен код | Oct 19 11:29:36 rastix crond[974]: unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null Nov 18 16:35:26 rastix crond[18174]: unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null Nov 18 16:35:26 rastix crond[18176]: unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null Nov 18 16:35:26 rastix crond[18175]: unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null Dec 1 04:49:16 rastix crond[29011]: unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null Dec 2 15:17:16 rastix crond[30291]: unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null Dec 2 18:04:36 rastix crond[29344]: unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null Dec 6 23:36:16 rastix crond[27930]: unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null Dec 12 02:05:36 rastix crond[12867]: unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null Dec 12 02:05:36 rastix crond[12868]: unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null Mar 5 23:47:56 rastix crond[9279]: unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null Mar 6 13:09:26 rastix crond[30728]: unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null Mar 7 20:09:46 rastix crond[20703]: unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null
| Чудя се на какво се дължи това. Нямам инсталиран sendmail. Cron таблицата си е наред - няма "entry" за sendmail. Интересното, гледайки времената на съобщенията е че съобщенията не са на равни интервали.
|
|
|
59
|
Linux секция за начинаещи / Настройка на програми / restricted IP authentication
|
-: Apr 30, 2005, 20:19
|
Значи пробвах с arp -f и стана. Единственото, което трябва да се направи предварително е /etc/ethers. Там редовете са със формат: <IP> <MAC> После си смених IP-то на клиентската машина, но нямаше никаква връзка с останалите машини. Не знам колко секюр е това, но всеки с XP може да си смени MAC адреса, стига да знае как '> . Това с iptables не разбрах за кое се отнася "Синтаксиса". Но май нема смисъл да дълбая с iptables.
|
|
|
|