习惯了FreeBSD和RedHat上使用/etc/rc.local 定制服务的自动启动,最近用Debian还真有些不习惯。以下是我搜集到的资料:在debian上创建rc.local文件。
创建文件:
sudo touch /etc/init.d/rc.local
设置可执行:
sudo chmod +x /etc/init.d/rc.local
用update-rc.d设置启动级别:
sudo update-rc.d rc.local start 20 2 3 4 5 . stop 20 0 1 6 .
为了编辑方便,创建一个链接:
sudo ln -s /etc/init.d/rc.local /etc/rc.local
cat /etc/rc.local
# start apache
/home/apache/bin/apachectl start
重启一下,没有问题。
State-owned news agency Xinhua's Chinese home page has commemorated the start of the 'Two Meetings' yesterday with a massive headline reading:
If I was a People's Congress representative or a member of the CPPCC, I would propose...
The headline links to a forum where readers are asked for their proposals and suggestions. Below is a roughly translated random selection of comments from the forum:
- Greatly increase taxes on the urban entertainment industry
- Ensure that citizens can exercize their political rights
- Fight corruption (many comments, some very long, discuss this issue)
- Urgently and immediately discuss and work out a fair and just Chinese retirement law!
- I also want to ask the premier: Do you think education reform has succeeded?
- Tax reform (long, detailed posts about this)
- The problem of laid off workers from state-owned enterprises needs to be addressed
- A list:
1. Implement standard international food safety regulations
2. Take measure to stop government monoploies (especially in medical treatment, electricity supply, railways, telecommunications, water supply, land, and fuel)
3. Greatly increase railway construction
4. Stop charging tolls on national and provincial highways, increase fuel taxes
5. Change the 5 level adminsstrative structure into a 3 level structure
6. Stop issuing of new A shares ... complete reform of listed companies
7. Change the status of peasants so that they become real citizens
8. The emperor controls the waters, success is in dredging, failure is in damming: give the people supervisory powers (a reference to to the Three Gorges dam?)
- Was there any result from the proposals submitted last year?
- Take away the cars given to government cadres
- Strengthen research into laws about rape and gang rape
- Land ownership issues must be cleared up
- Stop cadres causing traffic jams by taking over lanes and redirecting traffic
我正在關注:
Organizational Blogs and the Human Voice: Relational Strategies and Relational Outcomes This study develops and tests operational definitions of relational maintenance strategies appropriate to online public relations. An experiment was designed to test the new measures and to test hypotheses evaluating potential advantages of organizational blogs over traditional Web sites. Participants assigned to the blog condition [...]
Tags: 最新網摘a visual recomposition of the scenes from the film 'The Battle of Algiers' (1965) according to a self-organising, cell-based structure. French Authority & the Algerian Nationalist cells are represented by stills from the film & move according to different behavior rule sets. when cells of different camps intersect, they trigger video cells displaying each side's tactics (as depicted in the film) according to the rules of the system. see also iraq war fatalities.
[whitney.org|via rhizome.org]
a pair of boots which change shape based on the speed of motion of the wearer. by drawing an analogy between respresentations of mechanical movement in contrast to bodily gesture, 'muk.luk.flux' mocks the notion of the 'machine aesthetic'. an accelerometer in the boots tracks the wearers speed & when in motion, the boots expand into their 'engaged' position using a system of mechanical actuators in the structure of the boots. see also wearable warnings.
[mit.edu|via we-make-money-not-art.com]