解压源代码
# tar xvzf stat –tnl |grep :80 过滤80端口 2、启动服务 # /usr/local/apache2/bin/apachectl start 编辑apache配置文件/etc/ 停止WEB服务 /usr/local/apache2/bin/apachectl start 启动WEB服务 5、让apache自动启动 # echo “/usr/local/apache2/bin/apachect1 start” >>/etc/rc.local
解压源代码 # tar xvzf mysql-5.0.67.tar.gz # cd / mysql-5.0.67 解压缩后编译 # ./configure --sysconfdir=/etc //编译,检查系统配置环境,配置文件目录是/etc # make &> make.log & //编译,挂到后台执行 # tail -f make.log h //查看后台执行情况 # make; make install # cp /usr/local/share/mysql/f /etc/f //把f配置文件拷贝到/etc/f 1、初始化数据库 # useradd -d /usr/local/var mysql # su - mysql $ /usr/bin/mysql_install_db $ cd /usr; /usr/bin/mysqld_safe & 2、 启动服务器 $ /usr/bin/mysqld_safe/ 用/usr/local/bin/mysql登录测试 3、$ mysql –u root 登陆数据库 Mysql>s 看版本 Mysql>q 退出 4、让mysql数据库服务器自动启动 5、cp /usr/local/share/mysql/mysql.server /etc/init.d/mysqld # chkconfig mysqld on # /etc/rc.d/init.d/mysqld status 检查mysql有没有启动 # /etc/rc.d/init.d/mysqld start启动服务 解压源代码 # tar xvjf php-4.4.9.tar.gz # cd / php-4.4.9 1、解压缩后运行 # ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local # make ; make install # cp /usr/src/php-4.4.9/php.ini-dist /usr/local/lib/php.ini 2、编辑apache配置文件/etc/httpd.conf,增加Addtype application/x-httpd-php .php .phtml 3、编写测试页面 cd /usr/local/apache2/htdocs vi test.php <?php phpinfo(); ?>
昨天晚上有收到VULTR服务商的邮件,如果我们有清楚的朋友应该知道VULTR对于新注册用户已经这两年的促销活动是有赠送100美元最高余额,不过这个余额有效期是30天,如果我们到期未使用完的话也会失效的。但是对于我们一般用户来说,这个活动还是不错的,只需要注册新账户充值10美金激活账户就可以。而且我们自己充值的余额还是可以继续使用且无有效期的。如果我们有需要申请的话可以参考"2021年最新可用Vul...
艾云怎么样?艾云是一家去年年底成立的国人主机商家,商家主要销售基于KVM虚拟架构的VPS服务,机房目前有美国洛杉矶、圣何塞和英国伦敦,目前商家推出了一些年付特价套餐,性价比非常高,洛杉矶套餐低至85元每年,给500M带宽,可解奈飞,另外圣何塞也有特价机器;1核/1G/20G SSD/3T/2.5Gbps,有需要的朋友以入手。点击进入:艾云官方网站艾云vps促销套餐:KVM虚拟架构,自带20G的防御...
近日快云科技发布了最新的夏季优惠促销活动,主要针对旗下的香港CN2 GIA系列的VPS云服务器产品推送的最新的75折优惠码,国内回程三网CN2 GIA,平均延迟50ms以下,硬件配置方面采用E5 2696v2、E5 2696V4 铂金Platinum等,基于KVM虚拟架构,采用SSD硬盘存储,RAID10阵列保障数据安全,有需要香港免备案CN2服务器的朋友可以关注一下。快云科技怎么样?快云科技好不...