连接AWS EC2 Linux instance Ubuntu远程桌面

创建了AWS EC2 Linux instance Ubuntu,记录下通过本地Windows远程访问AWS Ubuntu桌面的方法。 1, 更新,升级和安装准备 sudo apt-get update sudo apt-get upgrade 2,配置sshd_config允许密码访问 sudo emacs /etc/ssh/sshd_config 将 PasswordAuthentication 选项设置为yes # Change to no to disable tunnelled clear text passwords #PasswordAuthentication no PasswordAuthentication yes 3,重启SSH伺服让配置生效 sudo /etc/init.d/ssh restart 4,为用户名ubuntu设置密码 sudo –i passwd ubuntu su ubuntu 5,为Ubuntu Linux Instance安装桌面功能 大概需要十多分钟, export DEBIAN_FRONTEND=noninteractive sudo -E apt-get […]

AWS Ubuntu Lampp + wordpress install

Started a new AWS Ubuntu Server 14.04 LTS (HVM), installed Lampp and WordPress by install command, this time is much easier because I have done it on AWS RHEL7. 1, install Lampp, the installed directory is /opt/lampp sudo chmod 755 xampp-linux-x64-5.6.21-0-installer.run sudo ./xampp-linux-x64-5.6.21-0-installer.run 2, start the Lampp ubuntu@ip-172-31-23-55:~$ sudo /opt/lampp/lampp status Version: XAMPP for Linux […]

Samba on Ubuntu problem smb_panic()

Try to use Samba on Ubuntu in the VirtulBox, access from Windows always failed, Check the Samba log: tail /var/log/samba/log.lenovo-xhl-pc Result as below (partially copy), ../source3/lib/util.c:801(smb_panic_s3) smb_panic(): calling panic action This command resolved the problem, $ apt-get install –reinstall libsmbclient libsmbclient-dev libtevent0 libtalloc2 It seems that the new samba package poorly specified the dependencies it […]