reklama

Zobrazit příspěvky

Tato sekce Vám umožňuje zobrazit všechny příspěvky tohoto uživatele. Prosím uvědomte si, že můžete vidět příspěvky pouze z oblastí Vám přístupných.


Příspěvky - eXtreeme

Stran: [1] 2
1
Server / Re: Jaký server pro webhosting?
« kdy: 10. 09. 2010, 10:36:29 »
Taky bych pridal svuj dotaz...
Predpokladejme nasledujici situaci:
  • ~100 webu - firemni weby + administrace (10-100 pristupu/den na web)
  • Stolni PC: C2D ~2.5GHz, 4GB RAM, 500GB mirror HDD

Je mozne provozovat server doma? Rekneme s nejakym lepsim pripojenim - treba 20-40Mbps? V cem bude problem? Tipoval bych pomerne caste vypadky netu - a kdyz vypadne, znovuzprovozneni bude trvat hodiny. Nejaky dalsi problem?

2
Software / Re: Tip na dobry ftpfs
« kdy: 01. 09. 2010, 18:28:59 »
Bezelo to sice v pasivu, ale po zmene se to nejak vyrazne nezlepsilo. Otevirani a ukladani souboru trva cca 5s, coz je dost, kdyz kazdou chvili aktualizujete obsah souboru.

Zrusil jsem docasne vsechny pravidla ve firewallu, vlozil modul do jadra pro podporu FTP prenosu a upravil firewall.
Kód: [Vybrat]
Gentoo ~ # lsmod | grep ftp
nf_conntrack_ftp        5972  0
nf_conntrack           54717  7 xt_helper,nf_conntrack_ftp,nf_conntrack_ipv4,xt_state,xt_conntrack,xt_connmark,xt_CONNMARK

Gentoo ~ # iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-A INPUT -m helper --helper "ftp" -j ACCEPT

Soubor zde nelze vlozit, tak sem vlozim cely vypis. Prijde mi, ze je v nem zbytecne moc transakci (323)... (vstoupil jsem do slozky, otevrel/ulozil soubor a ukoncil spojeni).
Kód: [Vybrat]
< 220 ProFTPD 1.3.0 Server (hosting.domena2.cz) [178.72.xxx.xxx]

> USER username@domena.cz

< 331 Password required for username@domena.cz.

> PASS password

< 230 User username@domena.cz logged in.

> PWD

< 257 "/" is current directory.

> PORT 93,94,245,125,168,60

< 200 PORT command successful

> TYPE A

< 200 Type set to A

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> PORT 93,94,245,125,199,131

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> CWD /

< 250 CWD command successful

> CWD htdocs

< 250 CWD command successful

> PORT 93,94,245,125,169,116

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> CWD /

< 250 CWD command successful

> CWD htdocs

< 250 CWD command successful

> CWD administration

< 250 CWD command successful

> PORT 93,94,245,125,197,201

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> PORT 93,94,245,125,200,158

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> CWD /

< 250 CWD command successful

> PORT 93,94,245,125,220,118

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> CWD /

< 250 CWD command successful

> CWD htdocs

< 250 CWD command successful

> PORT 93,94,245,125,205,64

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> CWD /

< 250 CWD command successful

> CWD htdocs

< 250 CWD command successful

> CWD administration

< 250 CWD command successful

> PORT 93,94,245,125,188,104

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

ftpfs: operation ftpfs_getattr failed because No such file or directory
> PORT 93,94,245,125,207,162

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

ftpfs: operation ftpfs_getattr failed because No such file or directory
> PORT 93,94,245,125,211,34

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

ftpfs: operation ftpfs_getattr failed because No such file or directory
< 220 ProFTPD 1.3.0 Server (hosting.domena2.cz) [178.72.xxx.xxx]

> USER username@domena.cz

< 331 Password required for username@domena.cz.

> PASS password

< 230 User username@domena.cz logged in.

> PWD

< 257 "/" is current directory.

> CWD htdocs

< 250 CWD command successful

