随笔分类 - linux
摘要:一、加入微软的源 二、防止冲突先卸载原有版本(可选) 三、安装驱动(三个都要装上,缺一不可) 四、下载pdo_sqlsrv扩展包 http://pecl.php.net/package/pdo_sqlsrv 五、以4.0.8为例 六、进入解压目录 七、执行PHP的一个扩展命令 八、编译 九、安装 十
阅读全文
摘要:sudo apt-get remove libcheese-gtk23sudo apt-get install xserver-xorg-coresudo apt-get install virtualbox-guest-x11Ubuntu启动管理员界面sudo nautilusubuntu 14....
阅读全文
摘要:setsebool allow_ftpd_full_access onsetsebool -P ftp_home_dir onvsftpd(VerySecureFileTransportProtocolDaemon) is a secure, fast FTP server for Unix/Lin...
阅读全文
摘要:We have already shown youHow to Setup VSFTPD Server on CentOS 6.5/6.4in our previous article. In that method, the users created in the server itself w...
阅读全文
摘要:Here is the script that ultimately worked. I think the bit I was originally missing that prevented it from working remotely was the unset GIT_DIR#!/bi...
阅读全文
摘要:Bad owner or permissions on $HOME/.ssh/configThe ssh with RHEL 4 is a lot more anal about security checking. In my case, it was the fact that $HOME/.s...
阅读全文
摘要:yum update kernelyum install kernel-devel gcc gcc-c++
阅读全文
摘要:export PATH=/home/git/bin:$PATHechoPATHgit branch 查看本地分支 git branch -a 查看远程分支git fetch 获取远程分支git checkout -b 创建分支并切换git push origin : 创建远程分...
阅读全文
摘要:sudo apt-get install nginx mysql-server build-essential libxml2-dev libreadline6 libreadline6-dev openssl libssl-dev curl libcurl4-gnutls-dev libjpeg-
阅读全文
摘要:Solvedg++ $(mysql_config --cflags) file.cpp -o filename $(mysql_config --libs)
阅读全文
摘要:1. 添加新硬盘 设置 -> Storage -> SATA控制器->右击,选择“添加虚拟硬盘” 然后,根据需求创建合适的硬盘2. 重启虚拟机 查看现有系统的磁盘空间 sudo fdisk -l 可看到新加的虚拟硬盘,一般名为:Disk /dev/sdb3. 给新加的硬盘分区 fdisk /dev/sdb 键入m,可看到帮助信息 command (m for help):m 增加新分区 command (m for help):n 选择基本分区,输入:p ...
阅读全文
摘要:问题描述:$ git pusherror: The requested URL returned error: 403 Forbidden while accessing解决方案:这是权限问题,可以修改.git/config文件追加用户名和密码详细:From:http://stackoverflow...
阅读全文