Показаны сообщения с ярлыком freebsd. Показать все сообщения
Показаны сообщения с ярлыком freebsd. Показать все сообщения

FreeBSD Cyrillic TTF fonts

About a week I was using KDE on a FreeBSD system without properly Cyrillic fonts installed. A little bit annoying.

To configure your system fonts install ports:

/usr/ports/x11-fonts/freefont-ttf
/usr/ports/x11-fonts/urwfonts-ttf
/usr/ports/x11-fonts/webfonts
/usr/ports/x11-fonts/xorg-fonts
/usr/ports/x11-fonts/xorg-fonts-cyrillic
/usr/ports/x11-fonts/xorg-fonts-truetype



Make sure, that you have in /etc/X11/xorg.conf:

Section "Files"
...
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/URW/"
        FontPath     "/usr/local/lib/X11/fonts/cyrillic/"
        FontPath     "/usr/local/lib/X11/fonts/webfonts/"
EndSection


After that you should run:
# fc-cache -v -f

The result is:

Have fun, guys! God luck :)



Git Svn: Undefined symbol "PL_sv_undef"

Command:
$ git svn

 raising perl error: Undefined symbol "PL_sv_undef". WTF? This was caused by Perl compiled option THREADS. Just turn it OFF:


Good luck, my dear FreeBSD freak :)



Compile VIM with GTK and Ruby support under FreeBSD


I've installed new FreeBSD  8.0-RELEASE on my laptop. After compiling VIM by:
# cd /usr/ports/editors && make install clean
I've noticed, that it was compiled without ruby support.


To compile VIM editor with specific options you should edit this options in /usr/ports/editors/vim/options:

and then run command:
# cd /usr/ports/editors/vim && make PACKAGE_BUILDING=yes

This will turn on all available flags. Then you should deinstall previous vim:
# cd /usr/ports/editors && make deinstall

and install new:
# cd /usr/ports/editors && make install

or just:
# cd /usr/ports/editors && make reinstall 

After that we have +ruby +perl +python and others. Great :)






FreeBSD under Qemu


I've tried to install FreeBSD under Qemu several times. But couldn't to configure my network. And recently I've solved this problem. There are several things you should know when installing freebsd under Qemu:

  1. you should use FTP servers in passive mode (because you are working through firewall)
  2. you shouldn't use ping to check network :) it doesn't work
  3. after each restart you have to run configure dhcp interface. Run dhclient ed0 (ed0 - ethernet card name)
I have an idea to install freebsd as desktop system. Sounds a little bit freaky. But I whant. But before that I decided to play around it with Qemu box.




Good luck me :)




2008–2014 © Сергей Удалов Реклама Система Orphus