Wednesday, June 13, 2007

Fun with linux - Fedora Core 7

[1] Tune up

mii-tool
Check and see if the LAN card is set on 100 Mb full-duplex
# mii-tool

Got a strange output (probably working on 100 Mb half-duplex):
# mii-tool
eth0: autonegotiation failed, link ok
eth1: no link


Force LAN card to work on 100 Mb
# mii-tool -F 100BaseTx-FD


DAG repository
# wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.fc3.rf.i386.rpm
# rpm -Uhv rpmforge-release-0.3.6-1.fc3.rf.i386.rpm


Java Runtime Environment (JRE)
>> Download jre-6u1-linux-i586.bin (Linux self-extracting file)
# yum install compat-libstdc++-33 compat-libstdc++-296
# sh jre-6u1-linux-i586.bin
# mv -f jre1.6* /opt/jre1.6
# ln -s /opt/jre1.6/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
Details on Personal Fedora 7 Installation Guide & GCC Compatibility webpages.

NTFS support
Example of /etc/fstab configuration:
/dev/sda2 /mnt/win/sda1 ntfs-3g rw,defaults,umask=0000 0 0
Details on Personal Fedora 7 Installation Guide website.




[2] Installation
- all programs, by default (from DVD)

Other software using yum (following this order):
- aMSN 0.96 (amsn.i386-0.96-7.fc7 + bwidget.noarch-1.8.0-1.fc6, sox.i386-13.0.0-1, tcldom.i386-3.1-10.fc7, tcllib.noarch-1.9-4.fc7, tclsoap.noarch-1.6.7-4.fc7, tcltls.i386-1.5.0-11.fc6, tclxml.i386-3.1-11.fc7, tkdnd.i386-1.0a2-7.fc6) - 4.8 M
- iptraf (iptraf-3.0.0-6.fc7) - 327 k
- AbiWord (abiword.i386-2.4.6-5.fc7 + goffice.i386-0.2.2-1.fc7, gtkmathview.i386-0.7.6-5.fc6, libwpd.i386-0.8.9-2.fc7, link-grammar.i386-4.2.2-2.fc6, mathml-fonts.noarch-1.0-21.fc6, ots-libs.i386-0.4.2-11.fc7) - 9.2 MB
- Gnumeric (gnumeric.i386-1.6.3-6.fc7 + libgda.i386-1.9.100-12.fc7, libgnomedb.i386-1.9.100-15.fc7, libgsf-gnome.i386-1.14.3-4.fc7) - 13 MB
- Putty (putty-0.60-1.fc7.i) - 1.3 MB
- Midnight Commander (mc-4.6.1a-45.20070) - 2.1 MB
- Krusader (krusader-1.80.0-0 + kdebindings-3.5.6) - 8.7 MB
- Wine (wine-0.9.36-2.fc7 + wine-capi.i386-0.9.36-2.fc7, wine-cms.i386-0.9.36-2.fc7, wine-core.i386-0.9.36-2.fc7, wine-esd.i386-0.9.36-2.fc7, wine-jack.i386-0.9.36-2.fc7, wine-ldap.i386-0.9.36-2.fc7, wine-nas.i386-0.9.36-2.fc7, wine-tools.i386-0.9.36-2.fc7, wine-twain.i386-0.9.36-2.fc7) - 9.9 MB



Windows/Linux Symbiosis by Softpedia

I'm trying to follow the tutorial, but I'm getting stuck because of errors. However, I'll make a brief description here of problems I encountered and how I resolved them.

# yum install rdesktop

# yum install vmware-server
>> didn't work, perhaps I don't have yum repositories - I just leave it alone and downloaded RPM fom VMware *:
#


To do:
- flash player
- install necessary software
- remove duplicated programs (i.e. several PDF viewers)
- samba config (local share + auth on domain)

Observations:
- Evolution (email client) seems pretty cool: nice filtering junk mail system.


* other useful links:...


Despre acest blog
Disclaimer and privacy statement
Actualizat: 2007-06-22.

___


Thursday, April 26, 2007

Copy / Paste Files Between A Terminal Server And A Client

As simple as that... :)


Despre acest blog
Disclaimer and privacy statement
Actualizat: 2007-06-22.

___


Wednesday, March 7, 2007