> CWD administration

< 250 CWD command successful

> PORT 93,94,245,125,223,193

< 200 PORT command successful

> TYPE I

< 200 Type set to I

> SIZE NewPassword.php

< 213 4291

> RETR NewPassword.php

< 150 Opening BINARY mode data connection for NewPassword.php (4291 bytes)

< 220 ProFTPD 1.3.0 Server (hosting.domena2.cz) [178.72.xxx.xxx]

> USER username@domena.cz

< 331 Password required for username@domena.cz.

> PASS password

< 230 User username@domena.cz logged in.

> PWD

< 257 "/" is current directory.

> CWD htdocs

< 250 CWD command successful

> CWD administration

< 250 CWD command successful

> PORT 93,94,245,125,196,204

< 200 PORT command successful

> TYPE A

< 200 Type set to A

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

ftpfs: operation ftpfs_getattr failed because No such file or directory
ftpfs: operation ftpfs_open failed because Operation not supported
ftpfs: operation ftpfs_open failed because Operation not supported
< 220 ProFTPD 1.3.0 Server (hosting.domena2.cz) [178.72.xxx.xxx]

> USER username@domena.cz

< 331 Password required for username@domena.cz.

> PASS password

< 230 User username@domena.cz logged in.

> PWD

< 257 "/" is current directory.

> CWD htdocs

< 250 CWD command successful

> CWD administration

< 250 CWD command successful

> PORT 93,94,245,125,155,162

< 200 PORT command successful

> TYPE I

< 200 Type set to I

> SIZE NewPassword.php

< 213 4291

> RETR NewPassword.php

< 150 Opening BINARY mode data connection for NewPassword.php (4291 bytes)

< 226 Transfer complete.

< 220 ProFTPD 1.3.0 Server (hosting.domena2.cz) [178.72.xxx.xxx]

> USER username@domena.cz

< 331 Password required for username@domena.cz.

> PASS password

< 230 User username@domena.cz logged in.

> PWD

< 257 "/" is current directory.

> PORT 93,94,245,125,155,105

< 200 PORT command successful

> TYPE A

< 200 Type set to A

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> CWD /

< 250 CWD command successful

> CWD htdocs

< 250 CWD command successful

> PORT 93,94,245,125,181,29

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> CWD /

< 250 CWD command successful

> CWD htdocs

< 250 CWD command successful

> CWD administration

< 250 CWD command successful

> PORT 93,94,245,125,222,237

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> PORT 93,94,245,125,148,141

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

ftpfs: operation ftpfs_getattr failed because No such file or directory
> PORT 93,94,245,125,219,142

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

ftpfs: operation ftpfs_getattr failed because No such file or directory
< 220 ProFTPD 1.3.0 Server (hosting.domena2.cz) [178.72.xxx.xxx]

> USER username@domena.cz

< 331 Password required for username@domena.cz.

> PASS password

< 230 User username@domena.cz logged in.

> PWD

< 257 "/" is current directory.

> CWD htdocs

< 250 CWD command successful

> CWD administration

< 250 CWD command successful

> PORT 93,94,245,125,226,139

< 200 PORT command successful

> TYPE I

< 200 Type set to I

> STOR 4913

< 150 Opening BINARY mode data connection for 4913

> SITE CHMOD 644 4913

< 200 SITE CHMOD command successful

> PORT 93,94,245,125,210,151

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> SITE CHUID 0 4913

< 500 'SITE CHUID' not understood

ftpfs: operation ftpfs_chown failed because Operation not permitted
< 226 Transfer complete.

> QUIT

< 221 Goodbye.

> PORT 93,94,245,125,194,106

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> DELE 4913

< 250 DELE command successful

> PORT 93,94,245,125,180,141

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

ftpfs: operation ftpfs_getattr failed because No such file or directory
> CWD /

< 250 CWD command successful

> RNFR htdocs/administration/NewPassword.php

< 350 File or directory exists, ready for destination name.

> RNTO htdocs/administration/NewPassword.php~

