Category Archives: vps 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, 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 2012.01.14 No Comments linux, vps 一键安装VPN(xen或者Linux服务器PPTPD一键安装包)← Continue Reading 这个PPTP一键安装包是由DiaHosting提供的,只能在XEN VPS上安装。 一、在SSH里下载PPTPD.SH wget http://www.diahosting.com/dload/pptpd.sh 二、运行。 sh pptpd.sh 这样,pptp已经完全安装在你的VPS上,快的让人想不到吧。安装完毕后,会显示用户名和密码,你可以记录下来使用,或者用下面的办法修改: ... 2012.01.14 No Comments linux, vps pdo 安装← Continue Reading wget http://pecl.php.net/get/PDO_MYSQL-1.0.2.tgz tar zxvf PDO_MYSQL-1.0.2.tgz cd PDO_MYSQL-1.0.2 /www/wdlinux/php/bin/phpize ./configure --with-php-config=/www/wdlinux/php/bin/php-config --with-pdo-my... 2012.01.14 No Comments linux, vps linux 常用命令整理← Continue Reading rm -rf /xxx 删除目录 tar -zcvf directory.tar.gz directory 除了将目录打包外,同时以gzip 压缩 tar -xzvf file.tar.gz //解压tar.gz 1、*.tar 用 tar –xvf 解压 2、*.gz 用 gzip -d或者gunzip 解压 3、*.tar.gz和*.tgz 用 tar –xzf 解压 4、*.bz...