После обновления ядра до версии 2.6.32, перестали монтироваться nfs-разделы. Проблема такая же как и тут
Решается добавлением опции nfsvers=3 ( на тот случай если nfs-сервер этой версии)
PORTDIR_OVERLAY="/usr/local/portage"
mkdir -p /usr/local/portage/app-misc/pacman
cd /usr/local/portage/app-misc/pacman
wget http://gentoo-overlays.zugaina.org/arcon/portage/app-misc/pacman/pacman-3.3.2.ebuild
ebuild /usr/local/portage/app-misc/pacman/pacman-3.3.2.ebuild digest
emerge layman
source /usr/local/portage/layman/make.conf
# emerge -uva gcc# gcc-config x86_64-pc-linux-gnu-4.4.2
# source /etc/profile# emerge --oneshot -av libtool
# emerge -eav system
# emerge -eav world
# emerge -C gcc-x.x
rensize.c: В функции ‘__glXImageSize’:
rensize.c:222: ошибка: ‘GL_DEPTH_STENCIL_MESA’ не описан (первое использование в этой функции)
rensize.c:222: ошибка: (Сообщение о неописанном идентификаторе выдается один раз
rensize.c:222: ошибка: для каждой функции, в которой он используется.)
rensize.c:261: ошибка: ‘GL_UNSIGNED_SHORT_15_1_MESA’ не описан (первое использование в этой функции)
rensize.c:262: ошибка: ‘GL_UNSIGNED_SHORT_1_15_REV_MESA’ не описан (первое использование в этой функции)
rensize.c:276: ошибка: ‘GL_UNSIGNED_INT_24_8_MESA’ не описан (первое использование в этой функции)
rensize.c:277: ошибка: ‘GL_UNSIGNED_INT_8_24_REV_MESA’ не описан (первое использование в этой функции)
make[1]: *** [rensize.lo] Ошибка 1
make[1]: *** Ожидание завершения заданий...
make: *** [all-recursive] Ошибка 1
* ERROR: x11-base/xorg-server-1.7.1 failed:
* emake failed
*
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3743: Called x-modular_src_compile
* environment, line 4667: Called x-modular_src_make
* environment, line 4706: Called die
* The specific snippet of code:
* emake || die "emake failed"
*
* If you need support, post the output of 'emerge --info =x11-base/xorg-server-1.7.1',
* the complete build log and the output of 'emerge -pqv =x11-base/xorg-server-1.7.1'.
* The complete build log is located at '/home/tmp2/portage/x11-base/xorg-server-1.7.1/temp/build.log'.
* The ebuild environment file is located at '/home/tmp2/portage/x11-base/xorg-server-1.7.1/temp/environment'.
* S: '/home/tmp2/portage/x11-base/xorg-server-1.7.1/work/xorg-server-1.7.1'
>>> Failed to emerge x11-base/xorg-server-1.7.1, Log file:
>>> '/home/tmp2/portage/x11-base/xorg-server-1.7.1/temp/build.log'
# eselect opengl set xorg-x11Собрать xorg-server. Потом вернуть как было.
# module-rebuild rebuild||list
< property name="activate_action" type="string" value="none" />Параметр bring (помечено красным) нужно исправить на none.
$ cat /sys/block/xxx/queue/scheduler
LC_ALL="ru_RU.UTF-8"
LANG="ru_RU.UTF-8"
grep ENVIRON /etc/login.defs
ENVIRON_FILE=/etc/environment
WARNING: One or more repositories have missing repo_name entries:
/usr/local/portage/profiles/repo_name
NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.
mkdir -p /usr/portage/local/profiles
echo "MyLocalOverlayName" > /usr/portage/local/profiles/repo_name
emerge xf86-input-keyboard
emerge xf86-input-mouse
NVIDIA: could not open the device file /dev/nvidiactl (Permission denied).
# gpasswd -a %username% video
# equery d bash
>>> Messages generated by process 10971 on 2009-07-18 20:38:43 ALMT for package sys-fs/fuse-2.7.4:
ERROR: setup
You need to build the FUSE module from the kernel source, because your kernel is too new
Please check to make sure these options are set correctly.
Failure to do so may cause unexpected problems.
Once you have satisfied these options, please try merging
this package again.
ERROR: sys-fs/fuse-2.7.4 failed.
Call stack:
ebuild.sh, line 49: Called pkg_setup
fuse-2.7.4.ebuild, line 29: Called linux-mod_pkg_setup
linux-mod.eclass, line 578: Called linux-info_pkg_setup
linux-info.eclass, line 720: Called check_extra_config
linux-info.eclass, line 615: Called die
The specific snippet of code:
die "Incorrect kernel configuration options"
The die message:
Incorrect kernel configuration options
If you need support, post the topmost build error, and the call stack if relevant.
A complete build log is located at '/var/tmp/portage/sys-fs/fuse-2.7.4/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/sys-fs/fuse-2.7.4/temp/die.env'.
# eselect opengl set nvidiaX-сервер таким образом использует GLX-библиотеки nVidia
process 3895: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": Нет такого файла или каталога
See the manual page for dbus-uuidgen to correct this issue.
D-Bus not built with -rdynamic so unable to print a backtrace
KCrash: Application 'kdmgreet' crashing...
process 3896: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": Нет такого файла или каталога
See the manual page for dbus-uuidgen to correct this issue.
D-Bus not built with -rdynamic so unable to print a backtrace
# dbus-uuidgen --ensure=/var/lib/dbus/machine-id
с помощью утилиты dbus-uuidgen был установлен файл идентификации машины (machine identification file), позволяющий автоматически запускать D-Bus одновременно с сессией рабочего стола
polatov@localhost ~ $ iconv -f cp1251 -t utf8 Report.txt > Report.txt.newЕстественно, что конвертировать можно не только из cp1251 в utf-8, и естественно, что не только txt файлы.
polatov@localhost ~ $ grep -P "^\s*#" squid.conf -v
localhost polatov # eix -s portage
[...]
[I] sys-apps/portage Available versions: 2.1.4.5 2.1.6.7 2.1.6.13 [M]~2.2_rc33 {build doc epydoc linguas_pl selinux} Installed versions: 2.1.6.13(15:50:22 11.06.2009)(-build -doc -epydoc -linguas_pl -selinux) Homepage: http://www.gentoo.org/proj/en/portage/index.xml Description: Portage is the package management and distribution system for Gentoo
echo =sys-apps/portage-2.2_rc33 ~amd64 >> /etc/portage/package.keywords
echo sys-apps/portage >> /etc/portage/package.unmask
# emerge gtk-engines-qtcurve gtk-chtheme
# emerge -avt cupsДобавляем загрузочный скрипт:
# rc-update add cupsd defaultЗапускаем:
# /etc/init.d/cupsd start
$ mkisofs -vJRl -o dvd.iso /path/to/files
$ cdrecord -scanbus dev=ATAPI
# echo "app-misc/mc slang -ncurses" >> /etc/portage/package.useЗатем:
# emerge mcЧтобы показывались подсказки в utf-8 надо:
# cd /usr/share/mc/
# cp mc.hint.ru mc.hint.ru.koi8r
# iconv -f koi8-r -t utf8 mc.hint.ru.koi8r > mc.hint.ru
# cp mc.hlp.ru mc.hlp.ru.koi8r
# iconv -f koi8-r -t utf8 mc.hlp.ru.koi8r > mc.hlp.ru
# emerge terminus-font intlfonts freefonts cronyx-fonts corefonts kbd
LC_ALL=""
LANG="ru_RU.UTF-8"
UNICODE="yes"
CONSOLEFONT="ter-k14n"
KEYMAP="-u ru"
SET_WINDOWKEYS="yes" #Опционально
DUMPKEYS_CHARSET="koi8-r"
# emerge --oneshot --verbose sys-libs/ncurses sys-libs/slang
wget http://download3.vmware.com/software/vmserver/VMware-server-linux-client-1.0.6-91891.zip
unzip VMware-server-linux-client-1.0.6-91891.zip
tar xzf VMware-server-console-1.0.6-91891.tar.gz
sudo ./vmware-install.pl
sudo vmware-config-server-console.pl
vmware-server-console
dd if=/dev/scd0 /path/to/file.iso
polatov@polatov-desktop:~$ cdrecord -scanbus
scsibus3:
3,0,0 300) *
3,1,0 301) 'Optiarc ' 'DVD RW AD-7200S ' '1.06' Removable CD-ROM
3,2,0 302) *
3,3,0 303) *
3,4,0 304) *
3,5,0 305) *
3,6,0 306) *
3,7,0 307) *
cdrecord -v speed=0 dev=3,1,0 /path/to/file.iso
polatov@polatov-desktop:~$ wodim --devices
wodim: Overview of accessible drives (1 found) :
-------------------------------------------------------------------------
0 dev='/dev/scd0' rwrw-- : 'Optiarc' 'DVD RW AD-7200S'
-------------------------------------------------------------------------
#date ММДДЧЧмм[ПП][ГГ][.СС]
# useradd -m -G users,audio,wheel test -p 123456
# emerge --sync
# emerge --update --ask world
# emerge --update --deep world
* IMPORTANT: 2 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
polatov-desktop / # etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/locale.gen (1)
Please select a file to edit by entering the corresponding number.
(don't use -3, -5, -7 or -9 if you're unsure what to do)
(-1 to exit) (-3 to auto merge all remaining files)
(-5 to auto-merge AND not use 'mv -i')
(-7 to discard all updates)
(-9 to discard all updates AND not use 'rm -i'):
config_eth0=( "192.168.1.4 netmask 255.255.255.0 brd 192.168.1.255")
routes_eth0=( "default gw 192.168.1.1" )
nameserver 82.200.130.232
nameserver 212.19.128.4
# mount /dev/sda3 /mnt/gentoo/
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev
# env -i HOME=$HOME TERM=$TERM /usr/sbin/chroot /mnt/gentoo /bin/bash
# /usr/sbin/env-update
# source /etc/profile
# export PS1="(chroot) $PS1"
# mount /dev/sda3 /mnt/gentoo/ # mount -t proc none /mnt/gentoo/proc # mount -o bind /dev /mnt/gentoo/dev # env -i HOME=$HOME TERM=$TERM /usr/sbin/chroot /mnt/gentoo /bin/bash # /usr/sbin/env-update # source /etc/profile # export PS1="(chroot) $PS1"
title Gentoo
root (hd0,2)
kernel /boot/kernel-2.6.27-gentoo-r7 root=/dev/sda3 ro
$ lshw
$ cat /proc/cpuinfo
# mkfs.vfat -I /dev/xxx
$ luit -encoding "KOI8-R" ssh xxxxxxx
$ lame -h --mp3input pesnya.wavВыйдет файл с сжатием mp3, без уничтожения wav файла. Но lame упорно не хотел работать с кучей файлов за раз.
#!/bin/shЭто первый мой скрипт. Поэтому есть некоторая издержка. При выходе выдает файлы вида pesnya.wav.mp3. Это будет происходить и без скрипта, если не указывать явное имя файла.
do lame -h --mp3input ${i%};
done
if [ -f /etc/bash_completion ]; then
./etc/bash_completionfi
$ export http_proxy="http://10.0.0.5:8080"
$ export ftp_proxy="ftp://10.0.0.5:8080"
$ md5sum -c stage3-x86-2007.0.tar.bz2.DIGESTS