Terminal Services on Windows XP

[later edit] To use more than one remote desktop sessions, there's XP Unlimited for Windows XP, which allows use of up to 3 concurrent connections in trial version, and no time limits. Nicely done.


Warning: The following tutorial is available in full length at Jason Golod's blog and Riccardo Raneri's blog thou' it didn't work for me. Haven't read all comments, maybe that can help.


1. Go to Safe Mode

2. Disable Remote Desktop (right-click on My Computer)

3. Disable "Terminal Services" service (Administrative Tools)

4. Backup C:\Windows\system32\dllcache\termsrv.dll

5. Copy this modified termsrv.dll to C:\Windows\system32\dllcache\

6. Add [EnableConcurrentSessions.reg] to registry

7. Start >> Run >> gpedit.msc >> browse to Computer Configuration -> Administrative Templates -> Windows Components -> Terminal Services and double click Limit number of connections >> select Enable (2 or more connections, recommended 5)

8. Restart Windows in Normal Mode

9. Enable Remote Desktop (right-click on My Computer)

10.Enable "Terminal Services" service (Administrative Tools)


Despre acest blog
Disclaimer and privacy statement
Actualizat: 2007-03-07.

___


Tuesday, February 20, 2007

Fun with linux - Ubuntu Server 6.10

Ubuntu-Server 6.10 i386
  • DNS
  • Automatic LAMP (Linux, Apache, MySQL and PHP)

Introduction
Sometimes I like to play with Linux to see what a particular distribution has to offer, sometimes I just do it as part of my job - either the the case I always do it with pleasure. I'd like to have more time to publish many adventures in my experience - but that's another story.


Preparation

Disk partitioning - 80 GB (multi-OS proposal)

hda1 = /mnt/hda1-msdos (bootable, FAT16 - MS-DOS, 2 GB)
hda2 = /mnt/hda2-windows (bootable, NTFS - Windows XP, 12 GB)
hda3 = / (bootable, ext3 - Ubuntu, 12 GB)
hda4 = extended
hda5 = /mnt/hda5-ntfs (extended, 12 GB)
hda6 = /mnt/hda6-ntfs (extended, 12 GB)
hda7 = /mnt/hda7-ntfs (extended, 12 GB)
hda8 = /mnt/hda8-fat32 (extended, 12 GB)
hda9 = swap (extended, linux swap, 12 GB)


Network settings
  • eth0 = SIS900 PCI (built-in) => DHCP (no link)
  • eth1 = Realtek 8139 => DHCP (got IP)

Server settings (if asking at installation)
  • [X] DNS
  • [X] LAMP



Post-install

Hosts
# vi /etc/hosts
127.0.0.1               localhost.localdomain localhost
192.168.0.100           server1.example.com server1

UpdateDB
# sudo updatedb

Setup more repositories
# sudo vi /etc/apt/sources.list
=>> uncomment 'universe' repositories
# sudo apt-get updateSSH
# sudo aptitude install ssh
# vi /et
DMA settings
>> DMA is activated by default. To check, type:
# sudo hdparm /dev/hdc
Setup preferred desktop manager
=>> /etc/X11/default-display-manager
* for KDM, the file should read /usr/bin/kdm
* for GDM, the file should read /usr/sbin/gdm
New programs

mc 4.6.1 (Midnight Commander) - 1 dependency
# sudo aptitude install mc zip unzip arj
=> remove "exit" confirmation when close it

iptraf 3.0.0 - no dependencies
# sudo aptitude install iptraf

Links2 - graphics and text mode WWW browser, similar to Lynx
# sudo aptitude install links2

centericq - console multi-messenger
# sudo aptitude install centericq

X Window System - basic graphic mode
# sudo aptitude install x-window-system

GDM - graphical login prompt
# sudo aptitude install gdm

XFCE 4.3.99.1
# sudo aptitude install xfce4
Notes:
1. Make sure you have set up 'universe' repository
2. Make sure you have x-window-system installed

* Alternative 1:
# sudo aptitude install x-window-system gdm xubuntu-desktop
See notes above.

* Alternative 2:
# sudo aptitude update && sudo aptitude install xubuntu-desktop

