`
fushcpc
  • 浏览: 24835 次
社区版块
存档分类
最新评论

The things need to be done after installed Ubuntu

 
阅读更多
装完VM后,在(.vmx)配置文件中加入
mainMem.useNamedFile="FALSE"

如果安装的是ubuntu-server版,要安装gnome界面执行如下命令:
sudo apt-get install gnome-desktop

1. Go back to the gnome
sudo apt-get install gnome-session-fallback

2. Install the SSH
sudo apt-get install openssh-server openssh-client

解决安装vmware-tools时碰到的找不到header的问题:
sudo apt-get update && sudo apt-get install build-essential linux-headers-$(uname -r)

sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h

详见:http://askubuntu.com/questions/131351/how-to-install-vmware-tools

3.安装中文字体支持时会因为一种字体无法完整下载而导致其暂停安装且一直无反应,这时可以手动下载并安装这种字体解决这个问题:
http://mirror.bjtu.edu.cn/ubuntu/pool/main/t/ttf-wqy-zenhei/
在12.04上面对应的版本应当是:
http://mirror.bjtu.edu.cn/ubuntu/pool/main/t/ttf-wqy-zenhei/ttf-wqy-zenhei_0.9.45-3_all.deb

NOTE:
安装好vmware-tools后,并且也设置了share folder,但有时在/mnt/hgfs目录下并没有看到共享的文件夹,这时只需要执行以下命令重新配置VM就可以了:
sudo vmware-config-tools.pl

4.Install and set up JDK
% chmod +x 6u <version>-linux-x64.bin
% ./jdk-6u <version>-linux-x64.bin

% sudo vim /etc/profile

Add below properties to the file:
JAVA_HOME=/apps/jdk1.6.0_43/
export JRE_HOME=$JAVA_HOME/jre
export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH

sudo update-alternatives --install /usr/bin/java java /apps/jdk1.6.0_43/bin/java 300

sudo update-alternatives --install /usr/bin/javac javac /apps/jdk1.6.0_43/bin/javac 300

sudo update-alternatives --config java

Check the configuration:
java -version

5. ubuntu自动加载NTFS分区
sudo vim /etc/fstab  文件中添加下面几行信息即可。
/dev/sda2 /media/jimmy/ssd ntfs default 0 1
/dev/sdc2 /media/jimmy/other ntfs default 2 0
/dev/sdb1 /media/jimmy/study ntfs default 1 0

6. 配置可以在终端使用的快捷命令
vim ~/.bashrc


alias vi="vim"
alias update="sudo apt-get update"
alias upgrade="sudo apt-get upgrade"
alias install="sudo apt-get install"
alias ..="cd .."
alias ...="cd ../.."
alias d="cd /media/jimmy/ssd"
alias e="cd /media/jimmy/study"
alias f="cd /media/jimmy/other"
alias tool="cd /media/jimmy/study/Tools/Linux"
alias shutdown="sudo shutdown -h now"
alias reboot="sudo reboot"
alias mv="mv -i"
alias cp="cp -i"
alias ls="ls -l"
alias remove="sudo apt-get --purge remove"


source ~/.bashrc

7. ubuntu eclipse 紧凑界面
sudo vim /usr/share/themes/Ambiance/gtk-2.0/gtkrc
修改为下面
GtkToolbar::internal-padding = 0

8. Install GoAgent
a. install python
wget http://python.org/ftp/python/3.3.2/Python-3.3.2.tar.bz2 && tar jxvf Python-3.3.2.tar.bz2 && cd Python-3.3.2 && ./configure && make && sudo make install

wget http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.13.tar.gz && tar zxvf pyOpenSSL-0.13.tar.gz && cd pyOpenSSL-0.13 && sudo python3 setup.py install

sudo apt-get install python-vte

python3 proxy.py
分享到:
评论

相关推荐

    Ubuntu The Complete Reference

    - **Java Clients**: Brief introduction to Java-based applications and how they can be installed and run on Ubuntu. #### Part VI - Security **Chapter 17 - Encryption, Integrity Checks, and Signatures...

    installACMModule.zip

    More than likely, you will need to replug the USB device for it to be detected properly after installing the kernel module. These scripts check the version magic of the module and compares it to the ...

    .Net Framework 4.6.1.rar

    《.Net Framework 4.6.1:构建...而当用户遇到“This application requires .Net Framework 4.6 or higher to be installed.”这样的提示时,只需下载并安装相应的.NET Framework版本,即可确保应用程序的正常运行。

    zlib1g_1.2.3.3.dfsg-15ubuntu1

    出现这个问题后用老版本覆盖用:zlib1g-dev : Depends: zlib1g (= 1:1.2.3.3.dfsg-15ubuntu1) but 1:1.2.3.4.dfsg-3ubuntu1 is to be installed

    prince-14.2-win64-setup.rar

    在IT行业中,生成高质量的技术文档或报告经常需要将代码、图表和文本组织成结构化的PDF文件。`VSCode`(Visual Studio Code)是一款流行的源代码编辑器,它支持各种编程语言和扩展,使得这个任务变得更加方便。...

    a project model for the FreeBSD Project.7z

    It contains information about where to fetch the source, what patches to apply and how, and how the package should be installed on the system. This allows automated tools to fetch, build and install ...

    .netFrameowrk4.6和安装说明.rar

    在win7下安装vs2019企业版报错:This application requires.Net framework 4.6 or higher to be installed.Please install the latest.net frameowrk form https://go.microsoft.com/fwlink/?linkid=840938, or ...

    英文原版-Beginning Ubuntu Linux Natty Narwhal Edition 6th Edition

    Whether you aim to use it in the home or in the office, you’ll be introduced to the complete world of Ubuntu Linux, from simple word processing to using cloud services. You’ll learn how to control...

    Ubuntu18.04离线安装g++和make

    g++-9_9.4.0-1ubuntu1~18.04_amd64.deb gcc-9_9.4.0-1ubuntu1~18.04_amd64.deb make_4.1-9.1ubuntu1_amd64.deb

    【船级社】 BV Cybersecurity requirements for products to be installed

    【船级社】 BV Cybersecurity requirements for products to be installed on-board naval ships 2018-07.pdf

    WIN7 X64 PDF缩略图 补丁软件 修复PDF BUG

    If you had Adobe Reader installed under Vista and later upgraded to Windows 7 then you will probably still need to run the preview handler fix once to clean up a registry value which Adobe set ...

    User's Manual.doc

    If it is necessary to move the equipment or carrying other workings that need to cut off the power, the power should be turned off to ensure the safety of the equipment. 1.3 Cable Placing articles ...

    PIL-1.1.7.win32-py2.7(解决ImportError The _imagingft C module is not installed)

    导入字库的时候都会遇到mportError The _imagingft C module is not installed错误,此安装包,包含了freetype库。win7 32位操作系统测试通过,64位请绕道,用pillow。

    VclZip pro v3.10.1

    IMPORTANT: If installing the registered version, please be sure to always re-install/rebuild the components (VCLZip and VCLUnZip) to the component pallette (or rebuild the design time package) so that...

    在Ubuntu14.04上离线安装mysql5.7.19时需要的两个依赖包

    从mysql官网上下载mysql-server_5.7.21-1ubuntu14.04_amd64.deb-bundle.tar,然后进行离线安装,解压该安装包,会出现11个依赖包,按照顺序依次使用sudo dpkg -i 进行安装,中间会报错,显示缺少相应的依赖,具体...

    表格控件Vcl TopGrid.v3.01

    or if a version of the TopGrid is already installed on the Delphi Component Palette, the TopGrid components will need to be installed manually in the Delphi IDE before they can be used. To install ...

    Envision Image Library - Version 3.10

    Envision Image Library - Version 3.10 ...The design-time package need to be installed in the Delphi In the IDE of all versions, this is done from the Component | Install Packages menu.

    球球大作战原版agar.io源代码

    To run the game, you need to have: NodeJS with NPM installed SocketIO Express Installation After clone the source code from Github. You need to run: npm install All the dependencies (socket.io, ...

    tModLoader.Windows.v0.11.6.2.7z

    Terraria的MOD扩展,仅限1.3.5使用 ...If you are installing tModLoader onto a machine that will be running a dedicated server, you'll need to install the un-modded Terraria server first: ...

    linqer_4.6.0.0_trial.exe

    You need to have Microsoft .NET Framework 4.5 ,Microsoft .NET Framework 4.0 , or Microsoft .NET Framework 3.5 installed on your computer to be able to use Linqer. Visual Studio needs to be installed, ...

Global site tag (gtag.js) - Google Analytics