Debian install and configure Common Software

Source: Internet
Author: User
Debian-Debian, a common software for installation and configuration, is released in Linux. For details, refer to the following section. 1. Install j2sdk, download the j2sdk-1_4_2_09-linux-i586-rpm.bin file, chmod 755 j2sdk-1_4_2_09-linux-i586-rpm.bin, after running get. rpm file, converted. deb package, and then dpkg-I xxx. deb. The installed files are in the/usr/java directory;

Update: there is a problem with installing jdk using the above rpm package in debian. Some jar files are not expanded, so it is better to download the non-rpm package, extract chmod + x to the desired directory. In ~ Set JAVA_HOME and PATH = $ PATH: $ JAVA_HOME/bin in/bash_profile, and set gnome shell to logon shell in the menu.

2. Install eclipse. After downloading it, You can directly download tar zxvf and create a shortcut on the desktop. The vm parameter points to the bin/java under the installed jdk. Pay special attention to one problem, under the windows development plug-in Project get linux, META-INF directory and in the MANIFEST. MF is lowercase, which may cause many errors during compilation, so make sure they are all lowercase.

3. font and beautification problems are really troublesome. Beautify the font (after all, eye health is very important). It is easier to use this solution for the time being. To solve the xmms garbled code problem, the simplest method is to uninstall xmms and install beep-media-player.

4. Set the environment variables in gnome, // todo, and modify. bash_profile does not work in gnome, but it is useful in the console;

5. Check the position of the deb package after installation, dpkg-L xxx;

6. You can use printscreen to capture full screen or a window area. Alternatively, scrot-d may be 5 seconds delayed. This is suitable for cropping the menu interface, because the hotkey will expire when the menu is opened in gnome;

7. Install gnome theme (gnome-looks.org) IN ~ /. Themes and ~ /. Different topic files are placed in icons; gdesklets is required to be installed in the start bar of a simulated mac; I don't feel practical; install the WordPress topic, run gdmsetup; install the xmms topic, it seems that it takes effect only after gnome is restarted;

8. For volume control in gnome, use gnome-media; For apt in gnome, use gnome-apt (alpha version, Be careful); For deborphan installation, you can find a library that is not used by any package, then apt-get remove can save some space;

9. Many other software. We recommend that you replace the Liunx table of Windows software, which is written by Russians;

10. decompress the .tar.gz file: tar zxvf a.tar.gz.pdf decompress the .tar.bz2 file: tar xfj a.tar.bz2;

11. About Nic configuration: apt-get install etherconf, and then dpkg-reconfigure etherconf; if the wireless network requires a password, iwconfig eth1 key xxxxxx is enough, alternatively, add the wireless_key xxxxxx configuration in/etc/network/interfaces. to automatically obtain the ip address, execute dhclient eth1;

12. Download rssowl from www.rssowl.org to read the blog. However, I found that rssowl has some built-in browser problems in linux, and many formats are lost, which seems to be laborious;

13. Remote Desktop to windows XP in linux, apt-get install grdesktop;

14. using msn on the proxy server in gaim and setting the http Proxy directly in the preference will prompt "Access forbidden: the proxy server prohibits port 1863 from flowing through ", you should select the http Method in the msn account and set the proxy server;

15, install mysql is very simple, direct apt-get install mysql-server-4.1 can be, use a little more trouble than windows gui approach, see this article; in addition, databases copied from mysql in windows cannot be used because table names and field names are case sensitive in linux.

16. Install teTex on sources. add source deb http://debian.ustc.edu.cn/debian-uo/ sid marillat rareware misc ustc in list, then apt-get install tetex-bin tetex-base tetex-extra cjk-latex dvipdfmx dvipdfm-cjk ttf-arphic * tfm-arphic *

To use Chinese characters, download the gbkfonts tool on this website. Use the following command to configure:

Mkdir ~ /Texmf
Cd ~ /Texmf
Gbkfonts/usr/share/fonts/zh/simsun. ttf song
Gbkfonts/usr/share/fonts/zh/simkai. ttf kai
Music cid-x.map dvipdfm/config/
Mkdir dvips/config
Mv cjk. map dvips/config/

Cp/usr/share/texmf-tetex/dvips/config. ps dvips/config/
Echo "p + cjk. map"> dvips/config. ps
Mv pdftex. cfg pdftex/config/
Mktexlsr
The Chinese part of the configuration comes from this webpage and some changes are made. In the. tex file, write as below to display Chinese characters.

\ Documentclass {article}
\ Usepackage {CJK}
\ Begin {document}
\ Begin {CJK} {GBK} {song}
This is latex
\ End {CJK}
\ End {document}

17. Install samba with apt, and then modify/etc/samba/smb. conf, remove the semicolon before security = user; touch/etc/samba/smbpassword to generate the smbpassword file, and then smbpassword-a username to add a user. Display Chinese Characters in smb. add a line under [global] In conf: client code page 936 (windows Access is normal, but the Chinese part of the file name is blank when wifile on palm is used)

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.