Jaunty Jackalope is On

Yesterday Jaunty is really released. Now let's try it on and get the fastest Ubuntu boot with ext4.

welcome to utux-utux

The place where you can get any news, tipsn and tutorials about linux. I'cant explain any further informations about this site. Just open the tux image on the left side. ^_^

Showing posts with label Newbie. Show all posts
Showing posts with label Newbie. Show all posts

Booting Faster

A lot of services that is running on startup makes the system little bit longer to up. You should check properly what services you want start at startup and what services you don't.
Is it hard to you?
If yes you can try ntsysv. It can get launched both in Text Mode and GUI mode. Let's get our system booting faster.

Kinds of Linux Daemon/Services

acpid
Advanced Configuration and Power Interface.

anacron
Anacron is a periodic command scheduler. It executes commands at intervals specified in days. Unlike cron, it does not assume that the system is running continuously.

apmd
The apmd package is a set of user to control the Advanced Power Management system.

autofs
Auto-autofs detects Disks, Partitions, CD-ROMs, Floppies etc. and sets up an automount configuration. It makes easier to connect to our hard drive.

crond
Service to execute scheduled commands.

cups
The Common UNIX Printing System ("CUPS") is printing solution for all UNIX environments.

echo
Service for testing, everything you send to port 7 (echo) would be sent back to you.

httpd
The apache web server.

lighttpd
Lighttpd web server.

iptables
Linux based firewall. Development of ipchains.

irda
Infrared Data Association.

isdn
Integrated Services Digital Network.

kudzu
Detects and configures new and/or changed hardware on a system.

lisa
Daemon which is intended to run on end user systems.

mysqld
MySQL database server.

named
Bind DNS server.

netfs
Network Filesystem Mounter. Needed for mounting NFS, SMB and NCP shares on boot.

network
Activates all network interfaces at boot time.

nfs
Linux file sharing.

ntpd
Sets and maintains the system time of day in synchronism with Internet standard time servers.

pcmcia
PCMCIA cards identifiers.

portmap
A dynamic port assignment daemon for RPC services such as NIS and NFS.

postgresql
PostgreSQL database server.

random
Initialize kernel random number generator

rsync
Provides a very fast method for bringing remote files into sync.

sendmail
Mail server, allows to send emails using this machine as mail server.

services
An internal xinetd services, listing active services.

smartd
Self Monitor Analysis and Reporting Technology System.

smb
Samba, allows to share and access MS windows network.

snmpd
Simple Network Management protocol.

squid
Internet proxy and web cache.

sshd
Secure Shell daemon, allows secure and remote logging to this machine.

syslog
Logs all system activities.

tux
The TUX Web Server is an HTTP daemon for Linux .

vncserver
VNC stands for Virtual Network Computing.

vsftpd
Secure FTP daemon.

winbind
Winbind is an nss switch module to map Windows NT Domain databases to Unix.

xfs
The X font server (xfs) provides a standard mechanism for an X server to communicate with a font renderer, frequently running on a remote machine. It usually runs on TCP port 7100.

xinetd
The internet services daemon.

What is Daemon / Services

Daemon or services is a program that loads and remain resident in memory after your computer turned on.

Choose Your Right Distro(s) Now

Are you newbie in Linux? Or, Are you getting problem to choose Linux Distro(s) you want installed on your PC?
The answer is here. Just surf to this site and get your right distro.
Have a nice experience with Linux.

Ext3 in Windows

It's get annoying when we had to reboot our computer first to take some files in Linux. But this case was resolved with EXT2-FS. You can mount your ext2 or ext3 to Windows drive. So you can read or write the system easily.

Disk Formatting in Linux

Since yesterday my flash disk error. My Windows can't detect it properly. So I couldn't format it. Then I plug it into my PClos, even the flash can't be detected too at least I still can format it.
Don't worry, in Linux we can format with fat32 file system. So it still can be read in Windows. Here is the command to format using fat32:
mkfs.vfat /dev/sda1

Finally I am thinking about this,
Why Windows could't do that??
Or Was Linux "too" good, than ...??
:P

How Many Disk Space Left

There's many effect related to disk capacity, so you need to know about it. Problem that usually occur is:
1. /home full, user except root can't login.
2. /var full, your program can't runs and there wouldn't be logs.

Just type this command
df -h
And waste your unusefull files.

Looking Files in Linux?

The easiest way to look for file(s) in Linux we can use command locate. Just simply type locate (file you want to)
example:
locate http

You can combine with grep, so you can find files more specific.
locate http | grep etc

It will find all of files named http in directory etc.

For using locate, you need to make index firts with command updatedb. The complete command will be.
updatedb
locate http | grep etc

Run Level

Run Level is a mode of operation in one of the computer. There's six type or mode of operation in Linux. The configuration system allows you to choose one of them at once.

The Options
0 - Halt
1 -
Single user
2 -
Not used/User definable
3 -
Full multi-user, console logins only
4 -
Not used/User definable
5 -
Full multi-user, with display manager as well as console logins
6 -
Reboot

The command
init(space)(number of the options above)
Example, I want to change from GUI to text mode. So I should type on the console/terminal:
init 3

You had to be root to do this command.
This way absolutely usefull to fix Linux configuration system, like my post before.

First Command in Linux

For all of beginner in linux, the first command you had to know were:

  • info
Just type
info
Then see the result to know every command in linux.

  • man
Type man space command
ex: man man
the result show you everything about the command.

  • --help
Type --help after every command.

Install RPM packets

To Install a RPM packet type this in your console
rpm -ivh packet.rpm

If there was an error message, the packet needs dependency(s). So, you had to install the dependency(s) first then try to install the packet again.

Crontab The Timer

Did you usually do something Like download Linux Iso(s) in the middle of the night? (cheap internet traffic reason)Or you have to do something in the future but in the same time you must meet your boss?
The best solution is using crontab.

Command

Just type these command below to use crontab:

crontab -e # Edit your crontab file, or create one if it doesn't already exist.
crontab -l # Display your crontab file.
crontab -r # Remove your crontab file.
crontab -v # Display the last time you edited your crontab file.

File Syntax

* * * * * command to be executed
- - - - -
| | | | |
| | | | +----- day of week (0 - 6) (Sunday=0)
| | | +------- month (1 - 12)
| | +--------- day of month (1 - 31)
| +----------- hour (0 - 23)
+------------- min (0 - 59)


Example

A line in crontab file like below removes the temporary files from /home/myuser/tmp each day at 7:00 AM.

* 17 * * * rm /home/myuser/tmp/*

See Running Process

Just type the command below on your beloved shell. And see the result.

ps -aux | sort +4n

How To Install TGZ Packets?

TGZ is commonly used in linux. It's using tar to archive the files then compress by gzip. It's usually a source code of a program. If you having problem how to install program with this extension, read this carefully. I give an example to install program xxx.tgz

First, extract the file with this command.
# tar -xzf xxx.tgz

Then, move to the xxx folder
# cd xxx

There's usually an INSTALL file. Just go read it.
#vi INSTALL
If theres's no specified How To, we can move to the next step.

Compile the program with command below.
# ./configure

If there's nothing failed, then just go install it.
# make install

The installation is completed.

If the compiling process get stopped, usually it needs a dependency.
 

different paths

college campus lawn

wires in front of sky

aerial perspective

clouds

clouds over the highway

The Poultney Inn

apartment for rent