< 250 Rename successful

> CWD /

< 250 CWD command successful

> CWD htdocs

< 250 CWD command successful

> CWD administration

< 250 CWD command successful

> PORT 93,94,245,125,142,251

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

ftpfs: operation ftpfs_getattr failed because No such file or directory
< 220 ProFTPD 1.3.0 Server (hosting.domena2.cz) [178.72.xxx.xxx]

> USER username@domena.cz

< 331 Password required for username@domena.cz.

> PASS password

< 230 User username@domena.cz logged in.

> PWD

< 257 "/" is current directory.

> CWD htdocs

< 250 CWD command successful

> CWD administration

< 250 CWD command successful

> PORT 93,94,245,125,130,187

< 200 PORT command successful

> TYPE I

< 200 Type set to I

> STOR NewPassword.php

< 150 Opening BINARY mode data connection for NewPassword.php

> SITE CHMOD 644 NewPassword.php

< 200 SITE CHMOD command successful

> PORT 93,94,245,125,183,85

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

< 226 Transfer complete.

> QUIT

< 221 Goodbye.

> PORT 93,94,245,125,152,73

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> SITE CHMOD 644 NewPassword.php

< 200 SITE CHMOD command successful

> PORT 93,94,245,125,149,212

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> CWD /

< 250 CWD command successful

> PORT 93,94,245,125,224,10

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> CWD /

< 250 CWD command successful

> CWD htdocs

< 250 CWD command successful

> PORT 93,94,245,125,180,107

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> CWD /

< 250 CWD command successful

> CWD htdocs

< 250 CWD command successful

> CWD administration

< 250 CWD command successful

> DELE NewPassword.php~

< 250 DELE command successful

> CWD /

< 250 CWD command successful

> PORT 93,94,245,125,235,35

< 200 PORT command successful

> LIST -a

< 150 Opening ASCII mode data connection for file list

< 226 Transfer complete.

> QUIT

< 221 Goodbye.

3
Software / Re: Tip na dobry ftpfs
« kdy: 31. 08. 2010, 17:59:57 »
Hmm, porad stejne na nic...

4
Software / Re: Tip na dobry ftpfs
« kdy: 31. 08. 2010, 16:42:16 »
Jdu jeste zkusit curlftpfs, zda se, lufis je starsi utilitka...

5
Software / Re: Tip na dobry ftpfs
« kdy: 31. 08. 2010, 16:34:32 »
Havis: Bylo, ale na server mam pristup pouze pres FTP.

6
Software / Tip na dobry ftpfs
« kdy: 31. 08. 2010, 15:48:23 »
Zdravim,

chtel bych nejakou utilitku, ktera umi pripojit FTP jako ftpfs. Zkousel jsem "lufis", ale po chvili se s tim neda ani pracovat - je to hrozne pomale. Mate nejaky tip na spolehlivou a dobre zpracovanou utilitku?

7
Hardware / Re: Vyšší spotřeba notebooku v Linuxu
« kdy: 14. 08. 2010, 22:53:56 »
K HDD...
Zkusil jsem wdidle3, bohuzel nepomohlo - kdyz jsem timer uplne vypnul, parkovaly hlavy snad jeste casteji. Nastavil jsem tedy max. hodnotu. Je to lepsi, ale stale to parkuje pomerne casto... Navic, kdyz povolim ACPI (128-253), stava se mi, ze mi tuhnou aplikace, ktere se zase obnovi za par sekund (zrejme v dobe, kdy jsou zaparkovane hlavy) - toto se mi drive nestavalo. Kdyz nastavim hdparm -B 254 ... tak mi zase obcas disk hreje, ackoli nic nedelam - kdyz jsem se dival na teplotu, mel 45°C, coz je dost a je to znat i na teplote krytu. Mam docela obavy, ze mi disk moc dlouho nevydrzi... (nedavno novy)

8
Distribuce / Puppy Linux pro bezneho uzivatele
« kdy: 14. 08. 2010, 10:15:50 »
Zdravim,

