The best way to find large files on your Linux system is to use the command line. This how-to will suggest a few methods for listing such files in specific. Riak can consume a large number of open file handles during normal operation. The Bitcask backend in particular may accumulate a high number of data files before it. Q. How do I find out all large files in a directory? A. There is no single command that can be used to list all large files. But, with the help of find. Wiki that covers CentOS 7 tweaks and how to configured Tuned for optimal performance. FAQ/Cent. OS7 - Cent. OS Wiki. 1. I used to use the boot. Where has it gone? Starting with EL6, upstream decided to remove boot. Due to the large size of this image, we have decided to do the same. The network installation disk image is named netinstall. Why does my Ethernet not work unless I log in and explicitly enable it? 1. I used to use the boot.iso image to do network installations. Where has it gone? Starting with EL6, upstream decided to remove boot.iso from the images/ directory. This violates the Unix rule of "not breaking expectations". Upstream has changed the default configuration to use Network. Manager and interfaces are (somewhat inexplicably in the case of Ethernet) not enabled by default. This can be worked around at install time where you have the possibility to enable your network card at the main installer screen, where the installer asks for your language/keyboard/storage devices/software installation. On this screen is a button labeled "Network & Hostname". Click that button, select the Ethernet connection you want to edit and click the "Off"- Button on the top right corner. Assuming DHCP is available you will see the connection in question getting a network address. If you have to configure your network settings by hand, press the "Configure" button, enter the desired values and save them. You probably have to disable and re- enable the just configured NIC for the changes to take affect. Now press "Done" and that's it. You can also make these changes with Network. Manager (System; Preferences; Network Connections or right click on the little network icon in the notification area and Edit Connections..) after the installation is complete. If you are not using Network. Manager, the same result can be obtained by editing the configuration file for the network interface ( normally /etc/sysconfig/network- scripts/ifcfg- eth. ONBOOT=no to ONBOOT=yes Some setups seem to also require the addition of a line: BOOTPROTO=dhcp where a DHCP setup is in play; Static IP setups would take: BOOTPROTO=static of course The ONBOOT edit may be performed (as root) and assuming the relevant device is eth. ONBOOT="no@ONBOOT="yes@' ifcfg- eth. As to "breaking expectations": The foregoing example uses a 'traditionally' named network device of: eth. Hylafax 6 on Centos 5. I'm doing another SCO to Linux conversion and this one used Vsifax. That's hardly a show stopper, but this customer wanted to use Centos and. Other device names are also possible, including for example: em. Like it or not, this change in approach in interface naming is the future path for Linux. It was previewed in in the upstream's "testing distribution". See also the materials at: Dell's writeup and a blog post from an insider there. And what if I want the old naming back? These are the necessary steps: Add "net. In '/etc/sysconfig/network- scripts/' Change your configured NIC config file to 'ifcfg- eth. X' If you have multiple interfaces and want to control naming of each device rather than letting the kernel do in its own way, /etc/udev/rules. But I just want it to work and to hand- edit the configuration files. Many installations do not require the complexity of the Network. Manager tool, and use hand- edited configuration files instead. Here is a sample non Network. Manager DHCP interface configuration: [root@example ~]# cat /etc/sysconfig/network- scripts/ifcfg- eth. NM_CONTROLLED="no". PERSISTENT_DHCLIENT=1. IPV4_FAILURE_FATAL=yes. IPV6_AUTOCONF=yes. IPV6_DEFROUTE=yes. IPV6_PEERDNS=yes. IPV6_PEERROUTES=yes. IPV6_FAILURE_FATAL=no. HWADDR="0. 0: 2. 1: 7. E: CD". NM_CONTROLLED="no". BOOTPROTO=static. BOOTPROTO=dhcp. IPADDR=1. NETMASK=2. 55. 2. GATEWAY is sometimes in: /etc/sysconfig/network. GATEWAY=1. 0. 1. 6. DNS servers may optionally be placed in: [username@hostname]$ cat /etc/sysconfig/network. HOSTNAME=acme. example. DNS1=1. 0. 1. 6. 1. DNS2=7. 6. 2. 42. SEARCH=example. com. The information there is 'optional' because a DHCP server can hand out these values. The initscripts are able to figure out hostname and so forth when a well- populated DNS environment exists, from PTR records and such, but some users need to manage such details manually. For more information, the full initscripts documentation files may be listed thus: rpm - qd initscripts even in a environment lacking the man manual reading package and its dependencies. How do I disable IPv. Upstream employee Daniel Walsh recommends not disabling the ipv. SELinux and other components, but adding the following to /etc/sysctl. To disable in the running system: echo 1 > /proc/sys/net/ipv. Additional note #1: If problems with X forwarding are encountered on systems with IPv. Change the line #Address. Family any. to Address. Family inet. (inet is ipv. Remove the hash mark (#) in front of the line #Listen. Address 0. 0. 0. 0. Then restart ssh. Additional note #2: If problems with starting postfix are encountered on systems with IPv. Additional Note #3 : To disable RPCBIND ipv. From where can I download the 3. The 3. 2- bit release of Cent. OS 7 can be downloaded from http: //mirror. What have you done with ifconfig/netstat? The ifconfig and netstat utilities have been marked as deprecated in the man pages for Cent. OS 5 and 6 for nearly a decade and Redhat made the decision to no longer install the net- tools package by default in Cent. OS 7. One reason to switch is that ifconfig does not show all details of ip addresses assigned to interfaces - use the ip command instead. The replacement utilities are ss and ip. If you really really need ifconfig and netstat back then you can yum install net- tools.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
October 2016
Categories |