Gnome
# sudo aptitude install gnome-core
#
sudo aptitude install ubuntu-artwork
Note: make sure to have set up 'universe' repository (!?!)
- error at login: "GConf schema installer error. battery_low_percentage cannot be zero". To investigate.
- double-click on Mixer icon error: "Failed to start Volume Control: Failed to execute child process"gnome-volume-control" (No such file or directory)"
- some other errors when installing packages for X (gnome, xfce):
"Errors were encountered while processing:
acpid
acpi-support
powermanagement-interface
gnome-power-manager
gnome-session
gnome-core
E: Sub-process /usr/bin/dpkg returned an error code (1)"

* Alternative 1:
# sudo aptitude install x-window-system gdm edubuntu-desktop
See note.

* Alternative 2:
# sudo aptitude install ubuntu-desktop

KDE
# sudo aptitude install x-window-system gdm kbuntu-desktopNotes (!?!):
1. Make sure you have set up 'universe' repository
2. Make sure you have x-window-system installed

* Alternative 1:
sudo aptitude install kubuntu-desktop

Terminal 0.2.5.4beta2 - X Terminal Emulator
=> installed with Xfce

Terminal Server Client (Rdesktop - RDP, VNC)
# sudo aptitude install tsclient

Firefox 2.0.0.1 - 3 dependencies (12/37 MB)
# sudo aptitude install firefox
=> automatically in menu, under Network category [Firefox browser]

Thunderbird 1.5.0.9 - 2 dependencies (10/32 MB)
# sudo aptitude install mozilla-thunderbird
=> automatically in menu, under Network category [Thunderbird Mail]

aMSN - MSN messenger
# sudo apt-get install amsn
Note: Make sure you have set up 'universe' repository
Gaim - multi-messenger
# sudo aptitude install gaim
Note: Make sure you have set up 'universe' repository
GNOME Commander 1.2.0 - drives buttons
# sudo aptitude install gnome-commander
=> automatically in menu, under Accessories category [GNOME Commander]

Atol 0.7.0 - dual panel file manager, built-in archive viewer
# wget ftp://ftp.akl.lt/Linux/Baltix/Baltix-Ubuntu-packages/dapper/atol-file-commander/
# sudo dpkg -i atol_0.7.0-0baltix1_i386.deb
=> automatically in menu, under Office category [Atol]

File Roller 2.16.1 - archive manager (for Gnome)
# sudo aptitude install file-roller

Xarchiver 0.4.0 - lightweight archive manager (for Xfce)
# sudo aptitude install xarchiver

OpenOffice.org
# sudo aptitude install openoffice.org
=> automatically in menu, under Office category [Database, Presentation, Spreadsheet, Word Processor]

AbiWord 2.4.5 (M$ Word support)
# sudo aptitude install abiword

Gnumeric Spreadsheet (Excell support)# sudo aptitude install gnumeric

XMMS 1.2.10 (10 dependencies) [2/12 MB]
# sudo aptitude install xmms
=> automatically in menu, under Multimedia category [XMMS Music Player]

Xfburn 0.2.0 - CD/DVD burning tool
sudo aptitude install xfburn cdrdao cdrecord

Helix-Player 1.0.6 (real-player support)
# yum install HelixPlayer
=>> got error: "The following components are required: protocol_rtsp_rdt"
=>> didn't know how to fix it


Install and configure:




Tools of network administrator in Linux router
Tools of network administrator in Linux router

Links:
Official website
Ubuntu Installation Guide
Ubuntu Server Guide
Working with your desktop
My Ubuntu Installation




Despre acest blog
Disclaimer and privacy statement
Actualizat: 2007-03-07.

___


Monday, February 19, 2007

Fun with linux - Cent OS 4.4





Preparation

1) Disk partitioning - 80 GB
hda1 = /mnt/hda1-msdos (bootable, FAT16 - MS-DOS, 2 GB)
hda2 = /mnt/hda2-windows (bootable, NTFS - Windows XP, 12 GB)
hda3 = / (bootable, ext3 - CentOS 4.4, 12 GB)
hda4 = extended
hda5 = /mnt/hda5-ntfs (extended, 12 GB)
hda6 = /mnt/hda6-ntfs (extended, 12 GB)
hda7 = /mnt/hda7-ntfs (extended, 12 GB)
hda8 = /mnt/hda8-fat32 (extended, 12 GB)
hda9 = swap (extended, linux swap, 12 GB)


