2010 m. rugsėjo 30 d., ketvirtadienis
squid
2010 m. rugsėjo 29 d., trečiadienis
2010 m. rugsėjo 23 d., ketvirtadienis
2010 m. rugsėjo 21 d., antradienis
landscape laužia kompą
2010 m. rugsėjo 19 d., sekmadienis
toshiba serv
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į
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
2010 m. liepos 9 d., penktadienis
Asus eee 901 windows xp nlite klaida
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
2010 m. kovo 7 d., sekmadienis
2010 m. vasario 23 d., antradienis
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 searchThis command will find packages that include
dpkg -l **
This will find packages whose names contain
apt-cache showThis command shows the description of package
dlocate
This command determines which installed package owns
|
dpkg -SThis 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
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.
- 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.
- 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.
- Learn how to use the vim or the emacs editor
- 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
- Learn to write bash shell scripts
- Learn how to use the awk, sed, cut, sort, uniq, tr and other small Linux shell utils
- Write your own backup script
- Learn how to use rsync, wget, ssh
- You should have read (or at the least have glanced through) all the guides and how-tos available at tldp.org
- Learn to read the syslog file
- Learn what a daemon is and which daemons provide what services.
- Learn the log files that each daemon creates and how to read them
- 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
- 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
- Learn to use tcpdump, ethereal and nmap.
- Learn to configure Apache - specifically how to setup virtual hosts, what the core options in Apache are and how modules are added into Apache.
- Learn to troubleshoot samba, postfix and apache
https://help.ubuntu.com/community/UsingTheTerminal
admin books, links http://forums.theplanet.com/index.php?showtopic=17732