Linux Command Reference

Thursday, May 18, 2006 at 10:38 pm (Linux Support)

Linux is case sensitive; it means that Case is different from case as well as cAsE.

Commands

Syntax

useradd – script to create an new user interactively.

useradd oscar

userdel – delete user

userdel oscar

groupadd – add group

groupadd vinta

groupdel – delete group

groupdel vinta

mount – mount a filesystem or all entries in fstab

mount /mnt/cdrom

umount – unmount a filesystem or all entries in fstab

umount /mnt/cdrom

tar – extract tar.gz files

tar xzpf oscar.tar.gz

rpm – redhat package manager, install rpm based files

rpm –uvh oscar.rpm

df – show free disk space

df

shutdown -Shutdown computer

shutdown –h now

passwd – set password for the user.

passwd oscar

ifconfig – check ip address

ifconfig

netconfig – menu based Ethernet configuration

netconfig

ping – check network connectivity

ping yahoo.com

Permalink Leave a Comment

Set-up Local Network Browsing in Bayanihan Linux

Monday, May 1, 2006 at 11:04 am (Linux Setup and Configuration)

Paano magsetup ng Local Network Browsing sa Bayanihan Linux para makita ang shared folders sa windows.

1. Maglogin as root
2. I-edit ang /etc/rc.d gamit ang pabotiro mong text editor (Vi) at I-add ito sa script
chkconfig lisa on
service lisa start
3. I-save at exit

Paano I-configure ang LISA Daemon

1. Piliin ang Control Center
2. Piliin ang Internet and Network > Local Network Browsing.
3. Piliin ang LISA Daemon Tab at pindutin ang Suggest Settings Button. Pindutin ang Apply Button.
4. Piliin ang ResLISA Daemon Tab and pinduting ang Suggest Settings Button. Pindutin ang Apply Button.
5. Exit sa Control Center.
6. Piliin ang System Settings > Server Settings > Services.
7. Lagyan ng Check ang LISA checkbox at I-click ang Restart Button
8. I-restart ang Computer

Permalink Leave a Comment

Coyote Linux Router/Firewall

Monday, May 1, 2006 at 5:54 am (Linux Setup and Configuration)

Paano gumawa ng Linux Router/Firewall sa pamamagitan ng Coyote Linux

Mga Kailangan:

IP Address kung Static ang IP na bigay ng ISP

PPPOE username and Passwd kung PPPOE ang Authentication na gamit ng ISP (DSL)

DHCP kung Smartwifi

486DX or Higher PC,

16MB RAM

Floppy Drive

Floppy Disk (New)

2 NIC Cards (100MBPS suggested)

1. i-download ang coyote linux firewall windows wizard (coyote linux wizard-2.24.0)

2. I extract ang file sa pamamagitan ng winzip.

3. i-run ang coyote.exe. pindutin ang "next"

4. Local Area Network (LAN) addressing.
Maaring Palitan kung gustong gumamit ng ibang IP Address para sa inyong LAN, o kaya naman kung meron na kayong na setup na IP Address gaya ng 192.168.0.X. Ang default LANIP and subnet ay makikita ang imahe sa ibaba. pindutin ang "next"

5. Login Configuration
Ang screen na ito ay para sa remote login ng administrator. I-type ang passwd para sa administrator. pindutin ang "next"

6. Dito mamili kung ano ang default connection sa isp kung smartwifi piliin ang DHCP assigned. At pindutin ang next.

7. Lagyan ng check ang enable the coyote DHCP Server para mai-set ang LAN address ng inyong network at ilagay kung ilan ang maximum IP Address ng mga computer. Pindutin ang next.

8. Piliin ang card para sa LAN (nakakabit sa HUB/Switch) at Internet Card (para sa ISP). Pindutin ang “next”

9. Piliin ang Language na gagamitin. At pindutin ang “next”

10. Pindutin ang Create Disk Button

11. Pagkatapos mg create ng disk ay pindutin ang next at finish. Meron ka ng Linux Router/Firewall disk.

12. I boot ang disk na ito. Pagkatpos mg boot pumunta sa isang computer at gamitin ang iyong web browser para pumunta sa site ng iyong router i-type ang address sa address field ng iyong browser para makita ang configuration 192.168.0.1:8180.

13. Meron ka ng isang Linux/Router firewall gamit ang luma mong computer.

Permalink Leave a Comment

Yahoo Mail Beta

Monday, May 1, 2006 at 4:09 am (Network and Security)

For those who want to use yahoo mail beta but does not have invitation.. try this quick hack… enjoy

  • Log in to Yahoo Mail
  • click Options
  • select Account information from the left panel
  • go to Member Information, General Preferences, Preferred Content
  • select, for example, Yahoo UK
  • click Finished
  • go to Yahoo Mail
  • youll see a page that says Its the New Yahoo! Mail Beta… and youre invited.
  • click on Try Beta Now.

Permalink Leave a Comment

Bare-Metal Server Restore using TAR

Monday, May 1, 2006 at 4:06 am (Data Recovery & BackupTips)

Great Article about restoring and backup of Linux Production Servers by Keith Winston..

Bare-Metal Server Restore using TAR

Permalink Leave a Comment

SmartWiFi Security

Monday, May 1, 2006 at 2:19 am (Network and Security)

I recently subscribe to smartwifi and guessed what I discover…..

 

I have 3 computers running Windows XP, Bayanihan Linux, and a dedicated Linux Router/Firewall. I got disconnected one day so decided to use my WindowsXP just to test the connection, after I release and renew my IP address I have also checked my Microsoft Network and as I have checked it I can actually see other workgroup computers and checked their shared folder… if this computer does not have a router/firewall installed one can easily checked or browse one shared folder and can easily get accessed to their home computer… I think smart should act on this security they are applying on their connection specially those computers connected directly to their network… if your just using one (1) computer directly connected to the their wireless router disable your windows file and printer sharing.. how to do this right click on LAN and go to properties and uncheck file and printer sharing … disable all shared folders and I my suggestion is to use a router that has a built in firewall link dlink or linksys if you have multiple computers or if you have a 486 computer or an ordinary Pentium class computer that you don’t use then you can set this as a router/firewall using linux… just go to coyote linux website and download the router/firewall and set this up on your computer… it runs only on a single floppy no monitor, hard drive or cdrom needed to run this system administration can be performed via web.. happy browsing or should I say hacking…..hehehehehe…

Permalink Leave a Comment

« Previous page