docela se mi libi Puppy Linux. Premyslel jsem, ze bych ho nainstaloval svemu otci, ktery sotva umi pracovat s Windows. Nicmene, Puppy ma veskere potrebne veci na plose a myslim si, ze by to nemel byt problem. Libi se mi, ze je cely v operacni pameti  proto beha ukrutne rychle, coz je jeho nejvetsi plus.

Jaky je vas nazor pro nasazeni Puppy Linuxu pro Windowsackeho uzivatele, ktery ma minimalni znalosti?


eXtreeme

9
Vývoj / Re: Sháníme vývojáře na úpravu driverů pro linux
« kdy: 07. 08. 2010, 09:25:14 »
Jakou nabizite odmenu? Staci jen orientacne :)...

10
Hardware / Re: Vyšší spotřeba notebooku v Linuxu
« kdy: 03. 08. 2010, 18:10:17 »
smartctl?
Kód: [Vybrat]
# smartctl --all /dev/sda | grep 'Load_Cycle_Count'
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       1598

Grafiku mam integrovanou od Intelu, takze nevim, jestli na to bude mit takovou spotrebu, ale zkusim zmenit ovladace grafiky.

11
Hardware / Re: Vyšší spotřeba notebooku v Linuxu
« kdy: 26. 07. 2010, 11:40:35 »
* HDD: Western Digital WD2500BEVS
* Hlavy parkuji casto. Odhadem, 1x za 5-10s (overeno pres smartctl)
* APM u HDD je nastaveno na hodnotu 128

12
Hardware / Re: Vyšší spotřeba notebooku v Linuxu
« kdy: 26. 07. 2010, 10:12:45 »
* Jedna se o Lenovo R400 NN932MC.
* Spotrebu zjistuji pres ACPI
* S powertop se mi podarilo snizit spotrebu az na 9W.

(Mereni probiha s minimalnim podsvicenim v klidovem stavu)

Kdyz povolim power management u HDD, objevi se znamy problem s parkovanim hlav, takze tento musim mit vypnuty a spotreba vzroste na tech cca 10-11W. Lze nejak resit tento problem s HDD jinak, nez uplnym vypnutim rizeni spotreby?

13
Hardware / Vyšší spotřeba notebooku v Linuxu
« kdy: 23. 07. 2010, 09:09:51 »
Kdyz vypnu Bluetooth, snizim jas na minimum... tak ma muj notebook spotrebu ve Windows7 jen 6W. V Linuxu Ubuntu 10.04 se mi nedari dostat pod 12W se stejnou konfiguraci, coz je pochopitelne velky rozdil.

Nevite nekdo jak se dostat na stejnou spotrebu jako ma Windows? Konfigurace ve Windowsu i Ubuntu je standardni...

14
Desktop / Win klávesa otevírá automaticky terminál
« kdy: 14. 06. 2010, 14:59:45 »
Kdyz zmacknu tlacitko "win" tak se zobrazi systemova konzole (stejne jako bych zmackl ctrl+alt+F1)... Chci ho pouzivat jako kombinaci klavesovych zkratek...

Kde je chyba? Tento problem me stve uz dlouho...

(Pouzivam HAL)

15
Desktop / Re: Start systému bez přihlášení
« kdy: 14. 06. 2010, 14:50:48 »
Zkousel jsem "nodm", ale z nejakeho duvodu mi to nenastartovalo - jako bych mel spatne nastaveny xorg, ale ten je ok - pres startx to nabehlo vporadku...

Verzi s mingetty jsem nezkousel. Sice to problem startx resi, ale ... neresi to runlevel "boot".

Problem jsem nakonec vyresil tak, ze jsem si napsal startovaci skript pro runlevel "boot" a do nej jsem napsal "su -c "/cesta/ke/skriptu" account"... Skript zajisti spusteni xinit atd... (nevedel jsem jak spustit program pod jinym uzivatelem nez rootem, tim se vse vyresilo)

Stran: [1] 2

reklama