2010 m. rugsėjo 29 d., trečiadienis

fix grub

boot live cd

apt-get install grub-pc

sudo grub-install --root-directory=XXXX /dev/sda

2010 m. rugsėjo 23 d., ketvirtadienis

free antivirus for commercial use

ClamAV + Spyware terminator (use clamav in real time)

2010 m. rugsėjo 21 d., antradienis

landscape laužia kompą

landscape taip užkrovė Input Output, kad teko jį removinti sudo apt-get remove landscape-common.

vėliau reiks išspręst tą problemą, nes šiaip tas landscape tai mielas, nors ir nelb saugus...

2010 m. rugsėjo 19 d., sekmadienis

toshiba serv

sugalvojau is vieno tokio toshiba laptopo padaryti ubuntu serv. toshibai sugedęs monitorius, todėl instaliavom apt-get install openssh-server. o prisijungiam su putty

įdomumo dėlei prijungiau prie landscape. su landscape per web naršyklę galima centralizuotai valdyti ir stebėti daug kompų.

drive speed test


pasiskolinau seagate hdd 160gb sata. sujungiau su savo 250 gb sata samsung. Įjungiau gigabyte m55s-s3 motininės nvidia raid 0 - stripping raid, ty. duomenų blokai paskirstomi po abu diskus, OS mato kai vieną. Mano atveju - 300gb hdd. Atlikau testus, palyginau su pata (geriau būtų sata) wdc 80gb disku. papildomai atlikau ir abiejų asus 901 diskų testuką

2010 m. rugsėjo 15 d., trečiadienis

instaliavau AD kontrolerį

Instaliavau windows 2008 R2 standart serverį.
Atnaujinau, įjungiau RDP palaikymą, nustačiau statinį ip, instaliavau AD kontrolerį ir DNS serverį. Operacija paprasta start > run > dcpromo.exe ir next next next

2010 m. rugsėjo 12 d., sekmadienis

copy files using scp

Copy Files Securely using SCP

Another common need is to be able to copy files between servers you are administering. While you could set up FTP on all of the servers, this is a less-than-ideal and potentially insecure solution. SSH includes within it the capability to copy files using the scp command. This has the added benefit of copying the files over a secure channel along with taking advantage of any key-based authentication you might have already set up.

To copy a file to a remote machine use the following command

scp /path/to/file user@remotehost:/path/to/destination

If you need to copy from the remote host to the local host, reverse the above command

scp user@remotehost:/path/to/file /path/to/destination

if you need to copy an entire directory full of files to a remote location, use the -r argument

scp -r /path/to/directory/ user@remotehost:/path/to/destination/

If you are transferring logfiles or other highly compressible files, you might benefit from the -C argument. This turns on compression, which, while it will increase the CPU usage during the copy, should also increase the speed in which the file transfers.

Use the -l argument to limit how much bandwidth is used. Follow -l with the bandwidth you want to use in kilobits per second. So, to transfer a file and limit it to 256 Kbps use the following command

scp -l 256 /path/to/file user@remotehost:/path/to/destination

howto install lamp

http://www.howtoforge.com/ubuntu_lamp_for_newbies

2010 m. liepos 9 d., penktadienis

Asus eee 901 windows xp nlite klaida

Asus 901 turi labai mažą ir lėtą SSD diską. Todėl norint sutaupyti SDD vietos reikia diegti pahakintus - apkarpytus Windows XP. Internete pilna tutorialų kaip tai daryti, vadovavausi šiuo http://www.eeeguides.com/2007/12/this-tutorial-will-show-you-how-to-slim.html , bet instaliuojant tvarkykles, konkrečiai Asus ACPI driver mesdavo klaidą Can not open AsusACPI.sys" and "Can't find Asus ACPI Driver: AsusACPI.sys" To paties saito komentaruose yra pastaba:

Guys, I just got an Intel 901- you MUST leave Multi Processor CPU unticked in the hardware support options otherwise you cannot install the ACPI driver and the annoying pop up wont go away.


2010 m. balandžio 1 d., ketvirtadienis

start webcam sic4750/27 on ubuntu

