Backup and recovery of Linux environment variables

Modification to environment variables is inevitable during development. Manual modification of environment variables is self-evident, and export can only affect the current shell. Only the source variable modified in the script can make the parent

Install the NVIDIA graphics card driver in Ubuntu Linux

First check whether the video card is installed Run: glxinfo | grep Rendering If "direct rendering: yes" is displayed 1. Download the driver Http://www.nvidia.com/page/home.html I downloaded the NVIDIA-Linux-x86-100.14.19-pkg1.run file.

Embedded Linux porting Summary

Modify and compile the kernel Add or modify ARCH/XX/mach-xx.c files, Modify the first parameter of machine_start as ID, Modify the clock s3c24xx_init_clocks (12000000) in static void _ init xx_map_io (void ); Modify the NAND

Uncompress. zip.7zand. RAR files under Linux

1)for. ZipIn Linux, zip and unzip are provided.Program, Zip is the compression program, unzip is the decompression program. They have many Parameter options, which can be viewed by the command zip-help and unzip-help. Here we will only give a brief

[Linux Device Driver (Third edition)] -- Timer: Timer

Document directory JIT. c Makefile Load Test Uninstall [Linux Device Driver (Third edition)] ---- Timer: timerjit. c #include #include #include #include #include #include #include #include #include #include //jiffies#include #include

Update the graphics card driver and kernel to solve the problem of stopping at starting atd: [OK] during linux Startup.

It's a little complicated. You can ignore this and simply execute the commands I listed. Method 1: In some cases, the new install Gforce Drivers do not supporte the "nouveau" module,It indicates that in some cases (probably because the kernel is

Linux network configuration in VMware in Windows

(1) configuration in Windows (1) configure the local connection as follows: (2) Configure VMware network adapter vmnet1 as follows: (3) Configure VMware network adapter vmnet8 as follows:   (2) configuration in Linux (1) the configuration of the

Install and configure intel tbb in linux

Download the latest TBB library. My database is tbb30_20100822oss_src;Tar zxvf tbb30_20100822oss_srcGo to the extract directory and execute make.Cd buildChmod + x *. shSh generate_tbbvars.shSh tbbvars. shCd linux_intel64_gcc_cc4.1.2_libc2.5_kernel2.6

Linux Process Communication Signal

1. Communication between processes: signal, pipeline, FIFO (named pipeline), semaphore, message queue, and shared memory 2. Signal Functions: 1. The signal is the smallest communication unit between processes or between processes and the kernel. 2.

Message Queue for inter-process communication in linux

1. Create a message queue: Int msgget (key_t key, int flags );Function: If the IPC_CREAT bit is set in flags, create a new queue.The value of the key.When the key value is IPC_PRIVATE, it indicates that the key value is generated by the system.If

Linux TCP packet receipt Process

The TCP receiver has three types of Queues: 1 Backlog Queue (sk-> backlog) 2 Prequeue Queue (tp-> ucopy. prequeue) 3 Receive Queue (sk-> receive_queue)   Then let's look at the differences between the three queues. First, the sk_backlog queue is

Linux configuration Source

After installing fedora, you usually need to reconfigure the yum source. The default source is too slow. Generally, 163 and sohu are faster. Yum has many sources, so sohu's   Cd/etc/   Back up the source file (optional) Mv yum. repos. d yum. repos.

Linux commands frequently used in summary

Common decompression commands Tar.bz2 command: tar-jxvf * .tar.bz2 Tar. z command: tar-zxvf *. tar. z Tar.gz command: tar-Zxvf * .tar.gz PS: You can use man to help with these parameters. Note that these parameters are case sensitive. The software

The blue giant IBM has increased its support for Desktop Linux to challenge Microsoft's dominance

By introducing the Linux Lotus Notes Collaboration Suite and Symphony office tools, IBM has increased its support for Linux, hoping this initiative will help Microsoft take over from the throne of the King of desktop software. IBM said this week

How to generate automake for Makefile in Linux

As a program developer in Linux, you must have encountered Makefile. It is really convenient to compile your own programs by using the make command. Generally, you can write a simple Makefile manually. If you want to write a Makefile that complies

Develop a shared library in Linux

Basic knowledge: linux static library and shared library How to compile a static library in linux 1. What is a database?A large number of libraries exist on windows and linux platforms.Essentially, a library is a binary form of executable code that

Common commands and Application Deployment in Linux

Download jdk: Like jdk-1_5_0_22-linux-i586-rpm.binDownload tomcat: for example, apache-tomcat-6.0.26.tar.gz Install JDK1. JDK Installation1.1 decompress the package and grant the download program the executable permission.$ Chmod a + r + x jdk-1_5_0_

Use ssh to log on to other linux machines

First install openvpn Software Sudo apt-get install openvpn After this command is run, the client and server are installed by default,   Because we are only used to connect to other openvpn servers, we will not describe the server settings or

Use wc in linux to count the number of file lines

Sometimes the file may be too large. You just want to know the number of lines and use the following command Cat xxx.txt | wc-l However, this is a rare case. More often, you want to count the number of rows that you want to know, such Cat xxx.txt

Install Linux Ubuntu on a USB flash drive

Install ubuntu on a USB flash drive to boot the system (bios must be able to boot the USB flash drive. in addition, you can unplug the USB flash drive on any computer at any time to use the eye-catching ubuntu. Of course, your USB flash drive

Total Pages: 5467 1 .... 4322 4323 4324 4325 4326 .... 5467 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.