haloi 发表于 2018-10-24 09:21:09

ubuntu server安装之后的整理工作

  又重装了ubuntu server,用的64的13.10。现在把安装过程中及安装完成后的整理工作记下来。
  1、语言选择英文,键盘布局美国,时区香港或上海。不安装更新,选择安装软件有LAMP,JAVA,SAMBA。
  2、设置网络,ifconfg 查看网络连接,设置自动启动并静态IP,
  //etc/network/interfaces
  /* 代码
  auto 连接名(如:eth0、p4p1)
  iface 连接名 inet atatic(静态)---如自动,则为dhcp
  address 192.168.0.*
  netmask 255.255.255.0
  gateway 192.168.0.1
  dns-nameservers 8.8.8.8
  */
  3、添加mysql管理员用户
  mysql -h127.0.0.1 -uroot -ppassword
  grant all on *.* to 'user'@'%' identified by 'pw';
  //mysql 命令的使用单独说
  4、挂接共享目录
  mount -o username=*****,password=**** //192.168.0.1/sharename //media/sharename
  5、帝国备份王还原数据库。
  操作看教程,如果空白
  直接修改//etc/php5/apache2/php.ini
  shart_open_tag = On
  6、安装telnet 具体方法单独说

页: [1]
查看完整版本: ubuntu server安装之后的整理工作