Ubuntu System Construction

Source: Internet
Author: User

1. Install Samba in sudo apt-Get install samba

2. sudo apt-Get install kdenetwork-filesharing

3. Set permissions for chmod 777-r/home/loyo.

4. CP/etc/samba/smb. conf/etc/samba/smb. conf_backup backup configuration file

5. Edit the configuration file sudo gedit/etc/samba/smb. conf.
(1) locate # Replace SECURITY = user with the following two lines
Security = user
Username map =/etc/samba/smbusers
(2) Add at the end of the file
[Loyo]
Comment = shared folder with username and password
Path =/home/work-loyo

Valid users = loyo

Public = No
Writable = Yes
 

6. sudo adduser -- home/work-loyo/loyo
Sudo smbpasswd-A loyo and set the logon password (note that this is the samba account)
7. Set an SSH user
Sudo passwd loyo is the password of the SSH remote Logon account. Only the password can be set for SSH logon.
Chown-r loyo: loyo/home/work-loyo
Chmod U + rwx, G + rwx, o-rwx/home/work-loyo only allows loyo users to access
Or chmod 700-r/home/work-loyo.
8. sudo gedit/etc/samba/smbusers: Create the smbusers file and add loyo = "Network username"
9. Restart the/etc/init. d/samba4 Restart service (sometimes/etc/init. d/samba restart sometimes)
The above steps have been tested

Run the "delete account" command to change the preceding-a to-x sudo smbpasswd-x new.

Chown-r mzhguang: mzhguang Alps/

Chown-r mzhguang: Root/home/work-mzhg
Chmod 777-r/home/work-mzhg

 

Sudo/etc/init. d/networking restart
Apt-Get install Subversion
SVN help
SVN commint-H
Sudo apt-Get remove GCC Delete lower version gcc
Sudo apt-Get install g ++-multilib g ++-4.4-multilib install 4.4.3gcc

Apt-Get install tofrodos
Apt-Get install mingw32

Couldn't find package g ++-multilib

Sudo apt-Get update

apt-get install flex bison gperf  build-essential curl zlib1g-dev g++-multilib g++multilib g++-4.4-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32readline5-dev lib32z1-dev mingw32jdksoftware center first 
 
JAVA_HOME=/opt/1.6.0_23-ubuntu-10.04/x86_64#JAVA_HOME=/mtkoss/jdk/jdk1.6.0_23 #oldexport JAVA_HOME# Overwrite ANDROID_JAVA_HOME environment variable setting if already exists#ANDROID_JAVA_HOME=/mtkoss/jdk/jdk1.6.0_23ANDROID_JAVA_HOME=/opt/1.6.0_23-ubuntu-10.04/x86_64export ANDROID_JAVA_HOME# Overwrite PATH environment setting for JDK & arm-eabi if already exists#PATH=/opt/eclipse-3.5-SR2-J2EE-ANDROID23:/opt/eabi/arm-eabi-4.4.0/bin:/opt/1.6.0_23-#ubuntu-10.04/x86_64/bin:/opt/android_sdk_2.3/tools:/opt/wine-1.1.33-i686/bin:$PATH:/usr/bin:/#usr/sbin:/bin:/sbin$PATHPATH=/mtkoss/jdk/jdk1.6.0_23/bin:/opt/eabi/arm-eabi-4.4.3/bin:./prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$PATHexport PATH

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.