chkconfig --list dhcp
also can use this command with other service
chkconfig --list <services>
Translator
Monday, September 27, 2010
Saturday, September 25, 2010
Squid Server Command
to shutdown squid
/etc.init.d/squid stop
squid -k shutdown
service squid stop
to start squid
/etc/init.d/squid start
squid -D
service squid start
squid -CFs
to add swap space on squid
squid -z
to check squid status
/etc/init.d/squid status
squid -NCd10
to test squid connection
squidclient http://www.yahoo.com
squidclient http://www.yahoo.com > test
to change squid settings
nano -w /etc/squid/squid.conf
Labels:
Nota - Linux
Command PING kind of "spoof"
ping -n 100 -l 500
example
ping 10.10.10.10 -n 100 -l 500
Labels:
Nota - Command
Ubuntu Linux OpenSSH Server installation and configuration
Ubuntu SSHD Installation
# sudo apt-get install openssh-server openssh-client
SSHD Configuration
# ssh localhost
OR
# ssh user@your-server-ip-address
To Use SSH Client
# ssh fiezol@userver.domain.com
To Start/Stop/Restart SSH Server
# sudo /etc/init.d/ssh stop/start/restart
Labels:
Nota - Linux
If encounter problems on this line while installing VMWARE Server 2
If you encounter problems on this line while installing VMWARE Server 2
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
Enter /lib/modules/{your current kernel version 2.6xxxxxx}/build/include
If that does not work the kernel headers might need removing:
yourPC# sudo apt-get --purge remove linux-headers-`uname -r` build-essential
And then reinstalled again:
yourPC# sudo apt-get install linux-headers-`uname -r` build-essential
That may save a few people a lot of time.
Labels:
Nota - VMWare
if want to install vmware server 2 with fresh ubuntu OS
must install
apt-get install build-essential
apt-get install gcc
Labels:
Nota - Linux
iLO Remote Console In Use Solution
Under the tabs
Remote Console - Settings - Settings, click enable aquire
Under the System Status tab, you can go into diagnostics and there is a button to reset iLO2. No need to remove power from the system.
Another way that works on either iLO or iLO2 is to go into the network settings, change an option and set it back to the previous value, then click save, this will reset iLO / iLO2
Labels:
Nota - HP iLO
Solution for Ip Limited On Windows Vista
Start > RUN
Open : taip regedit
Pilih
HKEY_LOCAL_MACHINE
then SYSTEM
then CurrentControlSet
then Services
then TCPIP
then Parameters
then Interfaces
then {GUID} berkaitan network
Right-click on (GUID)
Select NEW > Pilih DWORD VALUE 32bit
Namakan : DhcpConnDisableBcastFlagToggle
then press ENTER.
Right-click DhcpConnDisableBcastFlagToggle
then click Modify
In the Value data box, type 1, and then click OK.
Make a invisible folder
rename folder with
ALT + 0160
To delete it on Windows Vista
add that folder as a .RAR file... then delete it...
Labels:
Nota - Windows
allow TELNET on Windows Vista or 7
add service
control panel > programs and features > Turn Windows features on or off > tick telnet client
Allow PING at firewall setting on Windows 7
On CMD enter this command
To Enable
netsh firewall set icmpsetting 8 enable
To Disable
netsh firewall set icmpsetting 8 disable
Labels:
Nota - 7,
Nota - Windows
Driver Notebook/Laptop HP Compaq CQ20-213TU WINDOWS XP Driver
After Download This Driver, Follow The Number Of The File Number For The Propering Installation (Base On My Experience)
Labels:
Driver Notebook
Change Default RPC Port
1) Start Registry Editor.
2)Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
3)On the Edit menu, click Modify, and then click Decimal.
4)Type the new port number, and then click OK.
5)Quit Registry Editor.
6) Restart PC >> DONE
Labels:
Nota - Windows
Extract + Install .tar.gz file
1) Open command console
2) sign in as the super user by typing in “su” (enter) then entering your root password when prompted.
3) then go to the directory (folder) where the .tar.gz file is located. for example if it is in your home folder type in “cd /home/” and hit enter
4) type in “tar -zxvf ” and hit enter this will extract the files and create a new directory (folder)
5) go into that folder using “cd ”
6) enter in “./configure” into the command line. this will configure the files. (answer any questions asked)
7) when that’s done enter in “make” into the console. when that’s done enter in “make install”
8) type "clean install"
And you’re all done!!!
IF CAN'T TRY USING
sudo aptitude install build-essential
TO INSTALL THE PACKAGE 1ST
Labels:
Nota - Linux
Command Update, Install and Remove Package In Gentoo
update package database : emerge rsync
install package : emerge [package]
remove package : emerge unmerge [package]
example
install package : emerge xchat
remove package : emerge unmerge xchat
Location directory of VMWARE Linux x86-64
Binary - /usr/bin
demon - /usr/bin
lirbary files - /usr/lib/vmware
manual files - /usr/share/man
documentation files - /usr/share/doc/vmware
init scripts - /etc/init.d
rc0:d/ rc6:d/ - /etc
VMware VIX API - /usr/bin
VMware VIX API Library - /usr/lib/vmware-vix/lib
VMware VIX API documents - /usr/share/doc/vmware-vix
Labels:
Nota - VMWare
Installing VMWARE Linux Server x86_64
Finally i have successfull install vmware linux server x86_64 by refering this website... THANK TO AUTHOR of that website... u r so wise...
Labels:
Nota - VMWare
Add static IP on Ubuntu
edit --> /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address [ip address]
netmask [subnet mask]
broadcast [x.x.x.255]
gateway [ip gateway]
then
edit --> /etc/resolv.conf
nameserver [dns ip]
nameserver [external dns ip]
done
/etc/init.d/networking restart <-- restart network
netmask [subnet mask]
broadcast [x.x.x.255]
gateway [ip gateway]
then
edit --> /etc/resolv.conf
nameserver [dns ip]
nameserver [external dns ip]
done
/etc/init.d/networking restart <-- restart network
Labels:
Nota - Linux
Can't install .taz.gz files ??
try install
apt-get install build-essential
@
apt-get install checkinstall
apt-get install build-essential
@
apt-get install checkinstall
Labels:
Nota - Linux
Wednesday, September 22, 2010
Mount NTFS Sharing Folder On UBUNTU
MOUNT NTFS SHARING FOLDER ON UBUNTU
$sudo mount -t smbfs -o username=myusername //ipaddress/sharename[location]/media/test[destination]
contoh $sudo mount -t smbfs -o username=administrator //192.168.0.10/share /media/test
atau
$sudo mount -t smbfs -o username=administrator //192.168.0.10/share /home
Cara Nak UNMOUNT
umount /
contoh
umount /dev
$sudo mount -t smbfs -o username=myusername //ipaddress/sharename[location]/media/test[destination]
contoh $sudo mount -t smbfs -o username=administrator //192.168.0.10/share /media/test
atau
$sudo mount -t smbfs -o username=administrator //192.168.0.10/share /home
Cara Nak UNMOUNT
umount /
contoh
Labels:
Nota - Linux
Tweak Limited IP on Windows Vista
TWEAK LIMITED IP ON WINDOWS VISTA
Start > RUN
Open : regedit
Choose
HKEY_LOCAL_MACHINE
then SYSTEM
then CurrentControlSet
then Services
then TCPIP
then Parameters
then Interfaces
then {GUID} berkaitan network
Right-click on (GUID)
Select NEW > Pilih DWORD VALUE 32bit
Namakan : DhcpConnDisableBcastFlagToggle
then press ENTER.
Right-click DhcpConnDisableBcastFlagToggle
then click Modify
In the Value data box, type 1, and then click OK.
Start > RUN
Open : regedit
Choose
HKEY_LOCAL_MACHINE
then SYSTEM
then CurrentControlSet
then Services
then TCPIP
then Parameters
then Interfaces
then {GUID} berkaitan network
Right-click on (GUID)
Select NEW > Pilih DWORD VALUE 32bit
Namakan : DhcpConnDisableBcastFlagToggle
then press ENTER.
Right-click DhcpConnDisableBcastFlagToggle
then click Modify
In the Value data box, type 1, and then click OK.
Labels:
Nota - Windows
Subscribe to:
Posts (Atom)