惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
B
Blog
A
About on SuperTechFans
大猫的无限游戏
大猫的无限游戏
爱范儿
爱范儿
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Help Net Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
IT之家
IT之家
D
Docker
Google DeepMind News
Google DeepMind News
罗磊的独立博客
T
The Blog of Author Tim Ferriss
aimingoo的专栏
aimingoo的专栏
博客园 - 叶小钗
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
D
DataBreaches.Net
博客园 - 司徒正美
Engineering at Meta
Engineering at Meta

博客园 - vento

[转]15年双11手淘前端技术巡演 - H5性能最佳实践 [转]新兵训练营系列课程——编写优雅代码 [转]新兵训练营系列课程——海量数据存储基础 [转]新兵训练营系列课程——平台RPC框架介绍 [转]mysql binlog in realtime 利用IDA Pro反汇编程序 WinDbg入门 小巧方便的ORM类库——PetaPoco 2011总结 门户网站的ip查询接口 Lucene实践 xp3中运行s60 v3模拟器,出现闪退问题的解决方法 使用Mono.Cecil更改程序集dll特性 增加Android模拟器的"Internal Storage"容量 WSGI处理流程图 linux常用命令 如何查看哪些进程和服务器正在使用数据库 了解IIS的主机名(Host Headers)配置项 如何在ubuntu server 10.04中安装vmware tools
ubuntu日常操作
vento · 2012-10-30 · via 博客园 - vento

工作用电脑将会切换到ubuntu上了,记录下ubuntu常用操作。

===升级到php5.4===

For Ubuntu 11.10/12.04:
sudo add-apt-repository ppa:ondrej/php5
sudo apt-get update
sudo apt-get install php5
For Ubuntu 10.04 LTS, run the following commands (Thanks to Ivan Castellanos for the extra tip):

sudo echo "deb http://ppa.launchpad.net/ondrej/php5/ubuntu lucid main" >> /etc/apt/sources.list
sudo echo "deb-src http://ppa.launchpad.net/ondrej/php5/ubuntu lucid main" >> /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E5267A6C
sudo apt-get update
sudo apt-get install php5
You can check if PHP 5.4.x is successfully installed with this command:

php5 -v

http://www.zimbio.com/Ubuntu+Linux/articles/D_AsJR2qAL6/How+Upgrade+PHP+5+4+Ubuntu

===开启ubuntu的root帐号===

$ sudo passwd root
[sudo] password for ramesh:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

http://www.thegeekstuff.com/2009/09/ubuntu-tips-how-to-login-using-su-command-su-gives-authentication-failure-error-message/

===安装SSH连接服务===

sudo apt-get install openssh-server

https://help.ubuntu.com/10.04/serverguide/openssh-server.html

===apache卸载、nginx和php安装===

http://cc.ecjtu.net/posts/php-5-4-Nginx-ubuntu-make-install php交互命令行:http://phpsh.org/