Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Some practical tips Linux     - How to install Nginx on FreeBSD 10.2 as an Apache reverse proxy (Server)

- Linux Security and Optimization (Linux)

- NFS installation process under the CentOS (Linux)

- Java class loading order (Programming)

- Use Oracle 11g show spparameter command (Database)

- Red Hat Enterprise Linux configuration VNC multi-user access methods (Linux)

- How to Install Apache on Linux servers (Server)

- VirtualBox 4.3 Can not open a new task for a virtual computer solution (Linux)

- Nginx Proxy timeout Troubleshooting (Server)

- Confrontation dragged Library - Web front-end encryption slow (Linux)

- installation and configuration of the PHP environment (Apache2) under Linux (Server)

- Let Mac OS X dedicated high-speed mobile hard disk can also be read in Linux (Linux)

- Oracle EBS R12 for Linux installation (Database)

- CentOS 6.7 compile and install LAMP (Server)

- Use a soft Raid play multiple SSD hard drive performance and enhance data security (Linux)

- Using IntelliJ IDEA 13 integrated development environment to build Android (Linux)

- Save the database data files into Oracle Learning (Database)

- On event processing browser compatibility notes (Programming)

- Python kills corresponding process according to pid (Programming)

- Ubuntu 15.04 installation Powercommands 2.0 (Linux)

 
         
  Some practical tips Linux
     
  Add Date : 2016-05-23      
         
       
         
  I have written a series of tips and tricks for Linux article. The purpose of writing this article is to let you know that these tips can effectively manage your system / server.

Create Cdrom ISO image and monitor user in Linux

In this article, we will see how to use the CD / DVD drive to load the disc to create ISO image; open the manual pages random study; see the details of the user's login and view the browser memory usage, and all the full use of local tools / command, without any third-party applications / components. let's start......

Create an ISO image using CD discs

We often need to backup / copy the contents of the CD / DVD. If you are on a Linux platform, it does not require any additional software. All is needed is to enter the Linux terminal.

From a CD / DVD ISO image is created on, you need to do two things. The first thing is CD / DVD drive name need to find. CD / DVD drive name you want to find, you can use the following three methods.

1. From the terminal / console lsblk command (listed block device)

$ Lsblk

Get a block device

Can be seen from the figure, sr0 is your cdrom (ie, / dev / sr0).

2. To view information about the CD-ROM, you can use the following command

$ Less / proc / sys / dev / cdrom / info

Check information Cdrom

Can be seen from the figure, the device name is sr0 (ie, / dev / sr0).

3. Use the dmesg command will get the same information and use egrep to customize the output.

Command 'dmesg' output command / control kernel buffer information. 'Egrep' command to output matching rows. When using egrep -i option and -color ignore case, and highlight the matching string.

$ Dmesg | egrep -i --color 'cdrom | dvd | cd / rw | writer'

Find Device Information

You can see, the device name is sr0 (ie, / dev / sr0).

Once you know the CD / DVD name later, on Linux you can use the following command to create the ISO image (you see, you can just cat!).

$ Cat / dev / sr0> /path/to/output/folder/iso_name.iso
Here 'sr0' is my CD / DVD drive name. You should use your CD / DVD name instead. This will help you to create ISO images and backup of the contents of the CD / DVD without any third-party applications.

Create CDROM ISO image

Open a random page manual

If you are new and want to learn to use the Linux command-line switches, this skill is for you. Add the following line of code at the end of the ~ / .bashrc file.

/ Use / bin / man $ (ls / bin | shuf | head -1)
Remember to add the top line of the script in the user's .bashrc file, rather than the root .bashrc file. So, the next time you log on locally or remotely using SSH, you'll see a random open man pages for you to read. Who want to learn the command-line switches novice, which proved to be beneficial.

The following is the terminal log in twice, respectively, see.

LoadKeys man page

Zgrep man page

I hope you know how to exit the manual page for the browser - if you are tired of every time to see the man page, you can delete your .bashrc file to add a few lines.

View user's login status

Learn what other users are sharing on the server to do.

Under normal circumstances, you is shared Linux server users or administrators. If you are worried about the security of their servers and what you want to see what users are doing, you can use the command w.

This command lets you know if someone is tampering with the server or execute malicious code, let him stop or use other methods. 'W' is to check the status of the logged in user's preferred way.

To see what the logged-on user is doing, from a terminal run the command "w", preferably root user.

# W

Check the Linux user status

Check the browser's memory usage

Recently a lot of talk about the memory usage of Google-chrome. To check the memory usage of the browser, simply type in the address bar "about: memory", without the quotes.

I've Google-Chrome and Mozilla Firefox web browsers were tested. You can view any browser, if it works well, you might recognize our comments below. You can also kill the browser process in the process of Linux terminal / service.

In Google Chrome, the address bar enter about: memory, you should get something similar to the following.

See Chrome Memory Usage

In the Mozilla Firefox browser, the address bar enter about: memory, you should get something similar to the following.

Check Firefox Memory Usage

If you already know what it is, in addition to these options. To check memory usage, you can also click on the leftmost 'Measure' option.

Firefox master process

It will show the process tree memory usage of the browser.

So far the case. I hope that all of the above tips will help you. If you have one (or more) tips to share with us, to help Linux users to more effectively manage their Linux system / server.
     
         
       
         
  More:      
 
- JavaScript file loader LABjs API Explanation (Programming)
- nginx.conf Optimization (Server)
- Java data structures - order linear form of table ArrayList (Programming)
- CentOS 6.4 install and configure Squid Proxy Server (Linux)
- Python when automated operation and maintenance often used method (Programming)
- Make full use of the Raspberry Pi SD card space (Linux)
- Drawing from the Android source code analysis View (Programming)
- In-depth summary of the PHP core of object-oriented (Programming)
- RHEL (RedHat) 6.3 using EPEL Yum source (Linux)
- Java implementation chain store binary tree (Programming)
- Zabbix installation and configuration process (Server)
- C ++ you can become a new scripting language (Programming)
- Oracle 11g maintenance partitions (eight) - Renaming Partitions (Database)
- Linux GCC 5.1.0 compiler installation (Linux)
- Ubuntu buffalo wzr-hp-300nh brush DD-WRT router system (Linux)
- Linux system performance and usage activity monitoring tools -Sysstat (Linux)
- Oracle view object space usage show_space (Database)
- iOS developers - a simple factory pattern and OC reflection (Programming)
- Oracle DATABASE LINK (DBLINK) Create (Database)
- SQLite3 simple operation (Database)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.