Topic Text   Topic Comments (7)   Topic Properties   Topic Information zj077543@gma...
Topic title: test Wednesday August 6, 2008 07:13:54

Download topic text | View in monospace font | Tab width set to 8 (change to 4)

Files in topic: (view all files)  
linux_information.txt   {+139,-0}

[Add General Comment] to topic.

File linux_information.txt (Revision 1.0) [Add File Comment] [Top]
 
1 1.??chm???????????
2 sudo apt-get install gnochm
3
4
5 2.right click to open terminal:
6 sudo apt-get install nautilus-open-terminal
7
8 3.vi
9 vi ~/.vimrc
10 add: syntax on
11 set nu
12
13
14 4.sudo apt-get install mysql-server mysql-client
15
16 5.PDF chinese(Evince)
17 sudo apt-get install xpdf-chinese-simplified xpdf-chinese-traditional poppler-data
18
19 6. sudo apt-get install sysv-rc-conf ?????level???,?????????
20 sudo sysv-rc-conf
21
22 7.gtk???
23 sudo apt-get install vim #??vim???????????????????????
24
25 sudo apt-get install build-essential #????gcc/g++/gdb/make ???????
26
27 sudo apt-get install gnome-core-devel #???? libgtk2.0-dev libglib2.0-dev ?????????
28
29 sudo apt-get install pkg-config #?????GTK????????????????
30
31 sudo apt-get install devhelp #???? devhelp GTK??????
32
33 sudo apt-get install libglib2.0-doc libgtk2.0-doc #???? gtk/glib ?API???????????
34
35 sudo apt-get instal glade libglade2-dev #??????GTK????????
36 ??
37 gcc base.c -o base `pkg-config --cflags --libs gtk+-2.0`
38
39 8.
40 under bash shell: use export command to see all environment variables
41 use export VARIABLENAME = "value" to set environment(tmp)
42 or sudo vi /etc/environment
43
44
45 9.scim
46 $sudo gedit /etc/X11/xinit/xinput.d/all_ALL??
47 GTK_IM_MODULE=
48 QT_IM_MODULE=
49 ???????????
50 GTK_IM_MODULE="scim"
51 QT_IM_MODULE="scim"
52
53 $sudo gedit /etc/X11/xinit/xinput.d/zh_CN
54 ??
55 GTK_IM_MODULE=xim
56 QT_IM_MODULE=xim
57 ??
58 GTK_IM_MODULE="scim"
59 QT_IM_MODULE="scim"
60 ????X????scim????????
61
62 10.format sourcefile
63 indent example.cpp
64
65 20.LAMP
66 apache2:source code install (path:/usr/local/apache2)
67 ssl:source code install (path:/usr/local/ssl)
68 mysql:sudo apt-get install mysql-server mysql-client (path:sudo vi /etc/mysql/my.cnf)
69 php:sudo apt-get install php5 php5-mysql (path:sudo vi /etc/php5/apache2/php.ini)
70 phpmyadmin:sudo apt-get install phpmyadmin (path:/usr/share/phpmyadmin
71 use:sudo ln -s /usr/share/phpmyadmin/ /var/www)
72
73
74 21.LAMP
75 sudo vi /etc/apache2/apache2.conf(configuration apache2)
76 the directory of /etc/apache2 include all configuration files of apache2
77 put myown web at /var/www/
78 sudo /etc/init.d/apache2 restart(restart apache2)
79 sudo vi /etc/php5/apache2/php.ini(configurate php)
80 sudo /etc/init.d/apache2 start/restart/stop
81
82
83 22./usr/bin/mysql -uroot -pzj077543 -> ~/Desktop/winestore.data
84
85
86
87
88
89 26.????????????????
90 cat file | tr [:lower:] [:upper:] > newfile
91
92 27.???????????????????????????????????.txt???????.sh
93 find /some/directory/ -name "*.txt" -exec rename 's/\.txt$/.sh/' {} \;
94
95
96
97
98 29.cvs
99 a.install
100 sudo apt-get install cvs cvsd
101 sudo cvsd-buildroot /var/lib/cvsd
102 cd /var/lib/cvsd
103 sudo mkdir cvsrepo
104 sudo cvs -d /var/lib/cvsd/cvsrepo init
105 sudo chown cvsd:cvsd -R /var/lib/cvsd/cvsrepo/
106 sudo cvsd-passwd /var/lib/cvsd/cvsrepo bbs
107 b.configure
108 sudo vi /var/lib/cvsd/cvsrepo/CVSROOT/config
109 ??"SystemAuto=no"??#?
110
111 sudo vi /etc/cvsd/cvsd.conf
112 ??RootJail /var/lib/cvsd //?cvsd????
113 ??????
114 Repos /cvsrepo
115 sudo /etc/init.d/cvsd restart
116 c.use
117 export CVSROOT=:pserver:bbs@192.168.1.113:/cvsrepo
118 cvs login
119 cvs logout
120
121 cvs import –m “Create Source Dir” cvstest/c tang cvstest
122 ???????????????cd?cvstest???????? $CVSROOT/cvstest/c ??? ?? -m ???????????????????????????????????vi??????????
123 tang, cvstest?????????????
124
125 ???????import??????????????????????????????????????????
126
127 cvs checkout cvstest/c?????????
128
129 30. ubuntu mysql????
130 ?ubuntu?mysql??,????????????????????mysql?????
131 1?????????????:grant all privileges on drupal.* to user@192.168.1.80 identified by 'user-password';
132 ??????????????add host->any host????????root?????????????????????
133 2???mysql?????
134 ??/etc/mysql/my.cnf
135 # Instead of skip-networking the default is now to listen only on
136 # localhost which is more compatible and is not less secure.
137 bind-address = 127.0.0.1
138 ?”bind-address = 127.0.0.1“??
139 sudo /etc/init.d/mysql restart????????
 
File linux_information.txt (Revision 1.0) [Add File Comment] [Top]
  
Legend:
Removed 
Changed
 Added

[Add General Comment] to topic.