========================================================== ==============================
Yum Method
Yum install mono monodevelop
========================================================== ==============================
Red carpet Mode
To start the red carpet deamon from the command line, use the following Quick Command. Enter:
Sudo/etc/init. d/RCD start
Sure and start the red carpet GUI application using the root account. Enter:
Sudo/usr/bin/red-carpet
Issue the following commands as root:
Rug SA http://go-mono.com/download-stable
Rug refresh
This will download the most current channel information. Next in order to confirm connectivity with the redcarpet servers run:
Rug Channels
Rug sub mono-official-stable
Rug in mono-complete GTK-sharp-complete
Rug Update-y
========================================================== ================================
Rpm Mode
Rpm-uvh *. rpm -- nodeps
Open gtk-sharp-0.2.1.tar.gz:
Tar-zxvf gtk-sharp-0.2.1.tar.gz
Go to the subdirectory gtk-sharp-0.2.1 and execute:
./Configure -- prefix =/usr
Make
Make install
========================================================== ================================
Sudo user management commands
Name: sudo
User Permissions: users in/etc/sudoers
Usage: Sudo-V
Sudo-H
Sudo-l
Sudo-V
Sudo-K
Sudo-S
Sudo-H
Sudo [-B] [-P prompt] [-u username/# uid]-S
Sudo command
Note: execute commands as system administrators. That is to say, commands executed through sudo are like commands executed by the root user.
parameters:
-V displays the version number
-H displays the version number and instructions
-l displays itself (the user executing SUDO)
-V because sudo is not executed during the first execution or within n minutes (N defaults to 5), the password is asked. this parameter is re-confirmed, if it exceeds n minutes, the user will also ask for the password
-K will force the user to ask for the password during the next sudo operation (whether or not it exceeds n minutes)
-B indicates that the command to be executed is executed in the background.
-P prompt indicates that the password can be changed, and % u indicates the user's account name, % H will display the host name
-u username/# uid without this parameter, indicating that the command is to be executed as root, and this parameter is added, the command can be executed as username (# uid is the user number of this username)
-s the shell specified by the shell in the execution environment variable, or the shell specified in/etc/passwd
-H sets the home (Home Directory) in the environment variable) specify the Home Directory of the user who wants to change the identity (if the-u parameter is not added, it is the root of the system administrator)
command should be changed to the system administrator identity (or to another user by-U) executed command
example:
Sudo-l lists current permissions
Sudo-V lists sudo Version Information