2) Network settings
  • eth0 = Realtek 8139 => DHCP (got IP)
  • eth1 = SIS900 PCI (built-in) => DHCP (no link)

3) Firewall
=> disable firewall and SElinux


4) Programs
=> install minimum set (694 MB)
=> make backup of /root/install.log and /root/anakonda.ks-cfg, for later check, if needed



Post-install

1) Network
=> disable eth1 (not used)

2) /etc/hosts
127.0.0.1               localhost.localdomain localhost
192.168.0.100           server1.example.com server1

3) updatedb

4) setup more repositories
# wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.5-1.el4.rf.i386.rpm
# rpm -Uhv rpmforge-release-0.3.5-1.el4.rf.i386.rpm
# yum clean


New programs

mc 1.4.6.1 (Midnight Commander) - no dependencies
# yum install mc
=> remove "exit" confirmation when close it

iptraf 2.7.0 - no dependencies
# yum install iptraf

ELinks 0.9.2 - Text WWW browser (links clone) - no dependencies
# yum install links

XFCE 4.2.3.2
# yum installgroup "X Windows System"
# yum installgroup XFCE
# yum install x-font (?!?)

Firefox 1.5.9.0
# yum install firefox
=> automatically recognized its icon on XFCE Panel
=> automatically in menu, under Network cathegory

Thunderbird 1.5.0.9
# yum install thunderbird
=> automatically in menu, under Network cathegory

Evolution 2.0.2 (19 dependecies, incl. gnome, perl, seamonkey)
# yum install evolution
=> automatically recognized its icon on XFCE Panel
=> automatically in menu, under Network cathegory (Email item)

XMMS 1.2.10 (3 dependencies, incl. gdk, gtk, mikmod)
# yum install xmms
# yum install xmms-mp3
=> automatically recognized its icon on XFCE Panel
=> automatically in menu, under Multimedia cathegory (Audio Player item)


Helix-Player 1.0.6(real-player support)
# yum install HelixPlayer
=>> error: "The followinf components are required: protocol_rtsp_rdt"


To install and configure:

IMAP 2.2.12
# yum install cyrus-imapd cyrus-imapd-utils
=> check this link to configure a mail server (POSTFIX + Cyrus-IMAP)


Other links
http://www.howtoforge.com/perfect_setup_centos_4.4_p1





Despre acest blog
Disclaimer and privacy statement
Actualizat: 2007-02-19.

___


Monday, January 1, 2007

Disclaimer and privacy statement

[RO]
Disclaimer

Materialele de pe acest sit nu sunt terminate (mai degrabă sunt "în curs de finalizare") şi obişnuiesc să le actualizez atunci când am timp şi materiale de adăugat. Toate informaţiile sunt furnizate "ca atare", fără nici o garanţie că sunt exacte sau bune sfaturi profesionale.

Fac tot ce pot pentru ca informaţiile publicate să fie exacte şi cât mai recente. Cu toate acestea, informaţiile de pe acest sit nu sunt sfaturi profesionale sau juridice şi nu răspund pentru acţiunile care decurg din utilizarea acestuia. Nu pot fi făcut responsabil pentru conţinutul oricărei pagini de legătura către un link extern.



Declaraţie de confidenţialitate

Strâng informaţii şi le păstrez în principal pentru mine, şi sunt bucuros dacă altcineva poate beneficia de ele. În cazul în care credeţi că o parte din articol(e) este/sunt munca altora, vă rog să-mi spuneţi şi voi cu actualizare cu informaţiile solicitate. Respect intimitatea şi munca altora, iar dacă o sursă nu este de acord să fie explicit arătată în articolele mele - acele informaţii vor fi şterse. Pentru mărci înregistrate cunoscute nu voi specifica "acest nume este TM".

Dacă aveţi întrebări sau sugestii cu privire la această politică, preocupări cu privire la practicile acestui sit, sau credeţi că nu ader în mod corespunzător la această politică de confidenţialitate, vă rog să mă contactaţi la privacy@digitalage.ro. Scrieţi în subiect cuvintele "regulile de confidenţialitate" altfel mesajul va fi şters.


