Subscribe to renko.dyndns.pro RSS
15 jan 2012
renko képe

Töltsük le a Portgyűjtemény tömörített pillanatképét a /var/db/portsnap könyvtárba. Ha akarjuk, ezután a lépés után már lekapcsolódhatunk az internetről.

# portsnap fetch

Ha még csak először futtatjuk a Portsnapet, bontsuk ki az imént letöltött állapotot a /usr/ports könyvtárba:

# portsnap extract
Ha viszont már korábban is létezett a /usr/ports könyvtárunk és most csak frissítjük, akkor helyette ezt a parancsot adjuk ki:

# portsnap update

A Portmanager egy másik hasznos segédprogram a portok könnyű frissítéséhez és telepitésére

Tags: 
renko képe

http://forums.gentoo.org/viewtopic-t-905260.html?sid=3e3c880e9f4531cb197...

* This package installs one or more file names containing characters that
* do not match your current locale settings. The current setting for
* filesystem encoding is 'ANSI_X3.4-1968'.

Tags: 
renko képe

$ usermod -l {new-login-name} {current-old-login-name}

Például renko usert vált rob névre
$ sudo usermod -l rob renko
$ id rob

Tags: 
09 nov 2011
renko képe

(Teszt eszköz 1Gb Kingston Datatraveler pendrive 55% foglalt)

1. gzip tömöríés :

a. Ha a kliens gép fog tömöríteni akkor :
dd if=/dev/sdx | gzip -c | ssh SSHUSER@HOST 'gzip > /home/xxxx/backup.gz'
(193mp 5.3MB/mp 886Mb)

b. ha pedig a szerver gép tömörít :
dd if=/dev/sdx | ssh SSHUSER@HOST 'gzip -c > /home/xxxx/backup.gz'
(219mp 4.7MB/mp 886Mb)

Tags: 
06 nov 2011

Pure-Ftpd

renko képe

emerge -va net-ftp/pure-ftpd
Use Flags: mysql pam ssl -anondel -anonperm -anonren -anonres -caps -charconv -ldap -noiplog -paranoidmsg -postgres (-selinux) -vchroot -xinetd (?)

/etc/conf.d/pure-ftpd

# Config file for /etc/init.d/pure-ftpd
##Comment variables out to disable its features, or change the values in it... ##

## This variable must be uncommented in order for the server to start ##
IS_CONFIGURED="yes"

Tags: 
03 nov 2011
renko képe

2.6.16. kerneltől támogatott a drop_caches!
sync
echo 3 > /proc/sys/vm/drop_caches

swapoff -a
swapon /dev/sdaX (hdaX (mdX))

To free pagecache:
echo 1 > /proc/sys/vm/drop_caches

To free dentries and inodes:
echo 2 > /proc/sys/vm/drop_caches

To free pagecache, dentries and inodes:
echo 3 > /proc/sys/vm/drop_caches

Tags: 
29 okt 2011
renko képe

Where md3 is your /. However, md3, or any other md might be renamed by the system. When I rebooted after completing the install, my md1,2 and 3 were renamed to md125,125 and 127. If, when you restart your system without the install disk, it tells you your / file system is broken and cannot be repaired, give your password and cd to /dev and ls md* to see if your system has renamed your md's to and then rename your /etc/fstab entries and your real_root entry here, accordingly.

Tags: 
29 okt 2011
renko képe

Ez a kis parancs kilistázza azokat a processeket amik jelenleg használják a pam - ot :
lsof / | egrep -i 'del.*libpam\.so'

Tags: 
17 okt 2011
renko képe
  1. Összes bezárása :

    $ screen -wipe
    $ killall screen
    $ screen -ls
    No Sockets found in /var/run/screen/S-user.

  2. Egyenkénti bezárás :

    $ screen -ls
    There are screens on:
    23487.pts-0.devxxx (Detached)
    26727.pts-0.devxxx (Attached)
    2 Sockets in /tmp/uscreens/S-xxx.

    $ screen -X -S 23487.pts-0.devxxx kill

    $ screen -ls
    There is a screen on:
    26727.pts-0.devxxx (Attached)
    1 Socket in /tmp/uscreens/S-xxx.

Tags: 
08 okt 2011
renko képe

Script letöltése

#!/bin/bash

# ISO="ad ae af ag ai al am an ao ap ar as at au aw ax az ba bb bd be bf bg bh bi bj bm bn bo br bs bt bw by bz ca cd cf cg ch ci ck cl cm cn co cr cs cu cv cy cz de dj dk dm do dz ec ee eg er es et eu fi fj fm fo fr ga gb gd ge gf gg gh gi gl gm gn gp gq gr gt gu gw gy hk hn hr ht hu id ie il im in io iq ir is it je jm jo jp ke kg kh ki kn kp kr kw ky kz la lb lc li lk lr ls lt lu lv ly ma mc md me mf mg mh mk ml mm mn mo mp mr ms mt mu mv mw mx my mz na nc ne nf ng ni nl no np nr nu nz om pa pe pf pg ph pk pl pm pr ps pt pw py qa re ro rs ru rw sa sb sc sd se sg si sk sl sm sn so sr ss sv sy sz tc td tg th tj tk tl tm tn to tr tt tv tw tz ua ug us uy uz va vc ve vg vi vn vu wf ws ye za zm zw"

ISO="hu"

Tags: 

Oldalak