文章会有【原创】或者【转载】标示,部分来自Google Baidu的学习结果 {Java/PHP/Python/Ruby/Go}

搭建开发和使用的环境【原创学习】  


在小米的时候大家都安装的是Ubuntu,安装环境和类库啥的都比较方便apt-get,基本上不关机。来了百度,发的笔记本是Win7的,安装的又是PHP5.4,好多.dll找不到。
所以我安装了一个VM Player
接着安装Ubuntu...省略
安装环境:
apt-get install mysql-server mysql-client
apt-get install nginx php5-common php-apc php5-mysql php5-gd php5-dev php5-cgi php-cli
php-v
看一下版本
PHP 5.3.2-1ubuntu4.19
OK,以后下一步:
apt-get install lighttpd
cd /etc/lighttpd/conf-enabled
lighttpd-enable-mod fastcgi
service lighttpd restart
就ok了。
apt-get install samba
apt-get install smbfs

cd /etc/samba/smb.conf
[ShareFiles]
comment = Shared Folder require password
path = /var/www
public = yes
writable = yes
valid users = yang
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
available = yes
browseable = yes

gedit /etc/Samba/smbuser
yang= "network username"

sudo /etc/init.d/samba restart