1. Ensure that your Linux virtual machine is powered on.
  2. If you are running a GUI interface, open a command shell.

    Note: Log in as a root user, or use the sudo command to complete each of these steps.
  3. Click VM in the virtual machine menu, then click Guest > Install/Upgrade VMware Tools and click OK.
  4. To create a mount point, run:

    mkdir /mnt/cdrom
  5. To mount the CDROM, run:

    mount /dev/cdrom /mnt/cdrom
  6. To copy the Compiler gzip tar file to a temporary local directory, run:

    cp /mnt/cdrom/VMwareTools-<version>.tar.gz /tmp/

    Where <version> is the VMware Tools package version.
  7. To change to the tmp directory and extract the contents of the tar file into a new directory called vmware-tools-distrib, run:
    • cd /tmp
    • tar -zxvf VMwareTools-<version>.tar.gz
  8. To change directory to vmware-tools-distrib and run the vmware-install.pl PERL script to install VMware Tools, run:
    • cd vmware-tools-distrib
    • ./vmware-install.pl

      Notes:
      • Follow the screen prompts to install the VMware Tools. Options in square brackets are default choices and can be selected by pressing Enter.
      • To compile VMware Tools successfully, you need gcc Compiler and Linux Kernel sources provided by your Linux distribution. Consult your Linux distribution documentation for details on how to install these packages.
      • It is normal for the console screen to go blank for a short time during the installation when the display size changes.
      • Some warnings or errors are normal, like when a files does not exist.
      • Depending on the Linux distribution, your network service might restart after installation. VMware recommends that you invoke this command from the console and not remotely.
  9. If you are running a GUI interface, restart your X Window session for any mouse or graphics changes to take effect.
  10. To start VMware Tools running in the background during an X Window session, run:

    /usr/bin/vmware-toolbox &
  11. Depending on your environment you may need to unmount the CDROM. To unmount the CDROM, run:

    umount /mnt/cdrom
  12. Depending on your environment, you may need to manually end the VMware Tools installation. To end the VMware Tools install, click VM in the virtual machine menu, then click Guest > End VMware Tools Install.

 

저작자 표시 비영리 동일 조건 변경 허락
신고
크리에이티브 커먼즈 라이선스
Creative Commons License

WRITTEN BY
김병국
유용했던 자료를 기록해 두었습니다. 도움이 되시길~~~ Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you fun

받은 트랙백이 없고 , 댓글이 없습니다.
secret

어떤 유저가 많이 접속하는지 알수 있겠네요.


[root@www src]# ac -p
        root                                26.71
        xxx                          1114.76
        total     1141.47

[root@www src]# ac -d xxx
Jun 14  total        7.67
Jun 15  total        1.08
Jun 28  total       18.23
Jun 29  total        8.96




       ac     [ -d | --daily-totals ]
              [ -p | --individual-totals ] [ people ]

저작자 표시 비영리 동일 조건 변경 허락
신고
크리에이티브 커먼즈 라이선스
Creative Commons License

WRITTEN BY
김병국
유용했던 자료를 기록해 두었습니다. 도움이 되시길~~~ Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you fun

받은 트랙백이 없고 , 댓글이 없습니다.
secret


루프백으로 핑테스트를 해 보면 잘 된다.
# ping localhost 
PING localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.030 ms
64 bytes from localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.038 ms
64 bytes from localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.037 ms


ping 응답하지 않게 설정한후 테스트해본다.

# cd /proc/sys/net/ipv4/
# echo 1 > icmp_echo_ignore_all 
# ping localhost 
PING localdomain (127.0.0.1) 56(84) bytes of data.

--- localdomain ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2010ms


다시 ping 을 허용한다.

# echo 0 > icmp_echo_ignore_all 
# ping localhost 
PING localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.031 ms
64 bytes from localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.056 ms
64 bytes from localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.039 ms

--- localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.031/0.042/0.056/0.010 ms

저작자 표시 비영리 동일 조건 변경 허락
신고
크리에이티브 커먼즈 라이선스
Creative Commons License

WRITTEN BY
김병국
유용했던 자료를 기록해 두었습니다. 도움이 되시길~~~ Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you fun

받은 트랙백이 없고 , 댓글이 없습니다.
secret