Linux study notes

  
 

sudo apt-get update #Update your source list, you must execute sudo apt-get upgrade after the source change #update software sudo apt-get install nautilus-open-terminal #terminal add right-click menu sudo apt-get install nautilus -gksu # will open the folder graphical interface with root privileges Sometimes the configuration network can not take effect, you can use the command line to configure the IP command line configuration as follows sudo gedit /etc/network/interfacesDHCP configuration is as follows (assuming eth1 Internet access) # The primary network interface Use dh1 to dh1 and then restart sudo /etc/init.d/networking /specified as staticaddress 192.168.3.90 //IP address gateway 192.168.3.1 //gateway netmask 255.255.255.0 //subnet mask also needs to restart sudo /etc/init.d/networking restart If necessary, configure DNSsudo gedit /etc /resolv.confnameserver 192.168.3.21.deb package installation sudo dpkg -i *.deb2. compile and install the way (tips Before using the compiler installation, you need to create a build environment first, use the following command to create a basic build environment: sudo apt-get install build-essential) 1 ./configure2 make3 sudo make install3.apt-get install method sudo apt-get install software name 4. Binary package installation method There are a lot of non-open source commercial software will use this way to release Linux software, such as google earth, after getting the binary software, put it in the /tmp directory, enter the installation directory under the terminal, in Execute the installation directory: ./software name and then follow the step-by-step instructions to install the software. 5. rpm package installation method First we need to install a rpm to deb software sudo apt-get install alien and then you can rpm format The software is converted into the deb format: alien -d *.rpm and then you can use the deb installation method for software installation or you can install the rpm package directly without conversion: alien -i *.rpm more alien usage methods can be Use the -h parameter to view the corresponding documentation

Copyright © Windows knowledge All Rights Reserved