1,启动服务:两种方式:

            /etc/init.d/networking start  /etc/init.d/mysql start  

            #:service mysql start  service networking start(stop,restart)

            $:sudo service mysql start(stop,restart)

2, linux 程序安装位置:多数位于/var/lib/下面

3,配置文件一般位于:/etc/下:如我们mysql配置文件位于:/etc/mysql/my.conf

4,日志文件一般位于:/var/log/下

5,电脑启动时候出现:wait for networking start解决办法:

    vi /etc/network/interfaces   修改文件只剩:

auto lo
iface lo inet loopback

    重新启动

6,查看ubuntu版本:cat /etc/issue

7,代码统计工具(linux)cloc.

8,将网页下载,生成pdf文件wkhtmltopdf

9,修改apache 访问目录到/home/username/www

    1,vim /etc/apache2/sites-available/default

    2, DocumentRoot   /home/username/www

    3,<Directory /home/username/www/>

    4,/home/username/    下建立文件mkdir www

    5,重启apache服务器  

            1,service apache2 restart,

            2,/etc/init.d/apache2 restart.

10,netstat -nlp 查看服务状态

11,查看cpu信息:vi /proc/cpuinfo

http://www.cnblogs.com/sosoft/

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2022-12-23
  • 2021-06-12
  • 2021-12-16
  • 2021-12-08
  • 2021-06-25
猜你喜欢
  • 2021-12-30
  • 2022-01-23
  • 2021-11-05
  • 2021-08-11
  • 2021-11-07
  • 2021-07-18
  • 2022-01-08
相关资源
相似解决方案