记录下Ubuntu安装配置

前端之家收集整理的这篇文章主要介绍了记录下Ubuntu安装配置前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
sudo apt-get purge libreoffice* gnome-sudoku sudo apt-get remove iptables ufw sudo apt-get install openssh-server sysv-rc-conf curl tree git-core git # RTC time as Local Time,same as Windows: timedatectl set-local-rtc 1 --adjust-system-clock sudo vi /etc/fstab UUID=790cdfbb-a004-4dff-904a-424b445bfe8e /home/konga/study ext4 defaults 0 0 UUID=6d05d2fe-8e68-4faf-895e-1fe6b78b58ae /home/konga/work ext4 defaults 0 0 /home/konga/work/.swap swap swap defaults 0 0 sudo apt install yasm libsdl2-dev ### libx11-dev xorg-dev libxext-dev #for QEMU sudo apt-get install zlib1g-dev libglib2.0-dev autoconf automake libtool gcc-arm-linux-gnueabi sudo apt-get install openjdk-8-jdk libssl-dev gnupg flex bison gperf build-essential sudo apt-get install gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev -------------- sudo apt-get install tftp-hpa tftpd-hpa bridge-utils uml-utilities ------------------------------------------------------ QEMU编译: cd qemu-XXXXX ./configure --target-list=arm-softmmu make make install ------------------------------------------------------ # /etc/default/tftpd-hpa TFTP_USERNAME="tftp" TFTP_DIRECTORY="/home/konga/work/qemu/image" TFTP_ADDRESS=":69" TFTP_OPTIONS="--secure" ------------------------------------------------------ sudo apt-get install nfs-server sudo vi /etc/exports /home/konga/work *(rw,sync,no_root_squash) /home/konga/study *(rw,no_root_squash) sudo /etc/init.d/nfs-kernel-server restart ------------------------------------------------------- sudo apt-get install samba samba-common sudo vi /etc/samba/smb.conf security = user [homes] comment = Homes browseable = yes writable = yes sudo smbpasswd -a konga sudo service smbd restart ------------------------------------------------------- #add to ~/.bashrc s() { sed -i "s/$1/$2/g" `find . -type f` } export PS1='[\u@\h \w]\$ ' alias f='find . -name' alias g='grep -rn --exclude-dir={.git,.svn,.repo} --exclude=*.{o,img,so,a}' alias r='cd ..' alias r2='cd .. ; cd ..' alias r3='cd .. ; cd ..; cd ..' export FFMPEG_HOME=~/work/bin/ffmpeg export QEMU_HOME=~/work/bin/qemu export ANDROID_SDK=~/work/bin/android-sdk export ANDROID_NDK=~/work/bin/android-ndk-r14b export ANDROID_STUdio=~/work/bin/android-studio export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 export CLASSPATH=.:$JAVA_HOME/lib export PATH=$ANDROID_NDK:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools:$PATH export PATH=$QEMU_HOME/bin:$FFMPEG_HOME/bin:~/work/bin:$JAVA_HOME/bin:$PATH export MANPATH=$MANPATH:$FFMPEG_HOME/share/man export PKG_CONFIG_PATH=$FFMPEG_HOME/lib:$PKG_CONFIG_PATH export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/' ---------------------------------------------------------------------- 桌面启动器:AndroidStudio.desktop [Desktop Entry] Version=1.0 Type=Application Name=AndroidStudio Comment=AndroidStudio Exec=/home/konga/work/bin/android-studio/bin/studio.sh Icon=/home/konga/work/bin/android-studio/bin/studio.png ==================================
原文链接:https://www.f2er.com/ubuntu/349559.html

猜你在找的Ubuntu相关文章