With Skype 2.1.0.81. Video works after installing packet libv4l-0. Video system already set to v4l2. Start skype using $ env LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

2010 m. kovo 7 d., sekmadienis

Delete Your Account

Kaip ištrinti save iš interneto
Delete Your Account

2010 m. vasario 23 d., antradienis

apt-get howto

Ubuntu instaliuojame programas
apt-get howto

  • apt-get check
    This command is a diagnostic tool. It does an update of the package lists and checks for broken dependencies.
  • apt-get -f install

    This command does the same thing as Edit->Fix Broken Packages in Synaptic. Do this if you get complaints about packages with "unmet dependences".

  • apt-get autoclean

    This command removes .deb files for packages that are no longer installed on your system. Depending on your installation habits, removing these files from /var/cache/apt/archives may regain a significant amount of diskspace.

  • apt-get clean

    The same as above, except it removes all packages from the package cache. This may not be desirable if you have a slow internet connection, since it will cause you to redownload any packages you need to install a program.

    • The package cache is in /var/cache/apt/archives . The command

      du -sh /var/cache/apt/archives
      will tell you how much space cached packages are consuming.

apt-cache search 
This command will find packages that include .
dpkg -l **

This will find packages whose names contain . Similar to apt-cache search, but also shows whether a package is installed on your system by marking it with ii (installed) and un (not installed).

apt-cache show 
This command shows the description of package and other relevant information including version, size, dependencies and conflicts

dlocate 

This command determines which installed package owns . It shows files from installed packages that match , with the name of the package they came from. Consider this to be a "reverse lookup" utility.

IconsPage/info.png In order to use this command, the package dlocate must be installed on your system.

dpkg -S 
This command does the same as dlocate, but does not require the installation of any additional packages. It is slower than dlocate but has the advantage of being installed by default on all Debian and Ubuntu systems

2010 m. vasario 20 d., šeštadienis

how to become linux admin

monitor system
pstree : show process tree
lsof : show a list of open files
dstat : system resources monitor
chkconfig : start stop system services

adminutils http://www.debianhelp.co.uk/adminutilities.htm

Here are things I think that anyone in the college right now and looking to become a sys admin can do. Note that I am focussing here mostly on the technical skills required.

  1. Load Linux on your box - it does not matter which distribution you use. Differences between different Linux distribution is even less than you think. My personal recommendation is Ubuntu. However, if you can make Debian work on your hardware, that is the way to go.
  2. Learn the package management of the distribution of your choice. By this I mean, you should be able to install, remove, reconfigure and locate the packages needed by your distribution.
  3. Learn how to use the vim or the emacs editor
  4. Most of the PCs today live in a network. Learn what a ip address is, what a gateway is and what a subnet is. Having a mental image of how the traffic flows in a network helps when you are trying to solve a network problem
  5. Learn to write bash shell scripts
  6. Learn how to use the awk, sed, cut, sort, uniq, tr and other small Linux shell utils
  7. Write your own backup script
  8. Learn how to use rsync, wget, ssh
  9. You should have read (or at the least have glanced through) all the guides and how-tos available at tldp.org
  10. Learn to read the syslog file
  11. Learn what a daemon is and which daemons provide what services.
  12. Learn the log files that each daemon creates and how to read them
  13. Learn to configure samba and postfix. Both of these softwares appear to be quite complicated, but come with very extensive documentation. Another plus point of knowing them well is that you will find it easier to find freelance work. Most small companies want to have a mail service and a file sharing service and after the flood of worms specifically targeted towards Windows NT and 2000, have started to look at Linux for their needs
  14. Learn how the email is actually delivered to a recipient, what is the difference between a mbox and maildir format and other intricacies of the email system. Use the postfix that you have configured to play around and see how different parts function. This page has a list of email standards that you might find useful to read
  15. Learn to use tcpdump, ethereal and nmap.
  16. Learn to configure Apache - specifically how to setup virtual hosts, what the core options in Apache are and how modules are added into Apache.
  17. Learn to troubleshoot samba, postfix and apache
using terminal
https://help.ubuntu.com/community/UsingTheTerminal

admin books, links http://forums.theplanet.com/index.php?showtopic=17732