安装包请发邮件到[email protected]
来源官网下载虚拟机vm,输入破解码,安装最新的即可
sudo apt update
sudo apt-get install ssh
sudo apt-get install openssh-server
sudo vim /etc/ssh/sshd_config
#查看是否安装
dpkg -l|grep samba
#安装
sudo apt-get install samba samba-common
#卸载
sudo apt-get autoremove samba
更改配置文件
[Share]
comment=This is samba dir
path=/home/martin/
writable=yes
browseable=yes
添加用户
sudo smbpasswd -a user-name
接下来会输入你的密码,然后开启服务器就可以在windows看到ubuntu的文件
sudo service smbd start
sudo service smbd stop
sudo apt install git
基本的配置
git config --global username "Your Name"
git config --global user.email "[email protected]"
进入vscode官网,选择安装包,然后下载deb
sudo dpkg -i 文件名.deb
输入Y开始安装,在linux上显示为code
登录自己的账户同步设置
1.sudo apt install build-essential
2.sudo apt install gcc
3.sudo apt install g++
将会安装一系列安装包,包括gcc,g++,make
或者选择命令2,直接安装gcc
卸载原有商店,然后安装新商店
sudo apt autoremove --purge snapd
sudo apt install gnome-software
直接打开图形界面,然后打开软件和更新,切换源,然后更新缓存,等待10分钟即可
sudo apt install vim
也可以在应用商店里面获取
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
sudo apt-get install libmysqlclient-dev
sudo apt-get install mysql-server
apt-get install autoconf automake libtool curl make g++ unzip
git clone https://github.com/protocolbuffers/protobuf.git
cd protobuf
git submodule update --init --recursive
./autogen.sh
./configure
make
make check
sudo make install
sudo ldconfig
可以直接从U盘或者官网下载文件,地址:http://log4cpp.sourceforge.net/, 注意必须将安装包放在根目录下才会安装到系统的链接库中
依次执行如下命令
#解压,最后一个路径为压缩包
tar xzvf log4cpp-1.1.3.tar.gz
#make
cd lo4cpp-1.1.3
./configure --prefix="安装目录的绝对路径"
make
make install
sudo apt-get install cmake