[EN]

Disclaimer


Materials on this website are not meat to be finished, but rather work-in-progress and I use to update when I have time for that and staff to add. All informations are provided "as is" without any guaranty they are accurate or good professional advices.

I do my best to make sure the information published is accurate and up to date. However, the information on this website does not constitute legal or professional advice and I cannot accept any liability for actions arising from its use. I cannot be held responsible for the contents of any pages referenced by an external link.



Privacy statement

I am collecting informations and keep it primary for myself and I'm glad if anyone can benefit of them. If you feel that part of the article is others' work than mine, please let me know and I'll update with requested info. I respect privacy and others' work and if a source does not agree to be part of my article - that information will be erased. Thou', for obvious trade marks, I may not specify "this name is a TM".

If you have any questions or suggestions regarding this policy, have any concerns about the practices of this website or believe I am not properly adhering to this privacy policy please contact me at privacy@digitalage.ro. Make sure you type in the subject the words "Privacy concerns" otherwise your message will be discarded.



About / Despre acest blog
Updated / Actualizat: 2009-03-17.

___


Despre acest blog

M-am gandit de multe ori CUM as incepe sa scriu, si mai ales, CE ar trebui sa scriu. Si de tot atatea ori am renuntat, gasind de fiecare data cate o scuza: timp, lene, nepricepere... si poate orice altceva. Dar mi-am spus ca de data asta trebuie sa incep. Dupa cum se vede, chiar am facut-o.

Oricat de mult mi-ar fi placut sa fiu un pic original, constat intotdeauna ca a existat ceva sau cineva care mi-a luat-o inainte. Si in incercarea perpetua (in sensul de incercare a fiecaruia) de "a fi primul", ma gasesc tot timpul cu un pas in urma. Asadar, trecand un pic peste frustrarile momentului, incerc sa ma alatur si eu celor care striga in neant. Nu ma intrebati de ce. Poate din nevoie, poate din frustrare, poate din plictiseala, poate din invidie, poate din mandrie sau poate... toate la un loc. Sunt sigur ca cineva, din cand in cand, ne aude.

Incerc sa fac din exercitiul scrisului o placere, atat pentru mine cat si pentru cititori (momentan foarte putini, doar eu) si sper ca in timp, acest exercitiu sa aduca macar un pic de zambet pe buzele celor ce citesc.

Evident, am inceput cu un prim articol din frustrare, pentru ca traim in Romania si pentru ca asta ne ocupa tot timpul... (pfiu! Cata lume foloseste aceasta expresie!...). Am intentia sa adun aici cam tot ceea ce ma roade: intamplari de zi cu zi din viata mea sau a celor din jurul meu, ceea ce imi place sau ceea ce nu. Iar ca o consolare, am sa adaug lucruri adunate si care imi fac viata mai usoara. Cele mai multe sunt chestii tehnice, si sper sa vina si in ajutorul altora.

Desi nu ma vad acum in postura de a avea ce scrie despre mine aici, ar fi nedrept sa nu adaug cateva cuvinte despre cine sunt (sau macar, cine incerc sa fiu). Iar pentru conformitate, voi face o mica trecere in revista asupra regulilor acestui blog.


Ca sa fie clar si pentru a nu-mi pierde timpul cu sufletele pierdute:

1. Acest blog este al meu. (Punct)
Din acest motiv imi permit sa fac ce vreau cu el: il sterg sau il pastrez, il moderez sau il modific, adaug ori sterg articole, sau orice altceva imi trece prin cap. Nu dau socoteala nimanui pentru asta. In plus, mai sunt si alte blog-uri si alti blogger-i pentru cei ce au timp de palavrageala.

2. Acest blog are comentarii moderate.
Nu voi permite comentarii tampite, prostesti sau infantile. Nu am chef sa pierd timpul cu moderarea, asa incat daca nu vei regasi comentariul tau inseamna ca a fost sters. (Punct)

3. Ignor orice discutie care nu respecta regulile de mai sus.

Lista de mai sus nu este completa si va fi actualizata permanent.


Acest blog este conceput si scris in intregime de mine, iar articolele, din cand in cand, sunt "aranjate" de Mia.




Disclaimer and privacy statement
Updated / Actualizat: 2009-03-17.

___