Category Archives: linux 2012.02.8 No Comments linux, 学习 Linux一键rsync配置实现文件同步← Continue Reading 数据库同步请点击:数据库同步 主服务器 wget -c http://www.imfeng.com/downforlnmpa/rsync/rsserver.sh chmod +x rsserver.sh ./rsserver.sh 会提示输入 帐号 密码 服务器IP地址 同步服务器IP地址 同步文件路径 然后会自动安装好 同步服务器 ... 2012.02.8 No Comments linux Linux部署Mysql数据库主从同步← Continue Reading 主服务器IP: 250.110.120.119 从服务器IP: 110.120.119.250 1.在主服务器新建一个用户,给从服务器同步使用。 GRANT ALL PRIVILEGES ON *.* TO 'tongbu'@'110.120.119.250.' IDENTIFIED BY'tongbu'; 意思是新建一个用户名为tongbu 密码为tongbu 具有所有操... 2012.01.14 No Comments linux, vps, 学习 Debian配置使用Dotdeb更新源← Continue Reading Debian官方的源一般都以稳定为主,所以里面的软件版本也相对比较低,Dotdeb的源更新速度比较快,而且里面的软件包都是最新稳定版的,所以我使用Debian一般都喜欢加入Dotdeb的源,安装最新的稳定版软件。 根据Dotdeb.org官方的使用说明,对照着英文大概翻译下Dotdeb源的使用方法: 1.根据你使用的Debian的发行版本(lenny/oldstable 或 squeeze/sta... 2012.01.14 No Comments linux, vps centos +xfce4+vnc 全自动挂vagex← Continue Reading 安装轻量级的桌面xfce。 yum -y groupinstall xfce-4.4 安装中文支持(可选) yum -y groupinstall chinese-support 安装vnc进行远程桌面控制 yum -y install vnc-server 修改vncsercwer的配置文件 vi /etc/sysconfig/vncservers 改为 VNCSERVERS="1:root" ... 2012.01.14 No Comments linux, vps CentOS Linux VPS Kloxo/Lxadmin虚拟主机控制面板安装教程← Continue Reading 执行如下命令: wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh sh ./kloxo-installer.sh --type=master 先按提示,然任意建开始安装,后面会有提示,一般输入y,回车就行。 国内主机可能安装要慢点了,因为是在线安装(更新源在国外),使用美国主机的朋友们很快就... 2012.01.14 No Comments linux, vps CentOS vncserver配置← Continue Reading 一、VNC简单介绍: VNC,全称为Virtual NetworkComputing,它是一个桌面共享系统。它的功能,类似于windows中的远程桌面功能。VNC使用了RFB(RemoteFrameBuffer,远程帧缓冲)协议来实现远程控制另外一台计算机。它把键盘、鼠标动作发送到远程计算机,并把远程计算机的屏幕发回到本地。VNC技术与平台无关,VNC Viewer可以和VNCServer在不同... 2012.01.14 No Comments linux, magento LNMP 编译安装 innoDB← Continue Reading magento 需要innoDB cd mysql-5.1.44/ ./configure --prefix=/usr/local/mysql --with-extra-charsets=all --enable-thread-safe-client --enable-assembler --with-charset=utf8 --enable-thread-safe-client --with-... 2012.01.14 No Comments linux, vps 重启Apache命令各linux版本← Continue Reading Slackware Linux命令: /etc/rc.d/rc.httpd restart ubuntu、Debian 系统命令: /etc/init.d/apache2 restart Fedora 、Redhat、CentOS系统重启Apache命令: /etc/init.d/httpd restart 或 service httpd restart Page: 1 of 2 1 2