20131209-5 选题

This commit is contained in:
DeadFire 2013-12-09 16:43:08 +08:00
parent 291c5e26d7
commit 861ca46dea
2 changed files with 207 additions and 0 deletions

View File

@ -0,0 +1,108 @@
10 Linux Interview Questions and Answers for Linux Beginners Part 3
================================================================================
Continuing the **Interview Questions** series, with a big thanks for the nice feedback on last two articles of this series, we are here presenting **10 questions** again for interactive learning.
- [11 Basic Linux Interview Questions and Answers Part 1][1]
- [10 Basic Linux Interview Questions and Answers Part II][2]
![](http://www.tecmint.com/wp-content/uploads/2013/12/Basic-Interview-Questions-Part-3.png)
### 1. How will you add a new user (say, tux) to your system.? ###
- useradd command
- adduser command
- linuxconf command
- All of the above
- None of the above
> **Answer** : All of the above commands i.e., **useradd, adduser** and **linuxconf** will add an user to the Linux system.
### 2. How many primary partition is possible on one drive? ###
- 1
- 2
- 4
- 16
> **Answer** : There are a maximum of **4** primary partition possible on a drive.
### 3. The default port for Apache/Http is? ###
- 8080
- 80
- 8443
- 91
- None of the above.
> **Answer** : By default Apache/Http is configured on port **80**.
### 4. What does GNU stand for? ###
- GNUs not Unix
- General Unix
- General Noble Unix
- Greek Needed Unix
- None of the above
> **Answer** : GNU stands for **GNU**s not **Unix**.
### 5. You typed at shell prompt “mysql” and what you got in return was “cant connect to local MySQL server through socket /var/mysql/mysql.sock”, what would you check first. ###
> **Answer** : Seeing the error message, I will first check if mysql is running or not using commands **service mysql status** or **service mysqld status**. If mysql service is not running, starting of the service is required.
**Note**:The above error message can be the result of ill configured **my.cnf** or mysql **user permission**. If mysql service starting doesnt help, you need to see into the above said issues.
### 6. How to Mount a windows ntfs partition on Linux? ###
> **Answer** : First install **ntfs­3g** pack on the system using **apt** or **yum** tool and then use “**mount sudo mount ­t ntfs­3g /dev/<Windows­partition>/<Mount­point>**” command to mount Windows partition on Linux.
### 7. From the following which is not an RPM based OS.? ###
- RedHat Linux
- Centos
- Scientific Linux
- Debian
- Fedora
> **Answer** : The **Debian** operating system is not an **RPM** based and all listed above are **RPM** based except Debian.
### 8. Which command can be used to rename a file in Linux.? ###
- mv
- ren
- rename
- change
- None of the Above
> **Answer** : The **mv** command is used to rename a file in Linux. For example, **mv /path_to_File/original_file_name.extension /Path_to_File/New_name.extension**.
### 9. Which command is used to create and display file in Linux? ###
- ed
- vi
- cat
- nano
- None of the above
Answer : The **cat** command can be used to create and display file in Linux.
### 10. What layer protocol is responsible for user and the application program support such as passwords, resource sharing, file transfer and network management? ###
- Layer 4 protocols
- Layer 5 protocols
- Layer 6 protocols
- Layer 7 protocols
- None of the above
> **Answer** : The **Layer 7 Protocol** is responsible for user and the application program support such as passwords, resource sharing, file transfer and network management.
--------------------------------------------------------------------------------
via: http://www.tecmint.com/linux-interview-questions-and-answers-for-linux-beginners/
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://www.tecmint.com/basic-linux-interview-questions-and-answers/
[2]:http://www.tecmint.com/basic-linux-interview-questions-and-answers-part-ii/

View File

@ -0,0 +1,99 @@
TeamViewer 9 Released Install on RHEL/CentOS/Fedora and Debian/Ubuntu
================================================================================
This guide shows how to install **Teamviewer 9** on **RedHat, CentOS, Fedora** and **Debian**, **Ubuntu**, **Linux Mint**, **Xubuntu** systems. **Teamviewer** is a one of the most popular application for remote assistant, Desktop sharing or transferring files between computers, web conferencing and online meetings etc. Teamviewer is a proprietary application.
However, its a freeware for personal use. Teamviewer is available for **Windows, Linux, Mac OS, Android** and **iPhone**. Teamviewer uses **WINE** application which is integrated within it. We dont have to [install WINE application][1]separately. **Teamviewer** is not a native **Linux** application.
Recently, the latest stable version of **TeamViewer 9** released with new features and many improvements. Following are some of the new features are added in **TeamViewer 9** which are highlighted below:
### Features for Windows, Linux and Mac ###
- Open multiple connections in different tabs
- Support for Wake-on-LAN
- Added two factor authentication for TeamViewer accounts
- Support for Windows 8.1 and Mac OS X Mavericks
- Save custom modules such as QuickSupport, QuickJoin, etc.
- API Integration
- Stronger security of the Teamviewer account
- Quick connection via desktop shortcut
- Visual notification
- Copy and paste files and text between computers
- Initiating file transfers to computers
- Quick connection via desktop shortcut
- Faster video transfers
### How do I Install Teamviewer 9 on RedHat, CentOS, Fedora ###
You may download package for rpm based Linux distributions at [teamviewer_linux.rpm][2].
Let us start installation. Go to the directory from where you have downloaded package and execute following yum command to install it. It will install missing dependencies.
# wget http://www.teamviewer.com/download/teamviewer_linux.rpm
# yum install teamviewer_linux.rpm
If you get missing public key error, you can download public key and import it using the following command.
# wget http://www.teamviewer.com/link/?url=354858
# rpm --import TeamViewer_Linux_PubKey.asc
After importing the public key, please run the “**yum install**” command again to install the Teamviewer rpm.
To start Teamviewer application, run the following command from the terminal.
# teamviewer
Teamviewer application running on my **Fedora 18** system.
![Running TeamViewer in Fedora 18](http://www.tecmint.com/wp-content/uploads/2013/02/f-t3.jpg)
*Running TeamViewer in Fedora 18*
### How do I Install Teamviewer 9 on Ubuntu, Linux Mint, Xubuntu ###
You may download teamviewer package for **32-bit** or **64-bit** systems at [teamviewer linux .deb][3] packages. or you can download the package using **wget** command as shown below.
## 32 Bit System ##
$ sudo wget http://www.teamviewer.com/download/teamviewer_linux.deb
## 64 Bit System ##
$ sudo wget http://www.teamviewer.com/download/teamviewer_linux_x64.deb
Once youve downloaded the package, go to the directory where youve downloaded Teamviewer package and run the following command to install it.
## 32 Bit System ##
$ sudo dpkg -i teamviewer_linux.deb
## 64 Bit System ##
$ sudo dpkg -i teamviewer_linux_x64.deb
If you get missing dependencies error, please use the following command to install those dependencies.
sudo apt-get install -f
Once installation is done. To start Teamviewer package on **Ubuntu** Linux, go to **Dash Home** and type **teamviewer** and click on **teamviewer** icon to run application.
![Running TeamViewer in Ubuntu 13.10](http://www.tecmint.com/wp-content/uploads/2013/02/u-t1.png)
*Running TeamViewer in Ubuntu 13.10*
Teamviewer application running on my **Ubuntu 13.10** system.
![TeamViewer 9 Under Ubuntu 13.10](http://www.tecmint.com/wp-content/uploads/2013/02/u-t2.jpg)
*TeamViewer 9 Under Ubuntu 13.10*
To start on **Linux Mint**, Go to **Menu >> Internet >> Teamviewer** and click on **Accept License Agreement** to run application.
Teamviewer application running on my **Linux Mint 15**.
![Running TeamViewer in Linux Mint 15](http://www.tecmint.com/wp-content/uploads/2013/02/m-t5.png)
*Running TeamViewer in Linux Mint 15*
--------------------------------------------------------------------------------
via: http://www.tecmint.com/how-to-install-teamviewer-on-linux-distributions/
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://www.tecmint.com/install-wine-in-rhel-centos-and-fedora/
[2]:http://www.teamviewer.com/download/teamviewer_linux.rpm
[3]:http://www.teamviewer.com/hi/download/linux.aspx